I have been using jqplot graphics library since some time.
I do not want to display y2axis (i.e. when I work with several axes / series) I went through the documentation and found that "show: false" will not show the axis.
Link here: http://www.jqplot.com/docs/files/jqplot-core-js.html#Axis.show
But that does not work.
Any help would be greatly appreciated. thanks in advance
Fixed.
Here is what I did.
axes: { yaxis: { tickOptions: { show: false }, rendererOptions: { drawBaseline: false } }
Setting tickoptions to false hides placemark labels and ticks, and drawBaseline: false hides the axis.
tickoptions
false
drawBaseline: false
Hope this helps.
You just need to specify showTicks : false
showTicks : false
Here is a link to a working fiddle without ticks of the galaxy: http://jsfiddle.net/BLfRe/23/
I am using jqplot and I would like to hide y2axis too in some case. Using plot1.axes.y2axis.show = false; seems flawless.
plot1.axes.y2axis.show = false;
Can you put the code snippet that you use to find the cause of your problems?