highcharts Y軸タイトルを上部に水平に記述する
highchartsのグラフ横にタイトルが表示されると、幅が狭いとグラフが極端に小さくなるので、タイトル位置を変更したい。
で、やり方は以下でOK。
yAxis: {
lineWidth: 1,
tickWidth: 1,
title: {
align: 'high',
offset: 0,
text: 'Rainfall (mm)',
rotation: 0,
y: -10
}
},
(参考サイト)
Place the Y axis title on top of the axis
で、やり方は以下でOK。
yAxis: {
lineWidth: 1,
tickWidth: 1,
title: {
align: 'high',
offset: 0,
text: 'Rainfall (mm)',
rotation: 0,
y: -10
}
},
(参考サイト)
Place the Y axis title on top of the axis
- 関連記事
-
- highcharts Y軸タイトルを上部に水平に記述する
- highcharts seriesでtooltipの記述を変える方法
- datatables レイアウト変更 dom
- jquery datatables 横スクロール時に列固定
- jquery バージョン確認する方法