【问题标题】:remove the x and y axis line from jqplot从 jqplot 中删除 x 和 y 轴线
【发布时间】:2012-10-05 22:08:45
【问题描述】:

我不想要 jqplot 上的 X 和 Y 轴线。像这样

我应该如何做到这一点。

我尝试了 jqplot 的各种选项,例如 showGrid: false 等...没有任何效果

【问题讨论】:

    标签: graph jqplot bar-chart


    【解决方案1】:

    试试这个选项:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多