createDisjointMeasureAxes method

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

Implementation

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

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

    return disjointAxes;
  } else {
    return null;
  }
}