Just a quick look and it seems like your <cfchartseries> tag is wrong.
You need to specify the query as a parameter in the tag.

See my example:

<cfchart format="flash" yaxistitle="Ridership" fontsize="14"
showborder="Yes" showlegend="No">
      <cfchartseries type="bar" seriescolor="0000ff"
query="local.ridership" itemcolumn="MonthName"
valuecolumn="numMembers" />
</cfchart>

______________________________________________________________________
Ed Szwedo
Web Development Team Lead
CSC

109 TW Alexander Drive, Building NCC, Mail Drop N176-05, Research
Triangle Park, NC 27711
Information Technology Infrastructure Solutions | Office: (919)541-3955
| Fax: (919)541-3641 | [EMAIL PROTECTED] | www.csc.com


                                                                        
             "Troy Jones"                                               
             <[EMAIL PROTECTED]                                           
             >                                                       To 
             Sent by:                 <discussion@acfug.org>            
             [EMAIL PROTECTED]                                         cc 
                                                                        
                                                                Subject 
             10/24/2008 03:27         [ACFUG Discuss] cfchart           
             PM                                                         
                                                                        
                                                                        
              Please respond                                            
                    to                                                  
             [EMAIL PROTECTED]                                           
                   .org                                                 
                                                                        
                                                                        




Hey all,

I am troubleshooting an instance of the <cfchart> tag in one of my
client’s applications. I am not familiar with the use of this tag at all
but, in a nutshell, the tag appears to be syntactically correct and the
requested data exists at the time of the call but the chart never
appears and there doesn’t seem to be any attempt, failed or otherwise,
to write source code to generate it. Here is the snippet with the
<cfchart> call:

<cfchart format="flash" xaxistitle="Date" yaxistitle="Views"
chartwidth="450" show3d="true" title="Tour Views Per Day"
name="statChart">
                <cfchartseries type="bar"
                                itemcolumn="Date"
                                valuecolumn="View" >
                                                <cfoutput
query="getHits"><cfchartdata item="#DateFormat(stats_date, 'mm/dd/yy')#"
value="#TotalHits#"></cfoutput>
                </cfchartseries>
</cfchart>

I dumped the query variable that contains the value requested in the
<cfchartdata> and it does exist when this tag is called. I can find no
errors being thrown either in the CF administrator or in the
application’s error handing system. The chart does not appear in any
browser.

Any ideas?

Troy Jones
Dynapp Support Team
678-528-2952





-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-------------------------------------------------------------

N�����r��y����b�X��f�j���鮇���m����q����

Reply via email to