customizeSegment method
Changes the series color, border color, and border width.
Implementation
@override
void customizeSegment(ChartSegment segment) {
final SegmentProperties segmentProperties =
SegmentHelper.getSegmentProperties(segment);
segmentProperties.color = _segmentSeriesDetails.seriesColor;
segmentProperties.strokeColor = segmentProperties.series.borderColor;
segmentProperties.strokeWidth = segmentProperties.series.borderWidth;
}