Here's the test scenario. 

Both of the below files live in the same directory. 

Result: 
An error which states, "Not text elements left" 

If I remove the style attribute, it works fine. 

If I change the style attribute to "yellow", it works fine. 

If I move the mypie.xml file to the styles folder:
\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\charting\styl
es and reference it by name in the style attribute, "mypie", it doesn't
work, "Could not locate the style file mypie". 

If I reference "yellow_pie" in the style attribute (which pre-exists in the
styles folder), it doesn't work, "Could not locate the style file
yellow_pie". 

mypie.xml:
<?xml version="1.0" encoding="UTF-8"?>
<pieChart style="Solid" is3D="false"></pieChart>

index.cfm:
<cfchart style="mypie.xml">
     <cfchartseries type="pie">
          <cfchartdata item="First" value="70">
          <cfchartdata item="Second" value="30">
     </cfchartseries>
</cfchart> 

How should this work?

 

Ref: http://livedocs.macromedia.com/coldfusion/7/htmldocs/00001431.htm and
http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000226.htm 

 

- Calvin



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204659
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