从jqplot中删除x和y轴线

use*_*927 5 graph bar-chart jqplot

我不想要jqplot上的X和Y轴线.这样的事情在此输入图像描述

我该怎么做到这一点.

我尝试了jqplot的各种选项,比如showGrid:false等......没什么用

小智 7

试试这个选项:

axesDefaults: {
    rendererOptions: {
        baselineWidth: 1.5,
        drawBaseline: false
    }
},
grid: {
    drawBorder: false,
    borderWidth:0, 
    shadow:false
},
xaxis: { 
        drawMajorGridlines: false
}
Run Code Online (Sandbox Code Playgroud)