Wow, it works in Flash too. Thank you SO much!

On Jan 17, 2008 9:02 PM, Raymond Camden <[EMAIL PROTECTED]> wrote:
> Ok, sorry for all the emails. I now see I have to send to the code the
> proper URL that CF uses for stuff:
>
> http://localhost/CFIDE/GraphData.cfm?graphCache=wc50&graphID=
>
> And... I got a gauge chart!!
>
> Thanks guys. Do you mind if I blog this? I'll be sure to steal credit
> and pretend I discovered it myself.
>
> Also - is this only for PNG charts, not Flash charts?
>
>
> On Jan 17, 2008 8:56 PM, Raymond Camden <[EMAIL PROTECTED]> wrote:
> > Ok, so I got the code to run, and it created some HTML. But if I
> > display the HTML, it gives me a broken image. And what is the JS file
> > it is trying to load?
> >
> > <!-- WebCharts3D v5.1(2077) --> <IMG
> > SRC="http://localhost/5297286140100002.PNG";
> > id="Images_5297286140100002_PNG" name="Images_5297286140100002_PNG"
> > usemap="#Images_5297286140100002_PNG_map" border="0"/> <table
> > cellpadding='0' cellspacing='1' style='visibility: hidden;display:
> > none; position:absolute;font-family: Arial;font-size: 13px;
> > font-weight:700;background:#FFFF00;foreground:#0000FF;color:#0000FF;-moz-opacity:.50;-opacity:.50;filter:alpha(opacity=50);border:1px
> > solid #0000FF;' name='GP1200624881598AAAB'
> > id='GP1200624881598AAAB'></table> <MAP
> > name='Images_5297286140100002_PNG_map'> <AREA shape='rect'
> > coords='0,0,1,1'/> <AREA shape="poly"
> > coords="155,92,166,101,258,251,240,261,157,106"/> </MAP> <script
> > language="javascript" src="http://localhost/script.js";></script>
> >
> >
> > On Jan 17, 2008 8:54 PM, Raymond Camden <[EMAIL PROTECTED]> wrote:
> > > 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
> > >
> >
> >
> >
> > --
> >
> > ===========================================================================
> > 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