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

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -