Overview
The React HiLo Chart is similar to an OHLC (Open-High-Low-Close) Chart, but displays only the high and low values of a stock over a specified period.
Multiple series
Plot multiple series within a single chart to compare different data sets. Legends and tooltips provide additional details about individual series.
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
Plot different datasets with Multiple Axes when values vary significantly across series.
Customization
Customize the appearance of the HiLo Chart by adjusting color, thickness, and dash array settings through built-in APIs.
React HiLo Chart code example
Get started with React HiLo Chart by using a few lines of HTML and JavaScript code, as demonstrated below. Also explore demo to learn how to render and configure the component.
import {AxisModel,CandleSeries,Category,ChartComponent,Inject,SeriesCollectionDirective, SeriesDirective, HiloSeries} from'@syncfusion/ej2-react-charts';
import * as React from 'react';
class App extends React.Component<{}, {}> {
public primaryXAxis: AxisModel = { valueType: 'Category' };
public data1: any[]= [
{ x: 'Jan', open: 120, high: 160, low: 100, close: 140 },
{ x: 'Feb', open: 150, high: 190, low: 130, close: 170 },
{ x: 'Mar', open: 130, high: 170, low: 110, close: 150 },
{ x: 'Apr', open: 160, high: 180, low: 120, close: 140 },
{ x: 'May', open: 150, high: 170, low: 110, close: 130 },
{ x: 'Jun', open: 120, high: 160, low: 100, close: 140 },
{ x: 'Jul', open: 150, high: 190, low: 130, close: 170 },
{ x: 'Aug', open: 130, high: 170, low: 110, close: 150 },
{ x: 'Sep', open: 160, high: 180, low: 120, close: 140 },
{ x: 'Oct', open: 150, high: 170, low: 110, close: 130 }
];
public render() {
return <ChartComponent id='charts' primaryXAxis={this.primaryXAxis}>
<Inject services={[HiloSeries, Category]} />
<SeriesCollectionDirective>
<SeriesDirective dataSource={this.data1} xName='x' high='high' low='low' type='Hilo'/>
</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

