chart: {
renderTo: 'chart-selection',
backgroundColor: null,
type: 'scatter'
},
title: {
text: txt + ' (' + title + ')'
},
plotOptions: {
tooltip: {
crosshairs: true,
headerFormat: '<b>{point.x}</b>',
pointFormat: '<b>Volumn : {point.y}</b><br/>Price : {point.price}<br/>Change : {point.change}'
}
},
xAxis: {
type: 'datetime'
},
yAxis: {
title: {
text: title
},
height: 200,
lineWidth: 2
},
series: [{
color: 'rgba(100, 100, 200, .5)',
data: datax
}]
datax = [{x:1381942800000,y:23.000,価格:26.00,変更:0.00},{x:1382029200000,y:45.000,価格:23.000,変更:0.00}];
このコードはツールチップを表示しません
tooltip: {
crosshairs: true,
headerFormat: '<b>{point.x}</b>',
pointFormat: '<b>Volumn : {point.y}</b><br/>Price : {point.price}<br/>Change : {point.change}'
}