parikaa
asked on
having a different color for each bar in a cfchart
We are in the process of upgrading to MX from 4.5. In 4.5 our bar graphs consisted of different colors for each bar on each graph. How can I make this happen in MX using cfchart and cfchartseries?
ASKER
thanks for your reply....and now using the example above where every bar in the series would be #003399 lets change that only the first bar of the series is that color, and the rest ummmmmm #993300. how can I make this possible?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I thought that this was the solution until I acutally tried it. This is close to what I need, but not exactly.
An example of a graph that I want is the following:
The count of hits on a homepage by month.
I want the graph to display the # of hits and months.
It should be a bar graph.
****The most important part is that all the bars should be different colors.****
Thanks
An example of a graph that I want is the following:
The count of hits on a homepage by month.
I want the graph to display the # of hits and months.
It should be a bar graph.
****The most important part is that all the bars should be different colors.****
Thanks
<cfchartseries type="bar" paintstyle="shade" serieslabel="#MyDate#">
If you want to specify WHICH colors are used for each series then use:
seriescolor="yourcolorhere
such as:
<cfchartseries type="bar" paintstyle="shade" serieslabel="#MyDate#" seriescolor="003399">