isFirstAxis method

bool isFirstAxis(
  1. BaseAxisImpl<BaseAxis, dynamic> node
)

Implementation

bool isFirstAxis(BaseAxisImpl node) {
  bool hasCheck = false;
  for (var axis in props.axisList) {
    var node2 = _axisMap[axis]!;
    if (node2.show) {
      hasCheck = true;
    }
    if (node == node2) {
      return !hasCheck;
    }
  }
  return false;
}