Creating Charts And Graphs - Adobe 38043740 - ColdFusion Standard - Mac Development Manual

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Working with Documents, Charts, and Reports
<p>The image you have chosen has been saved.</p>
<cfset img=ImageNew("#form.orig_file#")>
<cfswitch expression=#form.foo#>
<cfcase value="blurred">
<cfset ImageSharpen(img,-1)>
</cfcase>
<cfcase value="sharper">
<cfset ImageSharpen(img,1)>
</cfcase>
<cfcase value="sharpest">
<cfset ImageSharpen(img,2)>
</cfcase>
</cfswitch>
<!--- Use the cfimage tag to write the image selected from the form to a file in the C drive.
Use the value of the hidden field as the source file for the image. --->
<cfimage source="#img#" action="write" destination="c:/myImage.jpg" overwrite="yes">
<img src="c:/myImage.jpg" />

Creating Charts and Graphs

You can use the
tag to display charts and graphs.
cfchart
About charts
The ability to display data in a chart or graph can make data interpretation much easier. Rather than present a simple
table of numeric data, you can display a bar, pie, line, or other applicable type of chart using colors, captions, and a
two-dimensional or three-dimensional representation of your data.
The
tag, along with the
cfchart
attributes to these tags let you customize your chart appearance.
You can create 11 types of charts in Adobe ColdFusion in two and three dimensions. The following figure shows a
sample of each type of chart.
and
cfchartseries
cfchartdata
Last updated 1/20/2012
tags, provide many different chart types. The
982

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents