【发布时间】:2014-05-06 15:12:00
【问题描述】:
我有几个系列的笔记重叠如下:http://trykendoui.telerik.com/oVen
我试图改变音符的位置,但它并不总是有效 如果有什么方法可以自动或手动分离它们?请帮忙
【问题讨论】:
标签: kendo-ui kendo-datasource kendo-chart
我有几个系列的笔记重叠如下:http://trykendoui.telerik.com/oVen
我试图改变音符的位置,但它并不总是有效 如果有什么方法可以自动或手动分离它们?请帮忙
【问题讨论】:
标签: kendo-ui kendo-datasource kendo-chart
试试下面的链接,它会根据 point.value 改变位置: 请对照系列笔记的位置参考功能:
series: [{
.........
.........
.........
notes: {
label: {
position: "outside",
format: "n2",
background: "rgb(35, 47, 87)",
color: "white",
},
position: function(point) {
var result = "bottom";
if (point.value % 2 === 0 || point.value < 5) {
result = "top";
}
return result;
}
}
}],
【讨论】: