SharpPlot Tutorials > Style Examples > Trend lines Trend lines
An exponentially-weighted smooth line is drawn through the data.
sp.LineGraphStyle = LineGraphStyles.TrendLine;
The trend line consumes one line colour, style, width, and key in the cycles, in the order (data, trend, model).
The degree of smoothing may be adjusted with the Flexibility setting.
See also ...Model fit | SharpPlot Members | SharpPlot.CloudChartStyle Property | SharpPlot.LineGraphStyle Property | SharpPlot.ScatterPlotStyle Property
Send comments on this topic © Dyalog Ltd 2021
|