PanelConfig: Interpolate template vars for Axis label (#78086)

This commit is contained in:
Leon Sorokin
2023-11-14 10:17:06 -06:00
committed by GitHub
parent 3b9886830e
commit 11bbf83f93

View File

@@ -43,6 +43,7 @@ export function addAxisConfig(
defaultValue: '',
settings: {
placeholder: 'Optional text',
expandTemplateVars: true,
},
showIf: (c) => c.axisPlacement !== AxisPlacement.Hidden,
// Do not apply default settings to time and string fields which are used as x-axis fields in Time series and Bar chart panels