Unanswered: Extjs 4.0 Bar Chart, how to configure the size of the text items in the Category Axis
Unanswered: Extjs 4.0 Bar Chart, how to configure the size of the text items in the Category Axis
I'm using EXT 4 and using Architect tool. I created a panel with Bar chart, and I attached to a store.
The Category axis has text that I want to be wrapped, because currently everything is bunched together. I would also like to reduce the size of the font in the Category axis.
This is what it currently looks like: Untitled.jpg
Note: the x-axis can't display all the ten items because the Font is too big and it doesn't wrap around.
How can I control that?
Rotating doesn't help obviously, because the line of text is very long: Untitled.jpg
I noticed there's a label config for Ext.chart.axis.Axis that I can see in Sencha Architect, you can put a "Rotate" object: {rotate: {degrees: 270}} to rotate text.
But what ELSE can I do in Label?
I don't see the "Label" config in Ext 4 documentation?
How can it be in Architect but not in the online doc? Doesn't make sense.
If it exceeds the width used by the charts above for that data point, it wraps the text to the next line. I think that might be more useful than slanting it because if they are long enough slanting it still causes all sorts of problems lol.