解决这个问题后:
Dojo + Highcharts. The X Axis is not alligned when setCategories() is executed
添加下一个代码时出现相关错误:
chart : {
renderTo : 'comsPerPeriodOfComType',
type : 'column',
height : 200,
**showAxes : true**
}
http://jsfiddle.net/ikercrg/SSmtN/2/
这是一个错误吗?能解决吗?
最佳答案
使用Dojo适配器,我没有找到任何解决方案,但我替换了这个:
<script type="text/javascript"
src="http://www.dojotoolkit-fr.org/wp-content/uploads/dojo-adapter.js"></script>
为此:
<script src="http://code.highcharts.com/adapters/standalone-framework.js"></script>
现在一切正常了。
参见 --> http://www.highcharts.com/component/content/article/2-news/58-highcharts-standalone-framework
关于javascript - 道场 + Highcharts : showAxes property moves the x and y axis,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18571960/