本文介绍了Highcharts图表在向下钻取时从x轴向上移动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用Highcharts绘制数据图表.当我有柱形图并且在其中进行向下钻取时,向下钻取后,图表将从x轴向上移动.这是x轴和y轴设置:
I am using Highcharts to draw a chart of my data.When I am having a column chart and when I drill down in it, after drill down the chart moves up from the x-axis. This is the x-axis and y-axis settings:
xAxis: {
labels: {
rotation: -20,
align: 'right'
}
},
yAxis: {
min: 0
}
让我知道是否有人对此有任何解决方案.
Let me know if anybody has any solution for this.
推荐答案
PLease将highcharts的版本更新为4.0.4,因为前一个版本存在一些错误.它对我有用.
PLease update the version of the highcharts to 4.0.4, because the previous one had some bugs. It worked for me.
这篇关于Highcharts图表在向下钻取时从x轴向上移动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!