customizeSegment method
Changes the series color, border color, and border width.
Implementation
@override
void customizeSegment(ChartSegment segment) {
final StackedColumn100Segment<T, D> stackedColumn100Segment =
segment as StackedColumn100Segment<T, D>;
updateSegmentColor(stackedColumn100Segment, borderColor, borderWidth);
updateSegmentGradient(stackedColumn100Segment,
gradientBounds: stackedColumn100Segment.segmentRect?.outerRect,
gradient: gradient,
borderGradient: borderGradient);
}