customizeSegment method

  1. @override
void customizeSegment(
  1. ChartSegment segment
)
override

Changes the series color, border color, and border width.

Implementation

@override
void customizeSegment(ChartSegment segment) {
  segment._color = segment._seriesRenderer._seriesColor;
  segment._strokeColor = segment._series.borderColor;
  segment._strokeWidth = segment._series.borderWidth;
}