phildog has asked for the wisdom of the Perl Monks concerning the following question:
http://dodgeit.com/temp/file.png
created with this code:
I'd like to draw a horizontal reference line right at the number 11.my $chart = GD::Graph::lines->new(1000,480); $chart->set(x_label => "time", # no axes for pie chart x_labels_vertical => 1, x_label_skip => 50, y_label => "price", title => "misc stock", long_ticks => 0, # make a grid of all the ticks ); my $plot = $chart->plot($dataref) or die $chart->error;
Any ideas? I looked through the /samples dir that came with the GD::Graph dist and didn't find anything promising and have also googled around quite a bit.
TIA -> Phil
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Drawing reference lines with GD::Graph
by clscott (Friar) on Jan 22, 2004 at 04:56 UTC | |
by Anonymous Monk on Jan 22, 2004 at 14:32 UTC | |
by clscott (Friar) on Jan 22, 2004 at 18:36 UTC | |
by phildog (Novice) on Jan 23, 2004 at 16:45 UTC | |
by Mr. Muskrat (Canon) on Jan 23, 2004 at 04:47 UTC | |
|
Re: Drawing reference lines with GD::Graph
by flyingmoose (Priest) on Jan 22, 2004 at 00:25 UTC |