Just keep/set a variable before you define the chart:

<!--- default to 'blue' --->
<cfset seriesColorVar = "blue">
<cfif myquery.count gt 5>
 <!--- on over, set to 'red' --->
 <cfset seriesColorVar = "red">
</cfif>
 
<cfchartseries
 type="bar"
 query="myQuery"
 valueColumn="count"
 itemColumn="region"
 paintstyle="plain"
 seriesColor="#seriesColorVar#"
/>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314596
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to