Overview
React Step Line Chart are similar to Line Chart, with data points connected through vertical and horizontal segments to create a step-like progression. Features such as zooming, panning, animation, and dynamic updates support interactive data visualization.
Multiple series
Allows plotting multiple series in a single chart to compare different data sets. Enabling the legend and tooltip provides additional information about each series.
Marker
Markers support built-in shapes such as circles, rectangles, ellipses, lines, diamonds, triangles, pentagons, crosses, and pluses. Images can also be used as marker symbols for customized presentations.
Data label
Data labels display information about data points. Templates support custom label content using HTML elements such as images, divs, and spans. Labels can also be rotated to a specified angle.
Multiple axes
Multiple axes allow different data sets with varying value ranges to be plotted within the same chart.
Zoom and pan
Enable zooming and panning support when dealing with large amount of data to visualize the data point in any region.
Dynamic Step Line Chart
Create and update the Step Line Chart with live data that changes over seconds or minutes.
Empty/null data point
Handle missing data with empty points support.
Vertical chart
The Step Line Chart can be transposed vertically to view the data in a different perspective.
Customization
Customize the color, thickness, and dash array of the Step Line Chart using built-in APIs.
Code snippet
Get started with the React Step Line Chart using a few simple lines of HTML and JavaScript code, as demonstrated below. Also explore the demo to learn how to render and configure the component.
import {AxisModel,ChartComponent,DateTime,Inject,SeriesCollectionDirective, SeriesDirective, StepLineSeries} from'@syncfusion/ej2-react-charts';
import * as React from 'react';
class App extends React.Component<{}, {}> {
public primaryXAxis: AxisModel = { valueType: 'DateTime' };
public data1: any[]= [
{ x: new Date(1975, 0, 1), y: 16 },
{ x: new Date(1980, 0, 1), y: 12.5 },
{ x: new Date(1985, 0, 1), y: 19 },
{ x: new Date(1990, 0, 1), y: 14.4 },
{ x: new Date(1995, 0, 1), y: 11.5 },
{ x: new Date(2000, 0, 1), y: 14 },
{ x: new Date(2005, 0, 1), y: 10 },
{ x: new Date(2010, 0, 1), y: 16 }];
public render() {
return <ChartComponent id='charts' primaryXAxis={this.primaryXAxis}>
<Inject services={[StepLineSeries, DateTime]} />
<SeriesCollectionDirective>
<SeriesDirective dataSource={this.data1} xName='x' yName='y' type='StepLine'/>
</SeriesCollectionDirective>
</ChartComponent>
}
};
ReactDOM.render(
<App />,
document.getElementById('charts') as HTMLElement
);<!DOCTYPE html>
<html>
<body>
<div id="charts"></div>
</body>
</html>Learning resources
Explore all Syncfusion React components
Explore over 140+ React UI components featuring established, and production-ready controls built for modern web app development.
- SMART COMPONENTSDATA VISUALIZATIONDROPDOWNSFILE VIEWERS & EDITORSBUTTONSINTERACTIVE CHATINPUTSNAVIGATIONNOTIFICATIONS

