Example of Trendlines in Javascript Chart Control

/
/
Trendlines

This sample shows the trend of Indian rupees and US dollar variations in the chart.

More Details...

Description

In this example, you can see how to render and configure the trendlines. The trendline is a line drawn over the chart to display the overall direction of the results. This chart supports the following types. Linear Exponential Logarithmic Polynomial Power Moving Average Forecasting Tooltip is enabled in this example. To see the tooltip in action, hover a point or tap on a point in touch enabled devices. Injecting Module Chart component features are segregated into individual feature-wise modules. To use Trend lines, we need to Inject Treandlines module using chart.Inject(Trendlines) method. More information on the trendlines can be found in this documentation section.