Ack, sorry, type is the image format. I'm still trying...

On Jan 17, 2008 8:53 PM, Raymond Camden <[EMAIL PROTECTED]> wrote:
> Scratch that. I think you meant for us to find the style based on the
> chart type. Mine wasg auge.
>
> So get this. I try your code, and I get the same error I got with cfchart:
>
> Unsupported type: gauge
>
>
> On Jan 17, 2008 8:48 PM, Raymond Camden <[EMAIL PROTECTED]> wrote:
> > I'm having issues duplicating this. I created a WCP file, saved it so
> > CF can read it, and I noticed that my file has no <frameChart in it,
> > so the string funcs fail.
> >
> > On Jan 17, 2008 7:26 PM, Simon Haddon <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > This is how we use webcharts.
> > >
> > > 1. We save the project (WCP file) in a folder accessible by the CF server.
> > > We use to save just WC3D style sheet but realised that we could just grab
> > > that from the WCP file at run time and saving one project file is easier 
> > > to
> > > maintain than 2 files for each chart.
> > >
> > > 2. Create the XML Style from the WCP project.  Could have parsed the
> > > document into XML then then grabbed the frameChart element but this 
> > > appeared
> > > to be simplier and quicker. (example below)
> > >
> > >             <!--- Read the WCP file --->
> > >
> > >             <!--- Get the frameChart component --->
> > >                     <cfset iStart = findNoCase("<frameChart",sChartStyle)>
> > >                     <cfset iEnd = findNoCase("</frameChart>",sChartStyle)>
> > >                     <cfsavecontent variable="chartStyle">
> > >                         <cfoutput><?xml version="1.0" encoding="UTF-8"?>
> > >                         #mid(sChartStyle,iStart,iEnd-iStart+13)#
> > >                         </cfoutput>
> > >                     </cfsavecontent>
> > >
> > --
> > ===========================================================================
> >
> > Raymond Camden, Camden Media
> >
> > Email    : [EMAIL PROTECTED]
> > Blog      : www.coldfusionjedi.com
> > AOL IM : cfjedimaster
> >
> > Keep up to date with the community: http://www.coldfusionbloggers.org
> >
>
>
>
> --
> ===========================================================================
> Raymond Camden, Camden Media
>
> Email    : [EMAIL PROTECTED]
> Blog      : www.coldfusionjedi.com
> AOL IM : cfjedimaster
>
> Keep up to date with the community: http://www.coldfusionbloggers.org
>



-- 
===========================================================================
Raymond Camden, Camden Media

Email    : [EMAIL PROTECTED]
Blog      : www.coldfusionjedi.com
AOL IM : cfjedimaster

Keep up to date with the community: http://www.coldfusionbloggers.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to