CFCHART Example - Pie Chart
June 14, 2006
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>
Permalink | Add Comment |
add to del.icio.us
| Tags: cfchart, examples, pie, chart, graphs, cfml, coldfusion
add to del.icio.us
| Tags: cfchart, examples, pie, chart, graphs, cfml, coldfusion
Related Entries
- Hands on ColdFusion Security Training - February 4, 2010
- Implicit Structure Notation ColdFusion - January 13, 2009
- Mastering CFQUERYPARAM - July 24, 2008
- Getting ColdFusion SQL Statements from SQL Server Trace - June 16, 2008
- CFSCRIPT Cheatsheet - May 5, 2008







