0

私はプログラミングが初めてで、折れ線グラフの categoryAxies にカスタム ラベルを付けたいと考えています。

ただし、そのラベルは通常 (0,50,100,150 など) にする必要があります。

これが私のデータ形式です。

59.0472,0.0318 
69.071,0.0271 
72.0913,0.0271 
81.0674,0.0334 
81.0734,0.0382 
83.0596,0.0717 
83.0894,0.0605 
85.0817,0.035 
85.1053,0.0287 
86.0675,0.0318 
87.1001,0.0287 
90.6657,0.0382

私はx軸0, 50 , 60,などをしたい.

また、以下のカテゴリ軸コードについても言及しました

var categoryAxis = chart.categoryAxis; 
categoryAxis.parseDates = false; 
categoryAxis.autoGridCount =false;

categoryAxis.dashLength = 1; 
categoryAxis.gridCount = 6; 
categoryAxis.gridAlpha = 0.15; 
categoryAxis.minorGridEnabled = true; 
categoryAxis.axisColor = "#DADADA";
4

1 に答える 1