This React StepLine Chart visualizes the global best-selling albums by year from 2001 to 2024.
In this example, you can see how to render and configure a step line type chart. This chart forms a step-like progression by connecting points using vertical and horizontal lines. Markers
are used to represent individual data points and their values.
Tooltips
are enabled in this example. To see a tooltip in action, hover over or tap on the chart.
Injecting Module
Chart component features are segregated into individual feature-wise modules. To use step line series, we need to inject StepLineSeries
module into services
.
More information on the step line series can be found in this documentation section.