fillColor
Sets the fill color for charts that have fill shapes such as bars and scatters.
Type | Default |
---|---|
Color? Function(OrdinalGroup, OrdinalData, int?)? | null |
fillColor: (group, ordinalData, index) {
if (ordinalData.measure > 8) return Colors.red;
return Colors.blue;
},