縦棒グラフのツールチップで、highCharts データの pointRange 値を取得したいと考えています。
これは私のデータがどのように見えるかです...
series: [{
name:'Segment1',
type: 'column',
data: [{"x":0,"y":12000}],
color: '#8B0000',
pointRange: 8
},
{
name:'Segment2',
type: 'column',
data: [{"x":10,"y":11000}],
color: '#FFA500',
pointRange: 12
},...
これは私がやっているツールチップのフォーマットです...
tooltip: {
formatter: function () {
return '<b>' + this.series.name + '</b>'+ '<br>' + 'Height' + ': ' + this.y
+ '<br>'+ 'Width ' + this.series.pointRange; },
しかし、this.series.pointRange を使用することによる値は、ツールチップで「未定義」として表示されます。