【发布时间】:2016-08-02 15:04:54
【问题描述】:
我正在尝试解决我的剑道图表中的问题。当mousse悬停在系列上时,悬停效果很好,但是当我想知道它在行中的值时,它没有出现,我不知道为什么。
$("#chart1").data("kendoChart").setOptions({
categoryAxis: [{
majorGridLines: {
visible: true,
step: 10
},
line: {
visible: false
},
labels: {
rotation: 'auto'
},
notes: {
icon: {
type: 'square',
},
data:[{
value: this.selectionPosStart,
label: {
text: 'P',
background: color1,
color: 'white'
},
line: {
color: color1,
length: lenght,
width: 2,
}
}, {
value: this.selectionPosEnd,
label: {
text: 'D',
background: color2,
color: 'white'
},
line: {
color: color2,
opacity: 0.5,
length: length,
width: 2
}
}],
}
}],
valueAxis: {
majorUnit: 1
},
});
谢谢!
【问题讨论】:
标签: javascript css html kendo-ui kendo-chart