This demo shows the standard bar series type that displays rectangular bars side by side. The side by side bar series help you compare values across different categories. Follow the steps below to create and configure the bar chart:
In this demo, series is bound to data directly. See the Bind Series to Data article for information. The "state" field name is assigned to the argumentField property of the commonSeriesSettings object since the bar chart contains series with the same argument field.
To configure settings for all series in the chart, use the commonSeriesSettings object.
You can configure the following series settings:
Use the verticalAlignment and horizontalAlignment properties of the legend object to specify the legend position in the chart.
You can also handle a series point selection in the pointClick event.
To allow a user to export your bar chart into the PNG, JPEG, and SVG file or print the chart, set the export.enabled property to true. In this demo, the exporting is enabled and you can click the "Exporting/Printing" button in the side by side bar chart. This button invokes a drop-down menu with export and print commands.