Click here to get back home

GD::Graph - Can it create a stock chart

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
GD::Graph - Can it create a stock chart Jarson 10-07-2004
Posted by Jarson on October 7, 2004, 10:42 am
Please log in for more thread options
I would like to know if GD::Graph can be used to create a "Stock Chart".
This is a series of lines with three data points representing the
high/low/close. Perhaps there is a more correct name for this type of chart,
but it is referred to this in MS Excel. My application is NOT for tracking
stocks, and I will use it for the high/low/average for several days.

Thanks,
Jarson (jarson) from Sygration.
That's a dot com company (you can figure out the e-mail address if needed).





Posted by Gregory Toomey on October 8, 2004, 2:03 am
Please log in for more thread options
Jarson wrote:

> I would like to know if GD::Graph can be used to create a "Stock Chart".
> This is a series of lines with three data points representing the
> high/low/close. Perhaps there is a more correct name for this type of
> chart,
> but it is referred to this in MS Excel. My application is NOT for
> tracking stocks, and I will use it for the high/low/average for several
> days.

Yes. In fact many online charting applications use Perl.

http://ipo-australia.com/scgi-bin/beta/graph.cgi?graph=XAO_year_550x350
(This uses plain GD & is not in production yet).

gtoomey


Posted by Jarson on October 7, 2004, 1:13 pm
Please log in for more thread options
Your example is not a stock chart. It is a line chart (although a very nice
one, and I do want to know how you were able to get all the daily data yet
only show monthly data titles and vertical lines).

A stock chart (again, perhaps not the most correct name) shows the
high/low/close for each data point.

Jarson


> Jarson wrote:
>
>> I would like to know if GD::Graph can be used to create a "Stock Chart".
>> This is a series of lines with three data points representing the
>> high/low/close. Perhaps there is a more correct name for this type of
>> chart,
>> but it is referred to this in MS Excel. My application is NOT for
>> tracking stocks, and I will use it for the high/low/average for several
>> days.
>
> Yes. In fact many online charting applications use Perl.
>
> http://ipo-australia.com/scgi-bin/beta/graph.cgi?graph=XAO_year_550x350
> (This uses plain GD & is not in production yet).
>
> gtoomey




Posted by Peter Scott on October 8, 2004, 12:24 am
Please log in for more thread options
>Your example is not a stock chart. It is a line chart (although a very nice
>one, and I do want to know how you were able to get all the daily data yet
>only show monthly data titles and vertical lines).

Yes, I would like to know how to do that too.

>A stock chart (again, perhaps not the most correct name) shows the
>high/low/close for each data point.

GD::Chart calls this a hi-low-close chart. It rocks, if you can build
all the dependencies. It hides its CPAN light under a bushel somewhat:

http://search.cpan.org/~rdp/GD-Chart-0.05/

>Jarson
>
>
>> Jarson wrote:
>>
>>> I would like to know if GD::Graph can be used to create a "Stock Chart".
>>> This is a series of lines with three data points representing the
>>> high/low/close. Perhaps there is a more correct name for this type of
>>> chart,
>>> but it is referred to this in MS Excel. My application is NOT for
>>> tracking stocks, and I will use it for the high/low/average for several
>>> days.
>>
>> Yes. In fact many online charting applications use Perl.
>>
>> http://ipo-australia.com/scgi-bin/beta/graph.cgi?graph=XAO_year_550x350
>> (This uses plain GD & is not in production yet).
>>
>> gtoomey
>
>

--
Peter Scott
http://www.perldebugged.com/
*** NEW *** http://www.perlmedic.com/


Similar ThreadsPosted
Create Excel chart from spreadsheet on Un*x? December 28, 2006, 11:28 pm
Error in DBD::Chart (called from DBIx::Chart) May 19, 2006, 2:35 pm
PDF::Create (or alike) to create watermark for existing pdf file? June 11, 2006, 6:18 pm
GD::Graph - how to get rid of leading gap in line graph? October 1, 2004, 10:56 am
Graph.0.69 Module---how to get a DAG from graph with cycles January 23, 2006, 2:50 pm
Need help with Chart::OFC January 4, 2008, 10:04 pm
GD::Chart OO model October 27, 2004, 10:42 am
Problem with Name of Excel Chart September 22, 2005, 9:21 am
ANNOUNCE: Image::Magick::Chart V 1.01 June 13, 2005, 3:36 am
PDF::Create February 28, 2005, 11:28 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap