Plot.SetReferenceLineStyle

Prototypes

void SetReferenceLineStyle( int nStyle )

Parameters

int nStyle
A predefined constant specifying the line style to use to draw the reference lines. The valid values are SOLID, DASHED, DOTTED, DASHDOT, and DASHDOTDOT.

Remarks

Reference lines are vertical or horizontal lines emanating from major tick marks. They can be used to superimpose a grid on the Plot Area.

This method sets the line style used to draw reference lines.

Example
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.ShowReferenceLines();
plot.SetReferenceLineStyle( DASHED );
See Also

Plot.SetReferenceLineWidth
Plot.SetReferenceLineColor
Plot.ShowReferenceLines