Where/how to use a right_margin inside the graph with the new deprecation #218
-
Hi, I just discover the new deprecation with the combo: show_value:
right_margin: 12 but I didn't really understand how to add a gap inside the graph to let some space to display the value: if you look carefully, I have a second y-axis, and I was wondering if the tricks in the doc will really work in that case Please note that things like: layout:
margin:
r: 32 Is not what I'm looking for as it will just create an unnecessary large empty margin between the graph and the border of the card and won't solve the collision showvalue with 2nd y-axis ticks Also, as it was the case before, but i was to shy to ask, how to enter this gap width in term of pixels rather than in %, as a percentage of the x-axis will change the the precise location of the text itself after a zoom in/out. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
You can use time_offset as the error message indicates. There's also some more help (new) at the bottom of the readme. |
Beta Was this translation helpful? Give feedback.
-
To do it in %, you'll need to use a $fn on the global time_offset and make it relative to hours_to_show |
Beta Was this translation helpful? Give feedback.
-
BTW here is where I am: |
Beta Was this translation helpful? Give feedback.
You can use time_offset as the error message indicates. There's also some more help (new) at the bottom of the readme.
The old right_margin created a bunch of issues, and it is redundant.
Much luck with this!