PDA

View Full Version : Chart label alignment issue.



Guruvaarun
11 Nov 2013, 4:59 AM
In Extjs line chart i have x and y axis if x axis label is lengthy the label gets hided in the screen any solution to break the label into two lines

Example snippet in the below url

http://jsfiddle.net/9xkVu/
(http://jsfiddle.net/9xkVu/)
Thanks in advance

scottmartin
13 Nov 2013, 8:05 AM
Have you considered rotating the label?



{
type: 'Category',
position: 'bottom',
fields: ['name'],
title: 'Sample Metrics',
label: {
rotate: {
degrees: -90
}
}
}]