setData method
Implementation
@override
void setData(int index, ChartSegment segment) {
super.setData(index, segment);
final num bottom = xAxis!.crossesAt ?? max(yAxis!.visibleRange!.minimum, 0);
segment as AreaSegment<T, D>
..series = this
..currentSegmentIndex = index
..xValues = xValues
..yValues = yValues
..bottom = bottom;
}