473,386 Members | 1,741 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Stock chart

270 100+
Hello experts,
How to embed stock market chart on my website using php?

Actually i want to display last 30 day chart and also current price of stock, pls help

regards,
Nitin
May 27 '09 #1
9 2862
code green
1,726 Expert 1GB
jpgraph is worth a look at.
http://www.aditus.nu/jpgraph/jpdownload.php
May 27 '09 #2
prabirchoudhury
162 100+
hey you could use gdchart or could you flash and php to do that .

look on those two links
flash _php tutorial

gdchart



good luck :) ..
May 27 '09 #3
NitinSawant
270 100+
Hello,
Thanks for your reply.

Drawing graph is no problem, i'm using flot to draw graph http://code.google.com/p/flot/

but i do not know how to retrieve last 30 day stock market data and draw the graph.

regards,
Nitin Sawant
May 28 '09 #4
prabirchoudhury
162 100+
1. retrieve the data


Expand|Select|Wrap|Line Numbers
  1. select * from table 
  2. where date_field between from_date
  3. AND to_date;
2. then put this data into the graph, this the logic. so where you are having problem ?
May 28 '09 #5
NitinSawant
270 100+
Thanks a lot for replying @prabirchoudhury

but i don't have the data in sql tables...

and also at the stock mkts, the data changes every day..

i need data between current day to last 30th day and draw the graph..

i'm stuck in retrieving the data
(is there any website or webservice which offers last 30 day stock market data so that i can manipulate it and draw graph using it?)
May 28 '09 #6
prabirchoudhury
162 100+
hey have a look on might help you

stock database

free download

or make a dummy database with all the possible fields and do the testing untill you get the better one

good luck..
May 28 '09 #7
NitinSawant
270 100+
still have problems @prabirchoudhury

The link which you posted is windows app,

and i'm tryin to develop web app,

nd also i want realtime data in it
May 28 '09 #8
prabirchoudhury
162 100+
sorry i couldn’t help on that but frm those links you could get some idea of real-time data fields ..
May 28 '09 #9
NitinSawant
270 100+
what to do now? there must be some kind of service which will help me to do the task?
May 30 '09 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Brian Shade | last post by:
Hi all. I am having a bit of a problem with my Perl script and the creation of a chart. I can create the chart and create a new SeriesCollection. I then specify the XValues and the Values parameter...
8
by: Prabhakar | last post by:
Friends, I have been migrating ASP applications from IIS4.0/NT4.0 to IIS5.0/W2K. All the applications working perfectly except one. This particular application will make use of asp chart object....
0
by: Marion Slaughter | last post by:
----FA48570F00BB51C Content-Type: text/html; charset="iso-35B2-E" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head>...
0
by: UseNaut | last post by:
MSFT vs. SCO chart http://finance.yahoo.com/q/bc?s=MSFT&t=3m&l=on&z=m&q=l&c=sco
1
by: Jim | last post by:
I have this chart on a form. I'm trying to get this chart to render only if the user chooses to do so. This because of that the chart is quite complex and takes some time to render. I know that I...
22
by: PeteCresswell | last post by:
I've been to http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mschrt/html/vbobjtitleobject.asp, but still don't have a clue. For example, I've got a chart object namde...
3
by: Zarf | last post by:
I search a book on how to program stock chart in vb net thank you.
1
by: asmusdk | last post by:
I am working on creating a stock management database for a small company. The company receives the merchandise from a handful of suppliers and stocks it before it is sent to the customers –...
1
by: cubekid | last post by:
I am using OWC 11 in my new web application for displaying charts. Is it possible in OWC 11 to combine and display a column and a line graph (Looking like they overlap each other)? I tried it using...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.