PDA

View Full Version : img file on the fly


sfunds
12-10-2005, 11:14 AM
Hi,
I want to provide the client with charts showing price movements of stocks they requested on fly.

The user selects the stock name submits it.
On the server side gif img is created
It should be sent to the client.
It should not be saved on the server
What is the method to achieve this
Thanks

Bullschmidt
12-13-2005, 04:56 AM
I've got a free barchart ASP class (no components) downloadable from my Web site at http://www.bullschmidt.com/barchart.asp to help turn data stored in a table (or SQL statement) into a barchart.

To create a bar chart on a Web page you would include another Web page called jpschart.asp:
<!--#include file="jpschart.asp"-->

And the trick for using the chart with a recordset is the same concept as writing data to an HTML table from a recordset and that is this - within your loop through the recordset you retrieve values such as objRS("Sales") and in this case write those values to the chart object instead of writing those values to the HTML table.

And if a user ever wants to print a bar chart he can do this in a browser such as Internet Explorer: Tools | Internet Options | Advanced tab | Under Printing check "Print background colors and images."

Also you may want to check out the following:

Components: Graphics & Charts
http://www.aspin.com/home/components/graphics
Lists components.

sfunds
12-13-2005, 09:17 AM
Thanks I will try it

Sfunds