formatLegendValue method

String formatLegendValue(
  1. num value
)

Implementation

String formatLegendValue(num value) {
  if (legendFormatter != null) {
    return legendFormatter!(value);
  }
  return formatValue(value);
}