17 Sep 2012 4:15 PM #1
How to display many bars in chart? scrolling?
I have a bar chart with possibly many bars depending on the data. My bars are displayed horizontally with the labels on the y-axis (left). The issue is, if there is alot of data(bars) to display, some of the data labels are not displayed due to space constraints. EXT automatically removes some data labels if there are too many bars. See the photo attachment.
I would like to display all data labels. There are a couple potential of options to make this chart more presentable:
1.) Dynamically calculate the number of bars to display and adjust the height of the chart accordingly. (this is not my preferred option - would like to keep the height of the chart static).
2.) Reduce the number of bars to display. (this is not my preferred option)
3.) Make the chart area scrollable? Is this possible with EXTJS?
24 Sep 2012 12:05 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
The charts won't be scrollable so you'd have to limit or change the size.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.