答案 0 :(得分:-1)
最后很多努力,我找到了解决方案
$("#chart").kendoChart({
seriesDefaults: {
type: "column"
},
series: [{
name: "Sales",
data: [10, 20, 0.5, 0, 100, 0]
}],
valueAxis: [{
majorGridLines: { visible: false },
title: { text: "Sales" },
axisCrossingValue: [0,0]
}],
categoryAxis: [{
categories: ["Order", "Invoice", "Credit Memo", "Order", "Invoice", "Credit Memo"],
majorGridLines: { visible: false }
},
{
categories: ["Item", "Resources"],
line: { visible: true },
majorGridLines: { visible: true },
title: { text: "Type & Document Type" }
}
]
});