Cartesian Category Axis

class CartesianCategoryAxis extends CartesianAxis

https://www.chartjs.org/docs/2.7.3/axes/cartesian/category.html

CartesianCategoryAxis inherits all the properties from CartesianAxis

API

Attribute name Type Default Description
ticksLabels string[] An array of labels to display

Usage

<c-chart>
  <c-cartesian-category-axis
    axis="x"
    position="top"
    ticks-min="Yellow"
  ></c-cartesian-category-axis>
</c-chart>