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