groupBars method

void groupBars(
  1. double fromX,
  2. double groupSpace,
  3. double barSpace
)

Implementation

void groupBars(double fromX, double groupSpace, double barSpace) {
  if (data == null) {
    throw Exception(
        "You need to set data for the chart before grouping bars.");
  } else {
    data!.groupBars(fromX, groupSpace, barSpace);
  }
}