setData method
Implementation
@override
void setData(int index, ChartSegment segment) {
super.setData(index, segment);
switch (pyramidMode) {
case PyramidMode.linear:
_buildLinearTypeSegment(index, segment);
break;
case PyramidMode.surface:
_buildSurfaceTypeSegment(index, segment);
break;
}
}