Replies: 1 comment
-
|
Would this example help? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to recreate a panel with two y-axes in grafonnet, where I need to override a
maxsetting.In grafonnet I can't express an empty field, it requires a value, and the behavior at runtime is different.
this doesn't compile: RUNTIME ERROR: Missing argument: value
fieldOverride.byName.withProperty( 'max', )I need the 'auto' for it to work like I want it. However adding 'auto' to jsonnet as value doesn't work as expected.

This is the Panel JSON with the expected lay-out, using 'auto'.
How can I workaround this? Or should the 'withProperty' be changed to take defaults into account depending on the key.
/edit
in grafana the override
{ "id": "max" }is different from
{ "id": "max", "value": "auto" }Beta Was this translation helpful? Give feedback.
All reactions