SharpPlot Reference > SharpPlot Methods > SetLineStyles Method

SharpPlot.SetLineStyles Method

Set line-styles for use by upcoming data series.


sp.SetLineStyles(new LineStyle[]{LineStyle.Solid,LineStyle.DashDot});


Note that ‘extra’ lines such as fitted curves use the linestyle cycle also – this allows you to set chosen styles for all the significant elements in the chart, typically solid for the data and dashed for a trendline.

See also ...

SharpPlot Members | LineStyle Struct

Send comments on this topic
© Dyalog Ltd 2021