如何隐藏剑道图表上的y轴?

时间:2014-08-28 15:54:12

标签: kendo-ui

enter image description here

如图所示,我的y轴带有标签

 valueAxis: {
                majorGridLines: {
                    visible: true
                },
                labels: {
                    template: "#= kendo.format('{0}',value/1000)#K"
                },
                title: {
                    text: "Steps",
                    font: "14px Arial,Helvetica,sans-serif"
                }
            }

我希望标签保留,但隐藏轴线。在剑道有可能吗?

1 个答案:

答案 0 :(得分:3)

想出来

 valueAxis: {
                majorGridLines: {
                    visible: true
                },
                line: {
                    visible:false
                },

                labels: {
                    template: "#= kendo.format('{0}',value/1000)#K"
                },
                title: {
                    text: "Steps",
                    font: "14px Arial,Helvetica,sans-serif"
                }
            }