• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 10. Charting Dynamic Data > Using the CFCHART, CFCHARTSERIES, and CFCHA...

Using the CFCHART, CFCHARTSERIES, and CFCHARTDATA Tags

These tags work together to produce one or multiple graphs. The CFCHART and CFCHARTSERIES tags are required to make a graph—the CFCHART tag attributes control general chart characteristics, and the CFCHARTSERIES tag represents the actual chart. For every data set that you want to graph, you insert a CFCHARTSERIES tag between the opening and closing tags of a CFCHART statement, as the following example shows:

<cfquery name="chartQuery" datasource="exampleapps"> 
    SELECT ItemName, ItemCost 
    FROM tblItems 
</cfquery> 


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint