This page shows how to use function series and trend lines in Wijmo's FlexChart control. These features are included in wijmo.chart.analytics module.
You can use different trendline types by setting the fitType property of the TrendLine object.
The example below allows you to see what happens when you change this property:
You can use different moving average types by setting the type property of MovingAverage.
The MovingAverage class has a period property that allows you to set the number of periods for computing the average value.
The example below allows you to see what happens when you change these properties:
The YFunctionSeries allows you to plot a function that is defined by formulas in the format y=y(x).
Use the func property to specify the function.
The ParametricFunctionSeries allows you to plot functions defined by two formulas in the format x=x(t) and y=y(t).
Use the xFunc and yFunc properties to specify the functions.
The Waterfall series is normally used to demonstrate how the starting position either increases or decreases through a series of changes.
The BoxWhisker series is normally used to compare distributions between different sets of numerical data.
The ErrorBar series shows error margins and standard deviations.