Apache-GDGraph

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

	  fonts in GD::Text, and consequently any font related methods in
	  GD::Graph.
	- Fixed another minor caching snafu (PerlSetVar CacheSize 0 still
	  checked for cached images).
	- Expanded pod docs a bit.
	- Fixed exceptions, for the last time I hope.
	- Added support for captions at arbitrary locations in the graph, with
	  any font.

0.9	Tue Oct 17 11:38:53 PDT 2000
	- Added a list type () for set_XXX methods. Eg. legend=(mon,tue,wed)
	  will now work.
	- Now support x-www-form-urlencoded data sent via a POST request.
	- Added a to_file parameter, if set the generated graph will be saved
	  to the destination file on the server.

0.8	Mon Oct  9 22:44:05 PDT 2000
	- Since 0.7, the default for the X axis is to NOT have any labels.
	- The "expires" parameter didn't really work, fixed.
	- The parameter cache=0 in the query string still hit the cache if the
	  image was already there, fixed.
	- Was checking for "Accepts" header, when needed to check for "Accept"
	  header.
	- Now checking for set_XXX methods as options, so methods like
	  set_legend(), set_font(), etc will work.

0.7	Wed Sep 14 18:47:27 PDT 2000
	- Added support for image types other than png via PerlSetVar
	  ImageType, and the image_type parameter, and via Accepts header
	  (Thanks to Scott Holdren for the idea and patch.)
	- Better parsing. Empty values in arrays (like [,foo,bar,,]) will work,
	  as well as quoted strings. (Thanks to Scott Holdren for the former.)
	- New argument "expires" allows configuration of Expires header on a
	  request basis.
	- New argument "cache" allows requests to not use the server-side

README  view on Meta::CPAN


    Firstly, make sure you are not using any spaces! If you want to pass
    a space in a parameter in a URL-encoded string, use %20, in a form
    use a "+".

    Make sure to use "cache=0" or "PerlSetVar CacheSize 0" when
    debugging, otherwise you will spend hours being very confused.

FONTS
    GD::Graph has some options that take a font description, such as
    title_font, legend_font, etc. (these map to the appropriate set_FOO
    methods in GD::Graph, see that manpage).

    The following fonts are built-in to GD, these strings will resolve
    into the appropriate fonts except when quoted:

    gdSmallFont, gdLargeFont, gdMediumBoldFont, gdTinyFont, gdGiantFont

    There is also a way to use your own True Type Fonts. See the
    TTFFontPath variable under SYNOPSIS for how to set the search path
    for fonts. MAKE SURE your fonts are readable by the user the Apache

lib/Apache/GD/Graph.pm  view on Meta::CPAN


Firstly, B<make sure you are not using any spaces!> If you want to pass a space in
a parameter in a URL-encoded string, use C<%20>, in a form use a C<+>.

Make sure to use C<cache=0> or C<PerlSetVar CacheSize 0> when debugging,
otherwise you will spend hours being very confused.

=head1 FONTS

GD::Graph has some options that take a font description, such as title_font,
legend_font, etc. (these map to the appropriate set_FOO methods in GD::Graph,
see that manpage).

The following fonts are built-in to GD, these strings will resolve into the
appropriate fonts except when quoted:

gdSmallFont, gdLargeFont, gdMediumBoldFont, gdTinyFont, gdGiantFont

There is also a way to use your own True Type Fonts. See the TTFFontPath
variable under SYNOPSIS for how to set the search path for fonts. MAKE SURE
your fonts are readable by the user the Apache server runs under, this is



( run in 0.450 second using v1.01-cache-2.11-cpan-49f99fa48dc )