GD::Chart
by Christopher J. Crane other posts by this author
Aug 31 2001 12:54AM messages near this date
view in the new Beta List Site
Re: application/x-zip-compresses MIME Type problem
|
Finance::QuoteHist::Yahoo
I am trying to use the logo function of the chart module and I can not get =
it to work.=0D
Does anyone have a working piece of code for the logo piece. I am working w=
ith PNG files, but I am sure I could look at any code that is working. Ther=
e is only two options for it. I have included a small piece of the code I a=
m currently using that is not working.=0D
=0D
$graph-> set_legend(@legend_keys);=0D
$graph-> set_text_clr(black);=0D
$graph-> set(=0D
logo =3D> 'logo.png',=0D
logo_resize, logo_position =3D> '[1,LL]',=0D
line_width =3D> $linewidth,=0D
axis_space =3D> '2',=0D
text_space =3D> '4',=0D
long_ticks =3D> '1',=0D
line_types =3D> '[1,4]',=0D
x_ticks =3D> $xticks,=0D
x_tick_offset =3D> '2',=0D
x_label =3D> '(c)http://Wallstreetcoffee.com',=0D
x_label_position =3D> '1',=0D
x_labels_vertical =3D> '1',=0D
x_label_skip =3D> $xlabelskip,=0D
y_label =3D> 'Per Share Price',=0D
y_ticks =3D> '0',=0D
y_tick_number =3D> $tick_count,=0D
y_label_skip =3D> '1',=0D
title =3D> $title=0D
);=0D
=0D
open(IMG, '> c:/mydocu~1/wscc/html/images/lines.png') or die $!;=0D
binmode IMG;=0D
print IMG $graph-> plot(\@data)->png;=0D
Attachments:
unknown1
unknown1
|