pointFromBarData method

void pointFromBarData()

Implementation

void pointFromBarData() {
  if (y == null) return;
  BarChartGroupDataExtended point =
      BarChartGroupDataExtended(this, data, x: toInt(x) ?? 0, barRods: [
    BarChartRodDataExtended(this, data,
        fromY: toDouble(y0) ?? 0,
        toY: toDouble(y) ?? 0,
        width: width,
        color: color ?? toColor('random'))
  ]);
  barDataPoint.add(point);
}