1
我正在使用highcharts-ng。在高圖的柱狀圖和條形圖中,如果數據集較大,則x軸將被繪製爲隨機數而不是給定類別。Highcharts:當我鑽取時,Column和Bar Chart標籤不正確
如果我取消選擇並選擇圖例,則x軸標籤顯示正確。
$scope.chartConfig = {
options: {
chart: {
type: "bar"
}
},
xAxis: {
type: "category",
title: {
text: "country"
}
//tickInterval: 30
},
// series with over 184 data points
series: [
{
name: "values",
data: [
{
name: "Afghanistan",
y: 66.48275862068965
},
{
name: "Aland Islands",
y: 49
},
{
name: "Albania",
y: 49.42424242424242
},
]
}
]
}
here's a fiddle with the issue