<CFGRAPHDATA> Tag - ColdFusion


>> Return to ColdFusion Tag Index

The <CFGRAPHDATA> tag allows you ...



  <CFGRAPHDATA> Comments from Macromedia LiveDocsLiveDocs 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

[Top]

Web Sites

[Top]

Copyright © 2003- 2010, Orville Paul Chomer, All Rights Reserved