void SetPlotAreaMargins( double dLeft, double dRight, double dTop, double dBottom )
double dLeft
If dLeft is greater than or equal to 0, it specifies the left margin of the Plot Area as a fraction of the Plot Area's width. In this case, dLeft must be in the range 0 to
0.8. If dLeft is negative, the left margin is not changed.
double dRight
If dRight is greater than or equal to 0, it specifies the right margin of the Plot Area as a fraction of the Plot Area's width. In this case, dRight must be in the range
0 to 0.8. If dRight is negative, the right margin is not changed.
double dTop
If dTop is greater than or equal to 0, it specifies the top margin of the Plot Area as a fraction of the Plot Area's height. In this case, dTop must be in the range 0 to
0.8. If dTop is negative, the top margin is not changed.
double dBottom
If dBottom is greater than or equal to 0, it specifies the bottom margin of the Plot Area as a fraction of the Plot Area's height. In this case, dBottom must be in the range
0 to 0.8. If dBottom is negative, the bottom margin is not changed.
This method sets the margins of the Plot Area. The sum of opposing margin values must be in the range 0 to 0.9.
Calls to this method are ignored by the RotatingPlot class.
x = { 1 2 3 4 5 6 7 8 }; y = { 2 1 4 5 6 5 6 9 }; declare ScatterPlot plot = ScatterPlot.Create( "Sample Data", x, y ); plot.SetPlotAreaMargins( 0.02, 0.02, -1, -1 );