PDA

View Full Version : y-axis data is not updating with legend event.



Jeegnesh
22 Oct 2013, 12:09 AM
i facing Problem which is only happen in Line series.
see that attachment below..
46467:s
it is from sencha example.
Now when i disabled one(data 2) line with legend which has highest value in graph
it's seems like
46468
Still not updating Highest value on y-axis. never mind
but now on when i disabled (data1) and when re-enable them then it seems like this one
46469
data 1 value remain (12[highest]) but not plotted in y-axis.
in short y-axis data is not updating with legend event.
some thing i missed?
it's working on all other chart(i.e Column,stacked Column).
Code same as example http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.chart.series.Line
E (http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.chart.series.Line)xtjs 4.2.0:s

Jeegnesh
22 Oct 2013, 12:30 AM
http://www.sencha.com/forum/showthread.php?272896-grouping-x-Axis-data
i (http://www.sencha.com/forum/showthread.php?272896-grouping-x-Axis-data)f can not see image very well..third one

Gary Schlosberg
25 Oct 2013, 1:40 PM
I grabbed the code from the example you referenced and added a legend, but I'm not able to recreate the issue you described.
https://fiddle.sencha.com/#fiddle/179

When I click data2 in the legend, the left axis changes as the line moves, and it looks like your third image. Are you seeing the issue when you run the above fiddle?

Jeegnesh
28 Oct 2013, 12:12 AM
Yes, i know it's not happaning in the fiddle, but it's only occur in my code.that's why i mentioned .. does i missed something to include?