customizeSegment method
Changes the series color, border color, and border width.
Implementation
@override
void customizeSegment(ChartSegment segment) {
final BarSegment barSegment = segment as BarSegment;
barSegment._color = segment._seriesRenderer._seriesColor;
barSegment._strokeColor = segment._series.borderColor;
barSegment._strokeWidth = segment._series.borderWidth;
barSegment.strokePaint = barSegment.getStrokePaint();
barSegment.fillPaint = barSegment.getFillPaint();
barSegment._trackerFillPaint = barSegment._getTrackerFillPaint();
barSegment._trackerStrokePaint = barSegment._getTrackerStrokePaint();
}