Example of undefined in Javascript Chart Control

/
/
Live stock data

This sample visualizes the animation in the candle chart when existing data is updated or new data is added.

More Details...

Description

In this example, you can see how to render and configure a candlestick series to display data that updates every second using the setData method and adds new data every ten seconds using the addPoint method. The chart demonstrates setting up a crosshair to follow the latest data and adjusting the point color based on the value. Injecting Module Chart component features are segregated into individual feature-wise modules. To use the candle series, we need to inject the CandleSeries module using Chart.Inject(CandleSeries) method. More information on the candle series can be found in this documentation section.