Range / scale limits #241
-
I am trying to refine the Plotly cards for Temperature and Humidity but can't figure out a couple things:
My existing YAML: Temperature
Humidity
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Plotlyjs does unfortunately not natively support zoom limits, but there are dome tricks we can do
I may add this functionality as a yaml option if there are feature requests an multiple people needs it, until then ser the linked discussion. I hope it works well for you! |
Beta Was this translation helpful? Give feedback.
-
@dbuezas I believe #233 is very close to what I was looking for. The temperatures are no longer spread out making them look very different when they are all within 1C from each other since it scales automatically to top temperature in range and 0 as a minimum regardless of the range shown. Is the minimum at 0 intentional or a bug? I changed the code to adjust the range from -15 to +45C as those are the min/max I've seen (actual records are -31C to +49C) in this area. I don't have data to verify that it is working but am wondering why the graph is sticking to 0 as a minimum even when the range being displayed is in the 20s.
|
Beta Was this translation helpful? Give feedback.
Plotlyjs does unfortunately not natively support zoom limits, but there are dome tricks we can do
I may add this functionality as a yaml option if there are feature requests an multiple people needs it, until then ser the linked discussion.
I hope it works well for you!