What are Coldfusion Charts?

Coldfusion charts are used to display data in a more graphical way. Coldfusion charts can take many forms and i ill be taking you through all you need to know about them and what they can be used for.

First of all i will start by explaining the the charts can come in three different formats, Flash, JPG and PNG.

In My opinion flash charts are the way to go, they can be 3D and dynamic but still easy to understand, also because they are flash they are interactive. They will, if you want them to, display a tool tip of the data that you are showing when you mouseover that value.

JPG and PNG charts are basically an image file that is generated dynamically when the page loads with up to date information. these can be used more for front end websites where the flash forms are more suited to admin panels and statistics. But saying that i have used flash charts in a rating script, in which a tutorial will be coming soon.

The Syntax

Here is a breakdown of the syntax for the cfchart tag.

chartHeight = "integer number of pixels"

chartWidth = "integer number of pixels"

dataBackgroundColor = "hexadecimal value|web color"

font = "font name"

fontBold = "yes|no"

fontItalic = "yes|no"

fontSize = "font size"

foregroundColor = "hexadecimal value|web color"

format = "flash|jpg|png"

gridlines = "integer number of lines"

labelFormat = "number|currency|percent|date"

markerSize = "integer number of pixels"

name = "string"

pieSliceStyle = "solid|sliced"

scaleFrom = "integer minimum value"

scaleTo = "integer maximum value"

seriesPlacement = "default|cluster| stacked|percent"

show3D = "yes|no"

showBorder = "yes|no"

showLegend = "yes|no"

showMarkers = "yes|no"

showXGridlines = "yes|no"

showYGridlines = "yes|no"

sortXAxis = "yes|no"

tipBGColor = "hexadecimal value|web color"

tipStyle = "MouseDown|MouseOver|none"

title = "title of chart"

url = "onClick destination page"

xAxisTitle = "title text"

xAxisType = "scale|category"

xOffset = "number between -1 and 1"

yAxisTitle = "title text"

yAxisType = "scale|category"

yOffset = "number between -1 and 1">

For more information about this tag see the Coldfusion 8 Livedocs

Related Blog Entries

Comments

Archives By Subject

Advertising (4) [RSS]
Blog Design (1) [RSS]
CFProject Scripts (2) [RSS]
Coldfusion Charts (3) [RSS]
Coldfusion Functions (5) [RSS]
Coldfusion Overview (1) [RSS]
Coldfusion Tutorials (17) [RSS]
For Sale (2) [RSS]
Image Manipulation (1) [RSS]
Java (1) [RSS]
JavaScript (4) [RSS]
PHP (1) [RSS]
Railo (2) [RSS]
SQL (1) [RSS]
Useful Tools (3) [RSS]

Recent Comments

Hashing Passwords
Richard Lord said: You really need to salt the passwords before hashing them, otherwise you're exposed to a rainbow-tab... [More]

Using Railo and Resin with domain aliases
Jonny Shaw said: Thanks for that. I am already using <host regexp="(.+)"> <host-name>${ho... [More]

Using Railo and Resin with domain aliases
Gert Franz said: Hi Jonny, it's even easier if you do it this way: <host id="allmead.com" root-dir... [More]

BlogCFC on Railo
Jonny Shaw said: Thanks for the advice ray. I was surprised at how easily BlogCFC went accross to to railo. The onl... [More]

BlogCFC on Railo
Gert Franz said: Congratulations to your new websites. I just wanted to add two things: CFIMAGE and CFCHART are suppo... [More]

Recent Entries

No recent entries.
ColdFusion Blog | ColdFusion Hosting | ColdFusion Q & A