In this example, you can see how to highlight a particular range in stock chart. Period and range selector help us to navigate different of data.
LineSeries
is used to represent selected data value.
Stock Chart provides support to 6 types of trendlines namely Linear
, Exponential
, Logarithmic
, Polynomial
, Power
, Moving Average
. By using trendline dropdown button, the required trendline type can be added or removed.
Injecting Module
The Stock chart component features are segregated into individual feature-wise modules. To use date-time axis, inject the DateTime
module using the
StockChart.Inject(DateTime)
method. To use the LineSeries, inject the LineSeries
module using the StockChart.Inject(LineSeries)
method.