Results 1 to 3 of 3

Thread: chart colors

  1. #1
    Sencha User
    Join Date
    Nov 2008

    Default chart colors

    Few issues, I am not finding alot of documentation on how to use extrastyle in the api documentation, would love to see how to use this more or maybe someone can point me to some documentation I am missing?

    The problem I am running into is I am creating a basic bar chart:

          width: 900,
          height: 400,
          title: 'Bar Graph',
          items: {
           xtype: 'barchart',
           store: store,
           yField: 'date',
           xField: 'count'
    All the bars in this chart are the same color, when viewing large amounts of data it is all running together, from the few examples I have seen it looks like I would have to define the color of every date in order to get the colors to rotate, this causes a problem when the data coming back is not static. What would be the proper method of randomizing the color of the yfield?

  2. #2
    Sencha User's Avatar
    Join Date
    Mar 2007
    DC Area =)


    I don't think the bar chart supports this.

  3. #3
    Sencha Premium User NoahK17's Avatar
    Join Date
    Apr 2008


    I also need bar graphs to support colors WITHOUT resorting to series (which screw up with formatting).

    This post was a year ago. Any update since then?

Posting Permissions

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