ChartAxisRenderer constructor

ChartAxisRenderer(
  1. ChartAxis _axis
)

Creating an argument constructor of ChartAxisRenderer class.

Implementation

ChartAxisRenderer(this._axis) {
  _visibleLabels = <AxisLabel>[];
  _maximumLabelSize = const Size(0, 0);
  _seriesRenderers = <CartesianSeriesRenderer>[];
  _name = _axis.name;
  _labelRotation = _axis.labelRotation;
  _zoomFactor = _axis.zoomFactor;
  _zoomPosition = _axis.zoomPosition;
}