diff --git a/public/app/plugins/panel/graph/axes_editor.html b/public/app/plugins/panel/graph/axes_editor.html index 5dba3d0a87f..fe2541eb627 100644 --- a/public/app/plugins/panel/graph/axes_editor.html +++ b/public/app/plugins/panel/graph/axes_editor.html @@ -13,7 +13,10 @@
- +
diff --git a/public/app/plugins/panel/graph/module.ts b/public/app/plugins/panel/graph/module.ts index 53d5fa5873a..ccd60756da0 100644 --- a/public/app/plugins/panel/graph/module.ts +++ b/public/app/plugins/panel/graph/module.ts @@ -306,6 +306,7 @@ export class GraphCtrl extends MetricsPanelCtrl { for (const series of this.seriesList) { series.applySeriesOverrides(this.panel.seriesOverrides); + // Always use the configured field unit if (series.unit) { this.panel.yaxes[series.yaxis - 1].format = series.unit; } @@ -379,6 +380,7 @@ export const plugin = new PanelPlugin(null) .useFieldConfig({ standardOptions: [ FieldConfigProperty.DisplayName, + FieldConfigProperty.Unit, FieldConfigProperty.Links, // previously saved as dataLinks on options ], })