Open baryluk opened 2 years ago
As a workaround:
...
if yAxes.left.min is not None:
kwargs.setdefault("extraJson", {}).setdefault("fieldConfig", {}).setdefault("defaults", {})["min"] = yAxes.left.min
if yAxes.left.max is not None:
kwargs.setdefault("extraJson", {}).setdefault("fieldConfig", {}).setdefault("defaults", {})["max"] = yAxes.left.max
...
We are migrating about 40 dashboards from
Graph
toTimeSeries
, and created wrapper that converts things, like this:But i noticed that
TimeSeries
does not providemin
,max
,softMin
andsoftMax
.If in Grafana UI, I click "Migrate", I got these
fieldConfig
:So I see there are options for these things.