1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    25
    Vote Rating
    0
    skylinezpromise is on a distinguished road

      0  

    Default grouped bar chart : bars vertical instead of horizontal

    grouped bar chart : bars vertical instead of horizontal


    Hi, I'd like to use this example of grouped bar chart :

    http://dev.sencha.com/deploy/ext-4.0.0/examples/charts/GroupedBar.html

    but I'd like to inverse the axis fields, instead of the horizontal bars, I want them vertical, how do I do that?
    I tried reversing positions or xField and yField values but the result is not what I want.
    Please any help would be very much appreciated, since I'm only beginning in Extjs.

    Thanks

  2. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,625
    Vote Rating
    331
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    Try using a Column series rather than a Bar series:

    http://docs.sencha.com/ext-js/4-1/#!....series.Column

Thread Participants: 1

Tags for this Thread