setData method
Implementation
@override
void setData(int index, ChartSegment segment) {
super.setData(index, segment);
segment as StackedBar100Segment<T, D>
..series = this
..x = xValues[index]
..top = topValues[index]
..bottom = xAxis!.crossesAt ?? bottomValues[index]
.._actualBottom = bottom
..isEmpty = isEmpty(index);
}