JPG and PNG Charts

The Process of creating JPG and PNG charts is pretty much exactly the same as creating a Flash chart.

The only main difference that i can point out is that you change format to either JPG or PNG depending on which image format you require.

Here is te source code.

<table border="0" cellspacing="2" cellpadding="2">
<tr>
<td><div align="center"><strong>JPG</strong></div></td>
<td><div align="center"><strong>PNG</strong></div></td>
</tr>
<tr>
<td> <div align="center">
<cfchart format="jpg"
chartheight="300"
chartwidth="300"
showxgridlines="no"
showygridlines="no"
showborder="no"
fontbold="no"
fontitalic="no"
show3d="yes"
rotated="no"
sortxaxis="no"
showlegend="no"
tipstyle="MouseOver"
tipbgcolor="##CCCCCC"
showmarkers="no"
title="Sample">

<cfchartseries type="bar" itemcolumn="Item" valuecolumn="Value">
<cfchartdata item="Item 1" value="35">
</cfchartdata>
<cfchartdata item="Item 2" value="55">
</cfchartdata>
<cfchartdata item="Item 3" value="43">
</cfchartdata>
</cfchartseries>
</cfchart>
</div></td>
<td> <div align="center">
<cfchart format="png"
chartheight="300"
chartwidth="300"
showxgridlines="no"
showygridlines="no"
showborder="no"
fontbold="no"
fontitalic="no"
show3d="yes"
rotated="no"
sortxaxis="no"
showlegend="no"
tipstyle="MouseOver"
tipbgcolor="##CCCCCC"
showmarkers="no"
title="Sample">

<cfchartseries type="bar" itemcolumn="Item" valuecolumn="Value">
<cfchartdata item="Item 1" value="35">
</cfchartdata>
<cfchartdata item="Item 2" value="55">
</cfchartdata>
<cfchartdata item="Item 3" value="43">
</cfchartdata>
</cfchartseries>
</cfchart>
</div></td>
</tr>
</table>

Flash Charts

Flash charts can be made very easily in Coldfusion using the cfchart tag. within the cfchart tags you set the format to flash and it will appear as a flash chart. This post will show you how to create a simple bar chart.

[More]

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.

[More]

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 (16) [RSS]
For Sale (2) [RSS]
Image Manipulation (1) [RSS]
Java (1) [RSS]
JavaScript (4) [RSS]
PHP (1) [RSS]
Railo (4) [RSS]
SQL (1) [RSS]
Useful Tools (3) [RSS]

Recent Comments

Coldfusion 8 Functions
Mark said: Can Cold Fusion do math functions similar to say Excel? I need to make several calculations, and if ... [More]

BlogCFC on Railo
iphone clone said: Thanks for sharing [More]

Coldfusion Protx VSP Form Integration Kit
confinedspace said: @Dom: Cheers for that - helped me out. Just one thing to note, I would add "all" as a thir... [More]

Coldfusion to PHP?
Jonny Shaw said: PHP is very similar to most other OOP languages, which i am quite familiar with, so it wasn't really... [More]

Coldfusion to PHP?
Rob said: @duncan - thank you for that link. I am having to start learning PHP and having a guide locally will... [More]

Recent Entries

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