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 i have a sample of both of the charts in JPG and PNG

Here is te source code from that page.

<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>

Related Blog Entries

Comments

Archives By Subject

Advertising (3) [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]
Image Manipulation (1) [RSS]
JavaScript (3) [RSS]
Useful Tools (3) [RSS]

Recent Comments

FCKeditor
Jonny Shaw said: I know that but unless you can get the new version on FCKeditor in to CF8 then i will keep using FCK... [More]

FCKeditor
Azadi Saryev said: Jonny, their ARE the same. CF8 just uses an earlier version of FCKEditor, so, of course, there are d... [More]

FCKeditor
Jonny Shaw said: There are a few differences between the two, i got annoyed with the CF8 editor because it tries to b... [More]

FCKeditor
Shannon Hicks said: Yeah, from the CF8 docs: Using the rich text editor The ColdFusion rich text editor lets users ente... [More]

FCKeditor
Henry Ho said: Ya.. YUI Editor also == FCKEditor [More]

Recent Entries

Customizable Homepage
Horizontal Loop
FCKeditor
Coldfusion Blog | Coldfusion Hosting | About Me