Hey People,
I have been struggling with this for a long time today. I am using CFCHART and creating styles with the webcharts3d designer, everything is going fine except that I can not get multiple bar colors for a single series bar chart: <cfchart format="png" chartWidth="300" chartheight="300" style="#style#"> <cfchartseries type="bar" serieslabel="result"> <cfchartdata item="Hamburgers" value="754"> <cfchartdata item="Pizza" value="345"> <cfchartdata item="Chicken Wings" value="276"> </cfchartseries> </cfchart> My #style# defines multiple series colors, but I only ever get multiple bar colors if I use multiple series like: <cfchart format="png" chartWidth="300" chartheight="300" style="#style#"> <cfchartseries type="bar" serieslabel="result"> <cfchartseries type="bar" serieslabel="result"> <cfchartdata item="Hamburgers" value="754"> </cfchartseries> <cfchartseries type="bar" serieslabel="View:XYZ"> <cfchartdata item="Pizza" value="345"> </cfchartseries> <cfchartseries type="bar" serieslabel="View:asdfsdaYZ"> <cfchartdata item="Chicken Wings" value="276"> </cfchartseries> </cfchartseries> </cfchart> The problem with that is that each bar is then really thin, because I guess the graph is expecting multiple data points within each series and leaving room for them. This seems like such a simple thing to do, but it is eluding me. >From looking at the CF9 docs it looks like the cfchartseries colorlist attribute will support horizontal barcharts (but currently only supports pie charts). So is it really just not possible at all to have different bars colors on a single series chart? Seems odd to me... Brook D. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327925 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4