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