/
/
Category Axis

This sample demonstrates the rendering of category axis in the chart with internet users of different countries.
More Details...

Loading...
Description

Category axis is used to represent the categories in data. To render category axis, set valueType in axis to Category. Category label can placed between the ticks or on the ticks, based on labelPlacement property. Tooltip is enabled in this example, to see the tooltip in action, hover 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 category feature, we need to inject CategoryService into the @NgModule.providers section. More information on the category series can be found in this documentation section.