View Full Version : Chart Series Label rendering problem

2 Oct 2012, 4:03 PM
Hi All,

Firstly, many thanks to one and all for your valuable suggestions and hints. Today, I am struck up with a problem and need someone's help to solve it.

I have a bar chart defined and and series in it. the series has a label which shows one of the fields in store. when I click on yField the value passed is undefined to the label. the code (series in chart) is

series: [{
type: 'bar',
axis: 'bottom',
column: false,
xField: 'fieldx',
yField: ['field1,'field2','field3'],
'text-anchor': 'outsideEnd',
return Math.round(value / (10));

When I click on yField ( the first one, i.e., field1) to show only the remaining fields, the value in the label renderer being passed is undefined? Please let me know any suggestions or workout. Thanks for looking.

2 Oct 2012, 6:59 PM
Label's render is being called if I mouse over yField - field1