Skip Menu |
 

This queue is for tickets about the SWF-Chart CPAN distribution.

Report information
The Basics
Id: 38491
Status: open
Priority: 0/
Queue: SWF-Chart

People
Owner: Nobody in particular
Requestors: jmmills [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in:
  • 1.0
  • 1.1
  • 1.1-1
  • 1.2
  • 1.3
  • 1.4
Fixed in: (no value)

Attachments


Subject: No support for 5.x version of XML/SWF Charts
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 311
Download (untitled) / with headers
text/plain 311b
I marked this as critical since the 4.x version of XML/SWF charts are no longer available from the distro site and as such new users to this module would find this module non-functional. Documentation for the differences between 4.x and 5.x is provided at http://www.maani.us/xml_charts/index.php?menu=upgrade
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Charset: utf8
Message-Id: <rt-3.6.HEAD-20338-1218824228-452.38491-0-0 [...] rt.cpan.org>
Content-Type: multipart/mixed; boundary="----------=_1218824228-20338-29"
X-RT-Original-Encoding: utf-8
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 499
Download (untitled) / with headers
text/plain 499b
Here is a patch I made as a workaround for SWF::Chart 1.4. It "works for me" for XML/SWF Chart 5.01 at the time of this posting. On Thu Aug 14 15:49:25 2008, JMMILLS wrote: Show quoted text
> I marked this as critical since the 4.x version of XML/SWF charts are no > longer available from the distro site and as such new users to this > module would find this module non-functional. > Documentation for the differences between 4.x and 5.x is provided at > http://www.maani.us/xml_charts/index.php?menu=upgrade >
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Content-Type: multipart/mixed; boundary="----------=_1218824228-20338-28"
Charset: utf8
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
Content-Length: 0
Content-Type: text/x-patch; name="xmlchart-5.01-workaround.patch"
Content-Disposition: inline; filename="xmlchart-5.01-workaround.patch"
Content-Transfer-Encoding: binary
Content-Length: 2575
--- lib/SWF/Chart.pm.orig 2008-08-14 15:08:19.000000000 -0700 +++ lib/SWF/Chart.pm 2008-08-14 17:36:28.000000000 -0700 @@ -137,6 +137,7 @@ axis_ticks => ['elem'], axis_value => ['elem'], axis_value_text => ['container', 'string'], + axis_value_label => ['container', 'string'], chart_border => ['elem'], chart_data => ['elem'], @@ -147,8 +148,10 @@ chart_transition => ['elem'], chart_type => ['elem', 1], chart_value => ['elem'], + chart_label => ['elem'], chart_value_text => ['container', 'string'], + legend => ['elem'], legend_label => ['elem'], legend_rect => ['elem'], legend_transition => ['elem'], @@ -156,10 +159,12 @@ link => ['elem'], link_data => ['elem'], live_update => ['elem'], + update => ['elem'], series_color => ['container', 'color'], series_explode => ['container', 'number'], series_gap => ['elem'], + series => ['elem'], series_switch => ['elem'], circle => ['elem'], @@ -169,6 +174,8 @@ string => ['elem', 1], color => ['elem', 1], number => ['elem', 1], + + context_menu => ['elem'], }; # A list of properties that if passed to any of the above options should be @@ -310,7 +317,7 @@ my $self = shift; # This is the ordained way to remove the legend...yuk - $self->legend_rect(y => -9999); + $self->legend(y => -9999); } =pod @@ -356,8 +363,8 @@ # Set the defaults for attribute only tags $self->axis_category(%param); $self->axis_value(%param); - $self->chart_value(%param); - $self->legend_label(%param); + $self->chart_label(%param); + $self->legend(%param); # Set the defaults for the draw_text tags if (exists $self->{opts}->{draw_text}) {


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.