createDisjointMeasureAxes method

  1. @protected
LinkedHashMap<String, NumericAxis>? createDisjointMeasureAxes()
inherited

Implementation

@protected
LinkedHashMap<String, common.NumericAxis>? createDisjointMeasureAxes() {
  if (disjointMeasureAxes != null) {
    final disjointAxes = LinkedHashMap<String, common.NumericAxis>();

    disjointMeasureAxes!
        .forEach((String axisId, common.NumericAxisSpec axisSpec) {
      disjointAxes[axisId] = axisSpec.createAxis();
    });

    return disjointAxes;
  } else {
    return null;
  }
}