Overview
The React Column Chart displays values as vertical columns arranged across categories. The layout supports comparisons of frequency, count, totals, averages, and value changes across discrete time periods.
Multiple series
Plot multiple series in a single chart to compare different data sets. Legends and tooltips provide additional details about individual 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
Plot different datasets with multiple axes when data values vary significantly across series.
Back-to-back Column Chart
Plot data bi-directionally to compare and analyze the values clearly.
Spacing and width
Customize column spacing and width to control the visual appearance of data series.
Rounded corners
Apply rounded corners to Column Charts for a modern visual appearance.
Grouped column
Group a series with another series by giving the group a different name.
Cylindrical columns
Display values as cylindrical-shaped data points for a distinctive visual appearance.
Customization
Customize the look and feel of the Column Chart using built-in APIs.
React Column Chart code example
Get started with the React Column Chart using a few simple lines of HTML and JavaScript code, as demonstrated below. Also explore demo to learn how to render and configure the component.
<!DOCTYPE html>
<html>
<body>
<div id="charts"></div>
</body>
</html>import {AxisModel,Category, ChartComponent, ColumnSeries, Inject, SeriesCollectionDirective, SeriesDirective} from'@syncfusion/ej2-react-charts';
import * as React from 'react';
class App extends React.Component<{}, {}> {
public primaryXAxis: AxisModel = { valueType: 'Category'};
public data1 : any[]= [
{ x: 'GER', y: 172 },
{ x: 'RUS', y: 300 },
{ x: 'BRZ', y: 239 },
{ x: 'IND', y: 462 },
{ x: 'CHN', y: 621 },
];
public render() {
return <ChartComponent id='charts' primaryXAxis={this.primaryXAxis}>
<Inject services={[ColumnSeries, Category]} />
<SeriesCollectionDirective>
<SeriesDirective dataSource={this.data1} xName='x' yName='y' type='Column'/>
</SeriesCollectionDirective>
</ChartComponent>
}
};
ReactDOM.render(
<App />,
document.getElementById('charts') as HTMLElement
);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

