customizeSegment method

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

Changes the series color and border width.

Implementation

@override
void customizeSegment(ChartSegment segment) {
  updateSegmentColor(segment, color, borderWidth, isLineType: true);
  updateSegmentGradient(segment);
}