This sample shows three series of columns in which each column is rendered with a different width and placed behind the previous column.
In this example, you can see how to render and configure the column chart. The column chart is used to compare the frequency, count, total, or average of data in different categories. The EnableSideBySidePlacement
property is used to enable and disable side-by-side positioning. DataLabel is used to present details about individual data points.
Tooltip is 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 column feature, we need to inject ColumnService
into the @NgModule.providers
section.
More information about the column series can be found in this documentation section.