customizeSegment method

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

Changes the series color and border width.

Implementation

@override
void customizeSegment(ChartSegment segment) {
  final Color fastlineColor = color ?? paletteColor;
  updateSegmentColor(segment, fastlineColor, borderWidth);
  updateSegmentGradient(segment,
      gradientBounds: paintBounds, borderGradient: gradient);
}