PDA

View Full Version : need to create a simple charting function from values in a text file


acrokos
07-08-2007, 06:23 AM
need to create a simple charting function from values in a text file...

suppose i have 2 links [LIST A] and [LIST B] with corresponding text files A and B.

when a list is chosen need to read/loop corresponding file and create charts using this url

http://chart.stockpoint.com/servlet/GIFChart?image=gif&sym1=TICKER&dres=min&dperiod=1&dcnt=&xview=&mode=2&intify=3&width=130&height=125&texttype=0&dispdate=0&cghc=ffffff&cgvc=ffffff

where as the value 'TICKER' is coming from text files for the variable sym1, for example a chart for IBM would be

http://chart.stockpoint.com/servlet/GIFChart?image=gif&sym1=IBM&dres=min&dperiod=1&dcnt=&xview=&mode=2&intify=3&width=130&height=125&texttype=0&dispdate=0&cghc=ffffff&cgvc=ffffff

assume simple flat file row values for text file A

GOOG
MSFT
YHOO

and simple flat file row values for text file B

CSCO
INTC
HPQ

the charts can be created on same html page in div container or new page if these values can be passed...


your help and time is greatly appreciated

ps. my webhosting platform is microsoft

ess
07-08-2007, 11:18 PM
It would be helpful to see some code.

If you are looking for someone to do the job for you, I am sure some of us will be interested if you would pay for the time etc.

acrokos
07-09-2007, 02:50 AM
And the cost would be....???

cash1981
07-10-2007, 11:21 AM
If you are willing to pay, I would suggest you try some sites which offer coders.

But if you have a question and you want help, we are here to help. But It doesnt seem like you have any questions. You just want people to give you all the code to do what you want, and we don't do that.

acrokos
07-10-2007, 01:37 PM
I already got some one to work on the script on scriptlance.com. Thank you.

FYI, I posted this thread to see if anyone of you had coded a read/loop/write file script. This is a rather simple function but I am not an expert so its why I came here first, wasnt looking for any easy or cheap way out.

Aradon
07-10-2007, 06:40 PM
Well our goal here is to help YOU learn how to do it. So what we wanted was an attempt so that we could point you in the right direction.

acrokos
07-11-2007, 12:48 AM
for all to see and learn, a working example here...

http://www.crokos.com/beta/charts/