<CFGRAPHDATA> Tag - ColdFusion
>> Return to ColdFusion Tag Index
The <CFGRAPHDATA> tag allows you ...
<CFGRAPHDATA> Comments from Macromedia LiveDocs
LiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags40.htm
if you have problems with coldfusion 5 and cfgraph (page doesnt load or does load extremly slow and nothing appears finally.......?) try this:
Macromedia just thinks its only for OReilly on solaris, but it is the solutions for this f***g cfgraph problem from whith the internet is full of complains!!!!
Best Regards from Switzerland!
Solution
Create a template called cfgraphingpage.cfm within the root directory of your website, for instance: c:\website\htdocs\cfgraphingpage.cfm.
Within cfgraphingpage.cfm, include one or two characters of text. As long as the file is greater than 0 bytes in size, the content is not important.
Run a template using the cfgraph tag successfully.
LiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags40.htm
This is an Old Posting but , Heres the correct code:
<cfset NewIncome = 1200000>
<cfset UsedIncome = 870000>
<cfset Leasingincome = 930000>
<cfset ServiceIncome = 760000>
<cfgraph type = "bar" title = "Income by Department">
<cfgraphdata Item = "New Vehicle Sales" value = #newincome#>
<cfgraphdata Item = "Used Vehicle Sales" value = #UsedIncome#>
<cfgraphdata Item = "Leasing" value = #LeasingIncome#>
<cfgraphdata Item = "Service" value = #ServiceIncome#>
</cfgraph>
LiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags40.htm
Update from Macromedia: re the two comments above:
- emiller@werner.com is correct; use "item"
- sandman99 is correct; use "UsedIncome" with an e
(CF MX users: see this tag's CF MX Livedocs entry, for changes in its functinality in CF MX.) --Christina Lamkin, CF team
LiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags40.htm
Oh yeah and <cfset UsedIncom = 870000> should have an 'e' on the UsedIncome.
All of the 'samples' on the CFGRAPH are messed up.
LiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags40.htm
The uses of label is not supported it sholud be item
[Top]
Recommended Books
COLDFUSION MX Web Application Construction Kit (5th Edition)
Authors: Ben Forta and Nate Weiss
1500 pages
[Top]
Web Sites
Macromedia
The makers of ColdFusion/ColdFusion MX.
ColdFusion Developer's Journal
Forta.com (ColdFusion Section)
Ben Forta is Macromedia's Senior Technical Evangelist. Here on his site find useful ColdFusion information.
Flash CFM
Flash and ColdFusion Development.
Handling file uploads without CFFILE
BLOG post by "Sam" on REWINDLIFE.COM gives insight into how to upload a file on your site if you are not allowed to use the CFFILE tag.
[Top]
Copyright © 2003- 2010, Orville Paul Chomer, All Rights Reserved
Home Page
Blog
How To
Chomer TV
The Show
Webcam Videos
Freeware
•
VB Mahjongg
Coding
•
ColdFusion
•
Javascript
•
Visual Basic
Other Places
Acoustic Eidolon
History Singers
Scobleizer
Beach Walks
Freshtopia
CSS Zen Garden