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