Example of Plot lines in React Stock Chart Component

/
/
PlotLine

This sample visualizes stock chart with plot line on y axis.

More Details...

Loading....
Description

In this example, you can see how to add threshold lines in the stock chart. Period and range selector help us to navigate different of data. LineSeries is used to represent selected data value.

Stock Chart provides support to 6 types of trendlines namely Linear, Exponential, Logarithmic, Polynomial, Power, Moving Average. By using trendline dropdown button, the required trendline type can be added or removed.



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 LineSeries, inject the LineSeries module using the StockChart.Inject(LineSeries) method.