gordonk66
13 Dec 2011, 9:23 AM
hello,
I'm wanting to have the labels for a bar chart series appear to the right of stacked bars that all add up to the same value. So here is what my chart looks like:
29972
I'd like the series labels to be to the right of the stacked bars...something like :
29973
Here is the series config I'm using:
series: [
{
type: 'bar',
axis: 'bottom',
highlight: false,
gutter: 40,
yPadding: 20,
stacked: true,
label: {
display: 'outside',
field: 'used',
renderer: Ext.util.Format.numberRenderer('0'),
orientation: 'horizontal',
font: '14px news-gothic-std,sans-serif',
fill: '#666666'
'text-anchor': 'middle'
},
xField: 'email',
yField: ['used', 'unused']
}
...
If this is currently not possible that'd be good info.
Thanks.
I'm wanting to have the labels for a bar chart series appear to the right of stacked bars that all add up to the same value. So here is what my chart looks like:
29972
I'd like the series labels to be to the right of the stacked bars...something like :
29973
Here is the series config I'm using:
series: [
{
type: 'bar',
axis: 'bottom',
highlight: false,
gutter: 40,
yPadding: 20,
stacked: true,
label: {
display: 'outside',
field: 'used',
renderer: Ext.util.Format.numberRenderer('0'),
orientation: 'horizontal',
font: '14px news-gothic-std,sans-serif',
fill: '#666666'
'text-anchor': 'middle'
},
xField: 'email',
yField: ['used', 'unused']
}
...
If this is currently not possible that'd be good info.
Thanks.