我正在使用High Charts创建柱形图 - 我无法显示图表中所有系列的所有数据标签.我在柱形图中有两个系列,而第一个系列显示所有数据标签,第二个系列在显示其他数据标签时不显示几个数据标签.
我们非常感谢及时提供帮助.
请参阅小提琴样品以便亲自动手.
"chart": {
"type": "column",
"plotShadow": false,
"polar": false,
"renderTo": ""
},
"credits": {
"enabled": false
},
"title": {
"text": ""
},
"xAxis": {
"categories": ["Category 1", "Category 2", "Category 3", "Category 4", "Category 5", "Category 6", "Category 7", "Category 8", "Category 9"],
"labels": {
"enabled": true,
"style": {
"fontSize": "8px",
"fontFamily": "Arial"
}
},
"lineWidth": 1,
"tickWidth": 0,
"title": {
"text": "",
"style": {
"fontFamily": "Arial"
}
}
},
"yAxis": {
"lineWidth": …Run Code Online (Sandbox Code Playgroud) highcharts ×1