在Highcharts中下载图形图像时,Y轴标题部分消失

时间:2013-06-24 07:21:05

标签: image download highcharts

我把我的图表的y标题放在了y轴的顶部。在所有图表中,它看起来都不错。但是当我想将图形导出为(png,jpeg)图像时,y轴标题会被移位并被部分切断。 Here是图表的示例,这是打印结果:

enter image description here

感谢任何提示如何解决这个问题。我想这是Highcharts服务器端编程的默认设置,因为它似乎在生成图像时总是联系export.highcharts.com服务器......

1 个答案:

答案 0 :(得分:0)

您应该使用字幕,而不是旋转yAxis标签。

http://jsfiddle.net/VVv2J/

http://api.highcharts.com/highcharts#subtitle.align

subtitle: {
        text: '* Footnote aligned right',
        align: 'left'
    },