If it's a JPEG then you could just have an IMG tag, and change the SRC.

ie:
<img id="mychart" 
src="http://myserver.com/generate_chart.cfm/chart.jpg?params=1"/>

<select onchange="showGraph(this.value)">
<option value="1">Something</option>
<option value="2">Something Else</option>
<option value="3">Another Thing</option>
</select>

<script type="text/javascript">
function changeGraph(v)
{
 document.getElementById('mychart').src= 
'/generate_chart.cfm/chart.jpg?params='+v;
}
</script>

Something along the lines of that, with generate_chart having nothing except a 
cfchart tag (and any related processing of parameters).

That make sense?


> your right the cfchart can be created using the flash method, but also 
> it generates a jpeg of the chart instead of  flash which is the method 
> i am using.
> 
> I dont really want the page to be refreshed as there are multiple ways 
> that the user can change the data in the chart, therefore it will be a 
> bit tedious for them having to  wait for the page to be reloaded 
> everytime they click something.
> 
> is it possible to pass over a jpeg file using JSMX?
> 
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:255045
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