In this example, you can see how to render and configure a strip line for the chart. Use the start
and end
properties in the chartStripline
option to add a strip line to an axis. Additionally, the title for the chart can be positioned anywhere in the chart by using the position
property in titleStyle
.
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 strip line, we need to inject StripLine
module into services
.
More information on the strip line can be found in this documentation section.