【发布时间】:2015-10-01 00:12:38
【问题描述】:
有没有人有任何使用 Highchart 来实现图像中的结果的示例?
function drawChart(result) {
var response =
{
Month: result.Month,
Data: result.Data,
Title: result.title
};
$('#dvChart').highcharts({
chart: {
type: 'column'
},
title: {
text: title
},
xAxis: {
categories: response.Month
},
yAxis: [{
min: 0,
title: {
text: "# Of Tests"
},
},
],
plotOptions: {
column: {
pointPadding: 0.2,
borderWidth: 0,
stacking: 'normal',
}
}
}
,
series:
response.Data
});
}
我上面的代码可以实现堆叠图表,但我不知道如何将累积线放入图表。
【问题讨论】:
标签: javascript asp.net-mvc charts highcharts