customizeSegment method
To customize each segments.
Implementation
@override
void customizeSegment(ChartSegment segment) {
updateSegmentColor(segment, borderColor, borderWidth);
segment.fillPaint.shader = null;
updateSegmentGradient(segment);
}