makeGroupData method

BarChartGroupData makeGroupData(
  1. int x,
  2. double y1,
  3. double y2
)

Implementation

BarChartGroupData makeGroupData(int x, double y1, double y2) {
  return BarChartGroupData(
    barsSpace: 4,
    x: x,
    barRods: [
      BarChartRodData(
        toY: y1,
        color: widget.leftBarColor,
        width: width,
      ),
      BarChartRodData(
        toY: y2,
        color: widget.rightBarColor,
        width: width,
      ),
    ],
  );
}