effectiveColor method

Color effectiveColor(
  1. int segmentIndex
)

Implementation

Color effectiveColor(int segmentIndex) {
  Color? pointColor;
  if (pointColorMapper != null) {
    pointColor = pointColors[segmentIndex];
  }
  return pointColor ?? color ?? paletteColor;
}