This sample shows the rate of fruit production statistics with default line series and dash array in the chart. Dashed lines are animated by using CSS animation.
In this example, you will see how to render and configure the line chart. Line charts are used to represent time-dependent data, showing trends in data at equal intervals.
You can use DashArray
, Width
, Fill
properties to customize the line.
Tooltips
are 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 line series, we need to inject
LineSeries
module into services
.
More information on the dashed line series can be found in this documentation section.