Wind direction with two y-axis #435
jjvelar
started this conversation in
Show and tell
Replies: 3 comments 4 replies
-
Try with this: layout:
yaxis2:
title: 'Cardinal Directions'
overlaying: 'y'
side: 'right'
tickvals: [0, 90, 180, 270, 360]
ticktext: ['North', 'East', 'South', 'West', 'North'] |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks but it is not showing up.
And this how it is shown: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Don´t think it is the most elegant solution, but adding a second "fake" entity and assigning it to the second axis did the trick:
Is there a better way to do it? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I have created a very simple wind direction histogram but I don't know how to add a secondary y-axe so in the first one, on the left, it shows degrees, and the second one, on the right, it shows N, E, W and S.
I have added below a screenshot of what I'd like to replicate.
Thanks in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions