dygraphs: How to move the primary y-axis to right side -


This graph that I see but instead of having the primary y-axis on the left I want it to the right. Is it possible in pictures? Thanks for the help.

You can move all of your series in a secondary y-axis (which always sings right ) And then hides the primary y-axis.

Example:

  g = new digraph (document.getElementById ("graph"), data, {series: {A : {Axis: 'y2'}, b: {axis: 'y2'}, ...}, axis: {y: {drawgrid: false, auttoxics: false}, y2: {drruid: true, autotics: true} }});  

You will still get a primary Y-axis, which you will have to hide through CSS currently (at least until resolved):

 . Ograph-axis-labell-y1 {display: none; }  

Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -