Replaces ChartDataPoint.x with value.
value
ChartDataPoint withX(double value) => copyWith(x: value);