Tom,

I just copied the XML out of the WebChart3D program (not necessarily what
you are looking for, but perhaps good enough?) and I pasted it into the
Style attribute of cfchart.  After I had replaced all double quotes with
single quotes and removed one of the tags that was formatting the labels
with a bunch of ####'s I got it to work.  I was only replicating a bar
chart.  I don't think that I will even be able to use this approach for the
gauges that I want to use... maybe I'll have to create a SWF for that, but I
digress.  I had some 'success' in adding the XML directly to the style
attribute.

I hope that that helps.

Rob


On 9/7/07, Tom McNeer <[EMAIL PROTECTED]> wrote:
>
> Warning -- this is going to be a bit of a thread hijacking.
>
> But it involves the XML discussed in this thread. And I have asked this
> question in this and other forums, with no responses. So please excuse my
> hoping that someone involved in this conversation might help.
>
> I have used XML stylesheets for charts and passed them through the "style"
> attribute in the <cfchart> tag. But I now need to create a style
> specification (one not supported within the other attributes of cfchart)
> dynamically -- else I'd have to create many, many different stylesheets
> (think "international number formatting").
>
> The docs say that an XML string can be passed into the "style" attribute
> in
> place of a file path. But no matter how I produce/parse/handle the XML
> string, I can't get it to work. I get the equivalent of a "file not found"
> error, indicating that a path is always expected.
>
> Has anyone been able to successfully pass an XML string to this attribute?
> I
> have Googled, searched forum archives, and posted in numerous places, but
> have found no information.
>
> Again, I apologize for jumping into this thread. I'm just getting a little
> desperate for a solution.
>
>
>
> --
> Thanks,
>
> Tom
>
> Tom McNeer
> MediumCool
> http://www.mediumcool.com
> 1735 Johnson Road NE
> Atlanta, GA 30306
> 404.589.0560
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287968
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to