This React stacked column chart example visualizes motor vehicle production by manufacturer with a default stacked column series. The legend in the sample shows more information about those series.
In this example, you can see how to render and configure the stacked column chart. The stacked column chart stacks points in the series vertically. You can also use the StackingGroup
property to group stacked collections based on category.
Tooltips
are enabled in this example. To see the tooltip in action, hover over a point or tap on a point in touch-enabled devices.
Injecting Module
Chart component features are segregated into individual feature-wise modules. To use stacking column series, we need to inject
StackingColumnSeries
module into services
.
More information on the stacked column series can be found in this documentation section.