View Full Version : Renderer in a Grouped Bar Chart

13 Dec 2013, 5:28 PM
I have a group bar chart that works perfectly, but I really want to add a label on it so I can show the value of data1, data2, and data3. However, since there is only series, there is only one label..so is there anyway I can somehow figure out how to apply the correct data value?

label: {
display: 'insideEnd',
field: 'data1', <--- what can I do here?
renderer: Ext.util.Format.numberRenderer('0'),
orientation: 'horizontal',
color: '#333',
'text-anchor': 'middle'
series : [
type : 'column',
axis : 'bottom',
xField : 'name',
yField : ['data1', 'data2', 'data3']

13 Dec 2013, 5:40 PM
Oops...nevermind. I tried just making it an array like ['data1', 'data2', 'data'3] and it worked!