void DrawUseDataCoordinates()
This method specifies that coordinate parameters to subsequent drawing commands should be interpreted as being in the data coordinate system. If the current drawing region is GRAPHFOREGROUND, this method generates an error because the Graph Area region does not have a data coordinate system. This method is only available for plots that have exactly two interval axes. For example, the histogram, contour plot, line plot, polygon plot, and scatter plot may have two interval axes.
x = { 1 2 3 4 5 6 7 8 }; y = { 2 1 4 5 6 5 6 9 }; declare ScatterPlot plot; plot = ScatterPlot.Create( "Sample Data", x, y ); plot.DrawUseDataCoordinates(); plot.DrawLine( x, y );