Attached patch fixes the issue.
--
Cheers,
ZZ [
https://metacpan.org/author/ZOFFIX ]
diff -Naur Google-Chart-0.05014_orig/lib/Google/Chart/Axis/Item.pm Google-Chart-0.05014/lib/Google/Chart/Axis/Item.pm
--- Google-Chart-0.05014_orig/lib/Google/Chart/Axis/Item.pm 2014-01-21 20:36:34.596499940 -0500
+++ Google-Chart-0.05014/lib/Google/Chart/Axis/Item.pm 2014-01-21 20:38:27.736501422 -0500
@@ -5,7 +5,7 @@
use Moose::Util::TypeConstraints;
use Google::Chart::Axis::Style;
-enum 'Google::Chart::Axis::Location' => qw(x y r t);
+enum 'Google::Chart::Axis::Location' => [qw(x y r t)];
subtype 'Google::Chart::Axis::StyleList'
=> as 'ArrayRef[Google::Chart::Axis::Style]'
diff -Naur Google-Chart-0.05014_orig/lib/Google/Chart/Axis/Style.pm Google-Chart-0.05014/lib/Google/Chart/Axis/Style.pm
--- Google-Chart-0.05014_orig/lib/Google/Chart/Axis/Style.pm 2014-01-21 20:36:34.596499940 -0500
+++ Google-Chart-0.05014/lib/Google/Chart/Axis/Style.pm 2014-01-21 20:38:34.016501504 -0500
@@ -5,7 +5,7 @@
use Moose::Util::TypeConstraints;
use Google::Chart::Types;
-enum 'Google::Chart::Axis::Alignment' => qw(-1 0 1);
+enum 'Google::Chart::Axis::Alignment' => [qw(-1 0 1)];
has 'color' => (
is => 'rw',
diff -Naur Google-Chart-0.05014_orig/lib/Google/Chart/Marker.pm Google-Chart-0.05014/lib/Google/Chart/Marker.pm
--- Google-Chart-0.05014_orig/lib/Google/Chart/Marker.pm 2014-01-21 20:36:34.596499940 -0500
+++ Google-Chart-0.05014/lib/Google/Chart/Marker.pm 2014-01-21 20:37:11.768500427 -0500
@@ -81,7 +81,7 @@
}
;
-enum 'Google::Chart::Marker::Item::Type' => (
+enum 'Google::Chart::Marker::Item::Type' => [
'a', # arrow
'c', # corrs
'd', # diamond
@@ -93,7 +93,7 @@
'h', # horizontal line across
'x', # x shape
'D', # Line and bar chart line styles
-);
+];
has 'marker_type' => (
is => 'rw',
diff -Naur Google-Chart-0.05014_orig/lib/Google/Chart/Type/Bar.pm Google-Chart-0.05014/lib/Google/Chart/Type/Bar.pm
--- Google-Chart-0.05014_orig/lib/Google/Chart/Type/Bar.pm 2014-01-21 20:36:34.596499940 -0500
+++ Google-Chart-0.05014/lib/Google/Chart/Type/Bar.pm 2014-01-21 20:37:50.144500927 -0500
@@ -6,7 +6,7 @@
with 'Google::Chart::Type::Simple';
-enum 'Google::Chart::Type::Bar::Orientation' => qw(horizontal vertical);
+enum 'Google::Chart::Type::Bar::Orientation' => [qw(horizontal vertical)];
has 'stacked' => (
is => 'rw',
diff -Naur Google-Chart-0.05014_orig/lib/Google/Chart/Type/QRcode.pm Google-Chart-0.05014/lib/Google/Chart/Type/QRcode.pm
--- Google-Chart-0.05014_orig/lib/Google/Chart/Type/QRcode.pm 2014-01-21 20:36:34.596499940 -0500
+++ Google-Chart-0.05014/lib/Google/Chart/Type/QRcode.pm 2014-01-21 20:38:03.392501103 -0500
@@ -5,8 +5,8 @@
use Moose::Util::TypeConstraints;
use Encode ();
-enum 'Google::Chart::Type::QRcode::Encoding' => qw(shift_jis utf-8 iso-8859-1);
-enum 'Google::Chart::Type::QRcode::ECLevel' => qw(L M Q H);
+enum 'Google::Chart::Type::QRcode::Encoding' => [qw(shift_jis utf-8 iso-8859-1)];
+enum 'Google::Chart::Type::QRcode::ECLevel' => [qw(L M Q H)];
coerce 'Google::Chart::Type::QRcode::Encoding'
=> from 'Str'