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