Example of undefined in React Chart Component

/
/
Trend

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

More Details...

Loading....
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


Injecting Module

Chart component features are segregated into individual feature-wise modules. To use Trend Line series, we need to inject Trendlines module into services.

More information on the TrendLines can be found in this documentation section.