Controlling chart appearance

You can control the appearance of charts by doing any of the following:

Using the default chart styles included with ColdFusion

ColdFusion supplies a number of chart styles. These styles include:

To use any of these styles, specify the style using the style attribute of the cfchart tag. The following example illustrates using the beige style:

<cfchart style="beige">
	<cfchartseries type="pie">
		<cfchartdata item="New car sales" value="50000">
		<cfchartdata item="Used car sales" value="25000">
		<cfchartdata item="Leasing" value="30000">
		<cfchartdata item="Service" value="40000">
	</cfchartseries>
</cfchart>