Overview
The React Spline Range Area Chart is used to display continuous data points as a set of splines that vary between high and low values over intervals of time and across different categories.
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.
Empty/null data point
Missing or null values can be represented using empty points to maintain chart continuity.
Vertical chart
The Spline Range Area Chart can be transposed vertically to view the data from a different perspective.
Customization
Customize the color and border of the Spline Range Area Chart using built-in APIs.
Zoom and pan
Zooming and panning support enables detailed analysis of large datasets by focusing on specific regions of the chart.
React Spline Range Area Chart Code Example
Get started with React Spline Range Area using the HTML and JavaScript code below. Also explore the demo to learn how to render and configure the component.
import {AxisModel,Category,ChartComponent,Inject,SeriesCollectionDirective, SeriesDirective, SplineRangeAreaSeries} from'@syncfusion/ej2-react-charts';
import * as React from 'react';
import * as ReactDOM from 'react-dom';
class App extends React.Component<{}, {}> {
public primaryXAxis: AxisModel = { valueType: 'Category'};
public data: any[] = [
{ x: 'Sun', high: 20, low: 7 },
{ x: 'Mon', high: 22, low: 9 },
{ x: 'Tue', high: 22, low: 9 },
{ x: 'Wed', high: 22, low: 9 },
{ x: 'Thu', high: 22, low: 9 },
{ x: 'Fri', high: 22, low: 9 },
{ x: 'Sat', high: 22, low: 9 }
];
public render() {
return <ChartComponent id='charts' primaryXAxis={this.primaryXAxis}>
<Inject services={[SplineRangeAreaSeries, Category]} />
<SeriesCollectionDirective>
<SeriesDirective dataSource={this.data} xName='x' high='high' low='low' type='SplineRangeArea' />
</SeriesCollectionDirective>
</ChartComponent>
}
};
ReactDOM.render(
<App />,
document.getElementById('charts') as HTMLElement
);<!DOCTYPE html>
<html>
<body>
<div id="charts"></div>
</body>
</html>Learning resources

Spline Range Area Chart User Guide
Learn the available options to customize the React spline range area chart.
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
