Skip to content

Commit 33994b4

Browse files
authored
Allow variables in axis text (#174)
1 parent f9d3fc1 commit 33994b4

File tree

1 file changed

+1
-0
lines changed
  • packages/grafana-ui/src/options/builder

1 file changed

+1
-0
lines changed

packages/grafana-ui/src/options/builder/axis.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export function addAxisConfig(
3939
defaultValue: '',
4040
settings: {
4141
placeholder: 'Optional text',
42+
expandTemplateVars: true,
4243
},
4344
showIf: (c) => c.axisPlacement !== AxisPlacement.Hidden,
4445
// Do not apply default settings to time and string fields which are used as x-axis fields in Time series and Bar chart panels

0 commit comments

Comments
 (0)