PDA

View Full Version : Area chart support for toggle x and y axis



jineeshjohn
1 Jul 2014, 3:44 AM
Hi ,

Is there is any way to toggle x axis and y axis values for a Area chart.

We are using ExtJs 4.2 version.

Swapping the values between x-axis and y-axis was possible with Line chart.


Any help is appreciated.


Thanks
Jineesh

Gary Schlosberg
11 Jul 2014, 3:18 PM
Are you talking about switching the X and Y axes so that the chart essentially rotates 90 degrees? If not, can you please post some more info or the code that worked in the line chart?

jineeshjohn
14 Jul 2014, 4:00 AM
Here is the jsFiddle for line chart plotted in x axis.
http://jsfiddle.net/YT29g/

Here is the jsFiddle for line chart plotted in y axis.
http://jsfiddle.net/XgQzt/