View Full Version : chart colors

30 Sep 2009, 11:07 AM
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?

1 Oct 2009, 2:54 AM
I don't think the bar chart supports this.

21 Dec 2010, 2:39 PM
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?