I've tried this before and it doesn't work because cfchart does not
actually return an image (of flash file) but instead the html to call
that image that is has placed on the server.

In other words what cfchart below returns is something like:
<img src="/temp/123123.jpg">
and not the actual image.

It would be very cool if you could use it like you want to below (in
addition to the current method).

Cheers,

Sam F

On 10/2/06, Richard White <[EMAIL PROTECTED]> wrote:
> Hi, i am just wondering if by using the jpg format in the cfchart whether you 
> can actually output this as an image.
>
> i have got a .cfm page named test. In that test i have a simple cfchart tag
>
> <cfchart format="jpg">
>   <cfchartseries type="bar" paintstyle="plain" seriescolor="red">
>     <cfchartdata item="Target" value="200">
>   </cfchartseries>
> </cfchart>
>
> on another page i am trying to sett the outputted image as an image as 
> follows:
>
> <img id="mychart" src="/test.cfm"/>;
>
> i know i must be missing something as it isnt outputting the image at all
>
> i would appreciate some help with this,
>
> thanks
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255080
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