In a chart I built, I put the data for the columns into the valuecolumn field 
of your cfchartseries tag.  For example, here's my query:
<cfquery name="pollResults" datasource="#myDSN#">
        select descr as choice, count(answerid) as totAnswers
        from tblpollvotes
</cfquery> 

And I used totAnswers for my valuecolmn field:
<cfchartseries 
        type="bar"
        query="pollResults"
        itemcolumn="choice"
        valuecolumn="totAnswers"
        paintStyle="light"
        seriesColor="FEFDE0">

Does that answer your question?

> -----Original Message-----
> From: Oğuz_Demirkapı [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, April 06, 2006 4:23 PM
> To: CF-Talk
> Subject: RE: CFCHART
> 
> An extra information:
> 
> When I check WebChats3D XML syntax, I have something like following.
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <XML type="default">
> <COL>2000</COL>
> <COL>2001</COL>
> <COL>2002</COL>
> <COL>2003</COL>
> <COL>2004</COL>
> <ROW col0="100.0" col1="200.0" col2="300.0" col3="120.0" 
> col4="200.0">Sample 0:</ROW>
> <ROW col0="-150.0" col1="500.0" col2="650.0" col3="830.0" 
> col4="250.0">Sample 1:</ROW>
> <ROW col0="-200.0" col1="-400.0" col2="400.0" col3="-280.0" 
> col4="300.0">Sample 2:</ROW>
> <ROW col0="-250.0" col1="500.0" col2="550.0" col3="-330.0" 
> col4="350.0">Sample 3:</ROW>
> </XML>
> 
> Here we have "COL" values and I just need to populate these 
> values in CFCHART. 
> 
> But how?

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237148
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to