Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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‎

Lines changed: 1 addition & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /