Replaces ChartDataPoint.y with value.
value
ChartDataPoint withY(double value) => copyWith(y: value);