diff --git a/src/chart_types/heatmap/state/selectors/compute_legend.ts b/src/chart_types/heatmap/state/selectors/compute_legend.ts index e8d878af9b..2c6ac6340f 100644 --- a/src/chart_types/heatmap/state/selectors/compute_legend.ts +++ b/src/chart_types/heatmap/state/selectors/compute_legend.ts @@ -44,7 +44,7 @@ export const computeLegendSelector = createCachedSelector( return { color, - label: `> ${tick}`, + label: `> ${spec.valueFormatter ? spec.valueFormatter(tick) : tick}`, seriesIdentifiers: [seriesIdentifier], isSeriesHidden: deselectedDataSeries.some((dataSeries) => dataSeries.key === seriesIdentifier.key), isToggleable: true,