Example of undefined in Javascript Stock Chart Control

/
/
DateTime Category Axis

This sample demonstrates the AAPL stock price using the DateTimeCategory axis type in the stock chart to display the minimum number of labels without any overlap on various business days.

More Details...

Description

In this example, you can see how to render and configure a stock chart to visualize stock data using the DateTimeCategory axis type. Use series type as Spline to render a spline series. Tooltip is enabled in this example. To see the tooltip in action, hover the chart or tap on it in touch enabled devices. Injecting Module The stock chart component features are segregated into individual feature-wise modules. To use datetime category axis and spline series, we need to inject the DateTimeCategory and SplineSeries modules using StockChart.Inject(DateTimeCategory) and StockChart.Inject(SplineSeries) method. More information about axis types can be found in this documentation section.