Syncfusion Feedback

Overview

The React step area chart is similar to a step line chart, but with the area between the vertical and horizontal steps filled with color. It supports advanced features such as zooming, panning, animations, and dynamic data updates.


Multiple data series

Multiple data series can be plotted within a single chart, allowing users to compare different datasets. Enabling features like legends and tooltips provides additional insights into each series.


Data markers

Data points can be marked using built-in shapes: circles, rectangles, ellipses, vertical and horizontal lines, diamonds, triangles, pentagons, crosses, and plus signs. Custom images can also be used to enhance visual appeal.


Data labels

Data labels offer contextual information for each data point and can be rotated to a specified angle for better readability.


Dual axes

Multiple axes can be used to plot datasets with significantly different value ranges, enabling clearer comparisons.


Zoom and pan

Zooming and panning features allow users to explore specific regions of large datasets for detailed analysis.


Missing data handling

React step area charts gracefully handle missing data by supporting empty points, ensuring continuity in visualization.


Vertical step area chart

The chart can be transposed vertically to offer an alternative perspective on the data.


Styling options

Customize step area colors and borders using built-in APIs to match your design and data presentation needs.


React step area chart code example

Get started with the React step area chart using a few lines of TSX code, as shown below. You can also explore this React step area chart example to learn how to render and customize the chart in a React application.

import { Chart, ChartSeriesCollection, ChartSeries } from '@syncfusion/react-charts';

export default function App() {
    const data = [
      { x: 2000, y: 180 }, { x: 2001, y: 240 }, 
      { x: 2002, y: 370 }, { x: 2003, y: 200 },
      { x: 2004, y: 229 }, { x: 2005, y: 210 }, 
      { x: 2006, y: 337 }, { x: 2007, y: 258 },
      { x: 2008, y: 300 }, { x: 2009, y: 173 }, 
      { x: 2010, y: 220 }, { x: 2011, y: 309 }
    ];
    return (
        <Chart>
            <ChartSeriesCollection>
              <ChartSeries dataSource={data} xField="x" yField="y" type="StepArea" />
            </ChartSeriesCollection>
        </Chart>
    )
}

Learning resources

React Chart User guide

Step area chart user guide

Learn the available options for customizing the React step area chart.

React Chart API

Step area chart API reference

Explore the React step area chart APIs.


Pure React Components

Developed using React’s core principles, this library employs functional components and hooks without any external dependencies.

Scroll up icon