PDA

View Full Version : Bar chart - xField



aravindsastry
5 Oct 2012, 3:29 AM
Hi
When using Bar chart the xField property takes the data from store and plots it to y axis rather than x axis. Why is this?

Thanks

skirtle
5 Oct 2012, 3:35 AM
The ExtJS Bar chart has horizontal bars, so the x-axis is on the left, not at the bottom.

If you want vertical bars use a Column chart instead.

aravindsastry
5 Oct 2012, 3:49 AM
In fact I used Column chart and noticed this difference and got confused. Thanks for the clarification.