我想创建一个这样的图表
http://msdn.microsoft.com/en-us/library/Aa964128.moressrschartsfig01c(l=en-US,v=sql.90).gif
但是图表是微软的报告,而我想要的是DotnetHighcharts。
当我在Highcharts Demo中搜索时,我发现了一个类似的图表,但没有组标签(男性,女性)。
http://www.highcharts.com/demo/column-stacked-and-grouped
发布于 2013-11-28 14:41:03
Black Label已经推出了用于分组类别的Highcharts插件。
发布于 2013-03-06 17:10:26
有很多关于highcharts分组类别的例子
Example1
Example2
Example3
定义类别
xAxis: [{
categories: ['Australia', 'Germany', 'Australia', 'Germany'],正在将类别添加到组
data: [['Group1', 20],['Group1',30],['Group2', 35],['Group2', 25]]
},发布于 2013-03-06 17:16:14
请参阅此链接:
请看下面小提琴中的类别部分,它们展示了您需要的非常好的示例:
Demo
使用这个
xAxis: {
categories: ["Location A","Location B","Location C"],
title: {
text: "Location"
}
},或者这个
xAxis: [{
categories: [{
name: 'fruits'
children: ['orange', 'mango']
},{
name: 'birds'
children: ['eagle', 'parrot']
}]
}]希望这能对你有所帮助。
https://stackoverflow.com/questions/15242960
复制相似问题