棒グラフを作成しようとしていますが、棒グラフにはその列の名前が表示されます。棒グラフのラベル
ご覧くださいフィドル - http://jsfiddle.net/akshayasharma/cdweowtq/3/私は東京に値を示すと「ニューヨーク」の値を示している「ニューヨーク」などの他れる「東京」としての私の最初の列にラベルを付けたい
$(function() {
Highcharts.chart('container', {
chart: {
type: 'column'
},
title: {
text: 'Monthly Average Rainfall'
},
subtitle: {
text: 'Source: WorldClimate.com'
},
xAxis: {
crosshair: true
},
yAxis: {
min: 0,
title: {
text: 'Rainfall (mm)'
}
},
tooltip: {
headerFormat: '<span style="font-size:10px">{point.key}</span><table>',
pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
'<td style="padding:0"><b>{point.y:.1f} mm</b></td></tr>',
footerFormat: '</table>',
shared: true,
useHTML: true
},
plotOptions: {
column: {
pointPadding: 0.2,
borderWidth: 0
}
},
series: [{
name: 'Tokyo',
data: [{y: 49.9}]
}, {
name: 'New York',
data: [{y: 83.6}]
}]
});
});
。
dataLabelとフォーマットを使用できます。 – hurricane