Whatever message this page gives is out now! Go check it out!
<cfchartseries type="pie"> <cfchartdata item="New Vehicle Sales" value=500000> <cfchartdata item="Used Vehicle Sales" value=250000> <cfchartdata item="Leasing" value=300000> <cfchartdata item="Service" value=400000> </cfchartseries> </cfchart> <cffile action="WRITE" file="c:\inetpub\wwwroot\charts\vehicle.jpg" output="#myChart#"> <img src="/charts/vehicle.jpg" height=240 width=320> |
| Code | Description |
<cfchart name="myChart" format="jpg"> | Define a chart written to the myChart variable by using the JPEG format. |
<cffile action="WRITE" file="c:\inetpub\wwwroot\charts\vehicle.jpg" output="#myChart#"> | Use the cffile tag to write the chart to a file. |
<img src="/charts/vehicle.jpg" height=240 width=320> | Use the HTML img tag to display the chart. |