Example of undefined in React Chart Component

/
/
SMA

This sample illustrates a chart with candle series and a simple moving average indicator. The trackball shows information about each day’s stock and signal value.

More Details...

Loading....
Description

In this example, you can see how to render and configure a simple moving average indicator. A SMA is used to calculate the average of a selected range of prices by the number of periods in that range.

Tooltip is enabled in this example, to see the tooltip in action, hover a point or tap on a point in touch enabled devices.

Injecting Module

Chart component features are segregated into individual feature-wise modules. To use SMA Indicator, we need to inject SmaIndicator module into services.

More information on the SMA Indicator can be found in this documentation section.