This sample visualizes stock data with area. Period and range selector help us to navigate different of data.
In this example, you can see how to render and configure the Stock chart.
AreaSeries
is used to represent selected data value.
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 AreaSeries, inject the AreaSeries
module using the StockChart.Inject(AreaSeries)
method.