我有用Kendo UI编写的代码部分,是否可以在kendoChart中找到“目标”和“实际销售”之间的区别?如果是,该怎么做?
$("#chart").kendoChart({
dataSource: {
data: data
},
title: {
text: "Stores Sales Comparison"
},
legend: {
position: "top"
},
seriesDefaults: {
type: "bar"
},
series: [{
field: "ActualSales",
categoryField: "Store",
name: "Sales Rate",
stack: {
group: "a"
}
}, goalSales, {
field: "ActualRate",
categoryField: "Store",
name: "Actual Rate of Sales",
stack: {
group: "b"
}
}, {
field: "Goal",
categoryField: "Store",
name: "Goal for Sales",
stack: {
group: "c"
}
}],
tooltip: {
visible: true,
template: "#= series.name #: #= value #"
}
})
是否有可能找到(“ Goal”-“ ActualSales”)的结果,对您的帮助将不胜感激
谢谢