getAxis method
Returns the y-axis object to the corresponding AxisDependency. In the horizontal bar-chart, LEFT == top, RIGHT == BOTTOM
@param axis @return
Implementation
YAxis? getAxis(AxisDependency axis) {
if (axis == AxisDependency.left) {
return _axisLeft;
} else {
return _axisRight;
}
}