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