• Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Theme Selection
Mode Selection
*Translated by Google Translator.

Example of Trendlines in ASP.NET MVC Chart Control

This sample visualizes the trend of Indian rupees and US dollar variation with trendline in the chart. The type of trend line can be changed by using TrendLine Type, forward and backward forecasting of trendlines can be changed by Forward Forecasting and Backward Forecast respectively. Polynomial and period for a trendlines can be changed by using Polynomial order and Period.

TrendLine Type:
Forward Forecast:
Backward Forecast:
Polynomial Order:

In this example, you can see how to render and configure the Trend Lines. You can use border and fill properties to customize the area.

Tooltip is enabled in this example. To see the tooltip in action, hover a point or tap on a point in touch enabled devices.

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