Example of Multiple Series in Javascript Stock Chart Control

Multiple Series

This sample visualizes stock chart with multiple series and legend.

More Details...


In this example, you can see how to render and configure the Stock Chart. The SplineSeries is used to display data based on the selection made in the Range Selector. Since there are multiple series, the interactive legend has been enabled, which provides a quick overview of each series. 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 legend, inject the StockLegend module using the StockChart.Inject(StockLegend) method. To use SplineSeries, inject the SplineSeries module using the StockChart.Inject(SplineSeries) method.