CategoryAxisRenderer constructor

CategoryAxisRenderer(
  1. CategoryAxis categoryAxis,
  2. CartesianStateProperties stateProperties
)

Creating an argument constructor of CategoryAxisRenderer class.

Implementation

CategoryAxisRenderer(
    CategoryAxis categoryAxis, CartesianStateProperties stateProperties) {
  _axisDetails = CategoryAxisDetails(categoryAxis, this, stateProperties);
  AxisHelper.setAxisRendererDetails(this, _axisDetails);
}