SharpPlot Tutorials > Style Examples > On Top Model

On Top Model

Fitted models and trendlines are drawn after the data is plotted, and so appear on top.

sp.LineGraphStyle = LineGraphStyles.OnTopModel;

The default is to drawn the fitted curve first so that it does not hide the datapoints. This style would be used if the model was more important than the data it had been derived from.

See also ...

Model fit | Trend lines | SharpPlot Members | SharpPlot.LineGraphStyle Property

Send comments on this topic
© Dyalog Ltd 2016