Skip Menu |

This queue is for tickets about the Chart CPAN distribution.

Report information
The Basics
Id: 27103
Status: new
Priority: 0/
Queue: Chart

Owner: Nobody in particular
Requestors: chris+rt [...]

Bug Information
Severity: Normal
Broken in: 2.4.1
Fixed in: (no value)

Subject: [PATCH] scalar_png lacks _set_colors() call
Download (untitled) / with headers
text/plain 575b
The scalar_png method generates images with black backgrounds. The fix is extremely simple, as shown in the patch below. Chris diff -u /Users/chris/perl/lib/perl5/site_perl/Chart/ inc/Chart/ --- /Users/chris/perl/lib/perl5/site_perl/Chart/ 2006-01-24 06:32:09.000000000 -0600 +++ inc/Chart/ 2007-05-12 00:57:22.000000000 -0500 @@ -311,6 +311,9 @@ my $self = shift; my $dataref = shift; + # allocate the background color + $self->_set_colors(); + # make sure the object has its copy of the data $self->_copy_data($dataref);

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to