Results 1 to 2 of 2

Thread: grouped bar chart : bars vertical instead of horizontal

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    25
    Vote Rating
    0
      0  

    Default 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,790
    Vote Rating
    391
      0  

    Default

    Try using a Column series rather than a Bar series:

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •