void GetAxisViewRange( int nAxisID, Matrix mMin, Matrix mMax )
int nAxisID
A predefined constant specifying the axis. The valid values are XAXIS and YAXIS.
Matrix mMin, mMax
Upon return, contain the minimum and maximum values of the visible range of the axis.
This method retrieves the visible range of the specified axis.
Because the Plot Area has margins, the visible range of an axis does not extend to the edges of the Plot Area.
x = -5:5; y = x##2; declare ScatterPlot plot; plot = ScatterPlot.Create( "Quadratic", x, y ); plot.GetAxisViewRange( XAXIS, xMin, xMax ); plot.GetAxisViewRange( YAXIS, yMin, yMax ); plot.DrawUseDataCoordinates(); plot.DrawRectangle( xMin, yMin, xMax, yMax );