Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

remove the x and y axis line from jqplot

I dont want the X and Y axis line on the jqplot. something like thisenter image description here

how should i achieve this.

I tried various options of jqplot like showGrid: false etc... nothing works

like image 714
user564927 Avatar asked Oct 15 '12 21:10

user564927


1 Answers

Try this options:

axesDefaults: {
    rendererOptions: {
        baselineWidth: 1.5,
        drawBaseline: false
    }
},
grid: {
    drawBorder: false,
    borderWidth:0, 
    shadow:false
},
xaxis: { 
        drawMajorGridlines: false
}
like image 161
Soulbe Avatar answered Sep 20 '22 16:09

Soulbe