This demo shows the full-stacked bar series that allows you to visualize data as columns stacked over each other. This series type is useful when you compare an individual series' values with total values an argument aggregates. The height of each bar is the full height of the chart diagram. The series values are displayed as percentages of each bar.
In this demo, series is bound to data directly. See the Bind Series to Data article for information. The "country" field name is assigned to the argumentField property of the commonSeriesSettings object since the full-stacked bar chart contains series with the same argument field.
To configure settings for all series in the chart, use the commonSeriesSettings object. For example specify the series type.
Use the verticalAlignment and horizontalAlignment properties of the legend object to specify the legend position in the chart. You can specify the text's position relative to the marker in a legend item in the itemTextPosition property.
To configure tooltips in the chart, use the tooltip object. To enable the tooltips, assign true to the enabled property of this object. If you want to customize a specific tooltip, assign a function to the customizeTooltip property. In this demo, the function returns the tooltip's text that shows the point's percent value and absolute value.
To allow a user to export your full-stacked 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 chart. This button invokes a drop-down menu with export and print commands.