Threaded View
-
29 May 2012 5:55 AM #1
Unanswered: Line chart with two numeric axes
Unanswered: Line chart with two numeric axes
What i have:
Code:var store=new Ext.data.JsonStore({fields:["x","y"],data:[ {"x":6,"y":1}, {"x":7,"y":2}, {"x":10,"y":5}]});Code:axes:[{ type:"Numeric", position:"left", fields:["y"], title:"test_y", grid:1 }, { type:"Numeric", position:"bottom", fields:["x"], title:"test_x", grid:1 }]Screen Shot 2012-05-29 at 3.10.41 PM.pngCode:series:[{type:"line",axis:"left",xField:"x",yField:"y"}]
The problem:
First and last points are ok, but the one that should be at x=7 y=2 appear in x=8 y=2.
It's like all the points on the x axis that are between the first and the last points are calculated to have the same distance from each others. This behavior is almost like the one you have with a Category axis, I don't understand if I'm doing something wrong or a chart with two "real" numeric axes is not supported.
Every exemple I've found only use one numeric axis...
Thanks.Last edited by flagg19; 29 May 2012 at 5:56 AM. Reason: fix not closing CODE tag
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote