This sample visualizes stock chart with strip line on y axis.
In this example, you can see how to highlight a particular range in stock chart. Period and range selector help us to navigate different of data. StripLine
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:
Stock Chart features are segregated into individual feature-wise modules. To use Line Series, Stripline and DateTime axis in stock chart, we need to inject LineSeriesService
, StriplineService
and DateTimeService
into the @NgModule.providers
section.