customizeSegment method
Changes the series color, border color, and border width.
Implementation
@override
void customizeSegment(ChartSegment segment) {
final SeriesRendererDetails seriesRendererDetails =
SeriesHelper.getSeriesRendererDetails(this);
final SegmentProperties segmentProperties =
SegmentHelper.getSegmentProperties(segment);
segmentProperties.color = seriesRendererDetails.seriesColor;
segmentProperties.strokeColor = seriesRendererDetails.seriesColor;
segmentProperties.strokeWidth = segmentProperties.series.width;
}