diff --git a/public/app/plugins/panel/barchart/bars.ts b/public/app/plugins/panel/barchart/bars.ts index 70db4071150..40f693aabc3 100644 --- a/public/app/plugins/panel/barchart/bars.ts +++ b/public/app/plugins/panel/barchart/bars.ts @@ -192,6 +192,9 @@ export function getConfig(opts: BarsOptions, theme: GrafanaTheme2) { // uPlot hook to draw the labels on the bar chart. const draw = (u: uPlot) => { + if (showValue === BarValueVisibility.Never) { + return; + } // pre-cache formatted labels let texts = Array(barRects.length); let labelOffset = LABEL_OFFSET_MAX;