PDA

View Full Version : grouping x-Axis data



Jeegnesh
1 Oct 2013, 1:32 AM
is it possible To make extjs line Chart Like This..
46084
i need it bcoz i have so much data to represent in x-axix

Gary Schlosberg
11 Oct 2013, 12:09 PM
It's possible, but probably not the way you mean. You would have to arrange the data into groups yourself. Here's a fiddle taken from the example docs with your column names:
https://fiddle.sencha.com/#fiddle/uh

Jeegnesh
21 Oct 2013, 9:25 PM
Yes, made Like that...
with changing some code in data retrieval procedure ...
Thanks...
But Now i facing Problem which is only happen in Line series.
see that attachment below..
46467
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

Gary Schlosberg
25 Oct 2013, 1:41 PM
This second issue is being tracked over here:
http://www.sencha.com/forum/showthread.php?274380