user564927
user564927

Reputation: 305

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

Upvotes: 5

Views: 3029

Answers (1)

Soulbe
Soulbe

Reputation: 554

Try this options:

axesDefaults: {
    rendererOptions: {
        baselineWidth: 1.5,
        drawBaseline: false
    }
},
grid: {
    drawBorder: false,
    borderWidth:0, 
    shadow:false
},
xaxis: { 
        drawMajorGridlines: false
}

Upvotes: 7

Related Questions