withLabel method

ChartDataPoint withLabel(
  1. String value
)

Replaces ChartDataPoint.label with value.

Implementation

ChartDataPoint withLabel(String value) => copyWith(label: value);