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...
2017/12/19 16:38