minorTicks不可见

时间:2013-01-09 15:46:25

标签: kendo-ui

我无法在yAxis上看到minorTicks。它在xAxis上运行良好。

http://jsbin.com/alupin/16/

1 个答案:

答案 0 :(得分:1)

您的第二个minorTicks未正确定义。你写道:

yAxis: {
    labels: {
        format: "{0:N0}"
    },
    line: {
        width: 1
    }
},
tooltip: {
    visible: true,
    format: "{3}: {2:N0} applications",
    opacity: 1
},
minorTicks: { visible: true }

应该是:

yAxis: {
    labels: {
        format: "{0:N0}"
    },
    line: {
        width: 1
    },
    minorTicks: { visible: true }
},
tooltip: {
    visible: true,
    format: "{3}: {2:N0} applications",
    opacity: 1
}

我在minorTicks: { visible: true }定义

中移动了yAxis