grafana-sunandmoon-datasource icon indicating copy to clipboard operation
grafana-sunandmoon-datasource copied to clipboard

Option to not show negative altitude values

Open YAMLcase opened this issue 3 years ago • 4 comments

I would like an option to not show negative degrees for altitude values. I know I can set the min to zero, however on a dual axis with an inverted graph the zero's don't line up putting the sun line on the bottom instead of above the middle.

I want this, but no visuals below zero: image

This is not right because the sun is not in the middle: image

YAMLcase avatar Nov 17 '22 03:11 YAMLcase

this is the closes I can get it fiddling with the threshold color scheme knobs. I have to turn off the legend though as it shows as black for the sun and moon

image

YAMLcase avatar Nov 17 '22 04:11 YAMLcase

Have you tried playing with the transformations? Would sth like this do the trick?

grafik

fetzerch avatar Nov 17 '22 19:11 fetzerch

Have you tried playing with the transformations? Would sth like this do the trick?

I tried my best to use filter data by value but only discovered I don't know what I'm doing there. No matter what Everything was being considered by the filter (including the green and blue charts)

YAMLcase avatar Nov 17 '22 19:11 YAMLcase

You're right, this affects all queries.

fetzerch avatar Nov 17 '22 20:11 fetzerch