Example of Step Line in Javascript Chart Control

Step Line

This sample visualizes the unemployment rate from 1975 to 2010 with default stepline series in the chart. Data points are enhanced with marker and tooltip.

More Details...


In this example, you can see how to render and configure the stepline type charts. This series forms the step line progress, by connecting points through vertical and horizontal lines. You can use dashArray, width, fill properties to customize the line. marker and dataLabel are used to represent individual data and its value. 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 step line series, we need to inject StepLineSeries module using Chart.Inject(StepLineSeries) method. More information on the StepLine series can be found in this documentation section.