Hi Ray,

Not quite there ...

I had a look at the wecharts stuff in charting, way over anything I will
ever need or want to learn just to get a pound sign.

The chart editor I see in DW doesn't have the options to turn off locale or
set lang and country.  But I used the following laboriously copied and
pasted from your blog entry.

I'm getting the error: "The system cannot find the file specified".  Line 73
is highlighted in the following:

171 : <cfchart format="flash" chartheight="300" chartwidth="400"
showxgridlines="no" labelformat="currency" show3d="yes"
pieslicestyle="sliced" style="#style#"
172 : url="products.cfm?Item=$ITEMLABEL$" title="Main Category Sales for
#dateformat(chartdate, "mmmm")# #dateformat(chartdate, "yyyy")#">
173 : <cfchartseries  type="pie" itemcolumn="catmainDescr"
valuecolumn="grandTotalPrice" query="MainCats"></cfchartseries>
174 : </cfchart>

<cfsavecontent variable="style">
<?xml version="1.0" encoding="UTF-8"?>
<frameChart is3D="false">
<yAxis scaleMin="0">
<labelFormat style="Currency" pattern="#,##0.00">
        <locale lang="en" country="GB" variant=""/>
        </labelFormat>
<parseFormat pattern="#,##0.###"/>
<groupStyle>
        <format pattern="#,##0.###"/>
        </groupStyle>
</yAxis>
</frameChart>
</cfsavecontent>

<cfset chartdate = createdate(session.year, session.month, datepart("d",
now()))>
<cfchart format="flash" chartheight="300" chartwidth="400"
showxgridlines="no" labelformat="currency" show3d="yes"
pieslicestyle="sliced" style="#style#"
url="products.cfm?Item=$ITEMLABEL$" title="Main Category Sales for
#dateformat(chartdate, "mmmm")# #dateformat(chartdate, "yyyy")#">
<cfchartseries  type="pie" itemcolumn="catmainDescr"
valuecolumn="grandTotalPrice" query="MainCats"></cfchartseries>
</cfchart>





>>-----Original Message-----
>>From: Raymond Camden [mailto:[email protected]]
>>Sent: 19 May 2011 19:04
>>To: cf-talk
>>Subject: Re: CFchart / currency
>>
>>
>>
>>http://www.coldfusionjedi.com/index.cfm/2011/5/19/cfchart-and-nonA
>>merican-locales
>>
>>Blog post. With pictures. It's pure winning.
>>
>>
>>On Thu, May 19, 2011 at 10:37 AM, Raymond Camden
>><[email protected]> wrote:
>>> I just checked - CF7 added the ability to use styles. You
>>should be all set.
>>>
>>>
>>> On Thu, May 19, 2011 at 10:37 AM, Raymond Camden
>><[email protected]> wrote:
>>>> Actually the chart editor is old. Go to your cf root, charting, and
>>>> run webcharts.bat (or the Unix flavor). It's a graphical editor that
>>>> spits out a style XML you can use in cfchart. Search my blog for
>>>> cfchart. I've got a butt load of entries on it that talk about this
>>>> tool and custom XML. (And I'll have an entry for this at lunch.)
>>>>
>>>>
>>>> On Thu, May 19, 2011 at 9:50 AM, Jenny Gavin-Wear
>>>> <[email protected]> wrote:
>>>>>
>>>>> Hi Ray,
>>>>>
>>>>> I'm
>>>
>>
>>
>>
>>--
>>==================================================================
>>=========
>>Raymond Camden, ColdFusion Jedi Master
>>
>>Email    : [email protected]
>>Blog      : www.coldfusionjedi.com
>>Twitter   : cfjedimaster
>>
>>Keep up to date with Android news: http://www.androidgat
>>
>>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344712
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to