pf » CFCHART Example - Pie Chart

CFCHART Example - Pie Chart

coldfusion

Here's a quick example of some coldfusion code to make a pie chart. I don't create charts everyday so I often need to check the docs, so here's a simple example of using cfchart to create a pie chart with a query as a datasource:

<cfchart format="flash" show3d="true" chartwidth="500" chartheight="500" pieslicestyle="sliced" title="Top Ten States">
  <cfchartseries type="pie" query="myQueryName" valueColumn="num" itemColumn="state" />
</cfchart>


Related Entries
1 person found this page useful, what do you think?

Trackback Address: 637/2C11CD0730DC7D0A15B215D9BAC38BAC



  



Spell Checker by Foundeo





Subscribe to my RSS Feed: solosub RSS
Tags