admin管理员组文章数量:1331616
I have implemented a serial chart using AMCharts but have more columns than can be realistically shown in a window. To reduce the amount drawn, I have added a ChartsScrollBar
which does the trick, but initially it selects all the data. Does anyone know how to set the initial zoom for the scroll bar?
I've written a JSFiddle to explain the problem - /
I'm trying to get the 'zoom bar' to show less than four item on startup.
I have implemented a serial chart using AMCharts but have more columns than can be realistically shown in a window. To reduce the amount drawn, I have added a ChartsScrollBar
which does the trick, but initially it selects all the data. Does anyone know how to set the initial zoom for the scroll bar?
I've written a JSFiddle to explain the problem - http://jsfiddle/Wd3GM/
I'm trying to get the 'zoom bar' to show less than four item on startup.
Share Improve this question asked Sep 25, 2012 at 13:22 tonycouplandtonycoupland 4,2471 gold badge29 silver badges27 bronze badges1 Answer
Reset to default 5You should listen fot "init" event and then use one of the available zoom methods. Here is modified fiddle: http://jsfiddle/Wd3GM/1/
本文标签: javascriptSetting the initial range for AMCharts ScrollBarStack Overflow
版权声明:本文标题:javascript - Setting the initial range for AMCharts ScrollBar - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742273381a2444729.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论