| Chart-OFC documentation | Contained in the Chart-OFC distribution. |
Chart::OFC::Dataset::3DBar - A dataset represented as 3D bars
version 0.10
my $bars = Chart::OFC::Dataset::3DBar->new( values => \@numbers,
opacity => 60,
fill_color => 'purple',
label => 'Daily Sales in $',
text_size => 12,
);
This class contains values to be charted as bars on a grid chart. The bars are filled with the specified color and have a 3D look.
This class is a subclass of Chart::OFC::Dataset::Bar and accepts
all of that class's attributes. It has no attributes of its own.
This class does the Chart::OFC::Role::OFCDataLines role.
Dave Rolsky <autarch@urth.org>
This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
| Chart-OFC documentation | Contained in the Chart-OFC distribution. |
# critic is on drugs, I guess package Chart::OFC::Dataset::3DBar; BEGIN { $Chart::OFC::Dataset::3DBar::VERSION = '0.10'; } ## no critic RequireFilenameMatchesPackage use strict; use warnings; use Moose; use MooseX::StrictConstructor; use Chart::OFC::Types; extends 'Chart::OFC::Dataset::Bar'; sub type { return 'bar_3d'; } no Moose; __PACKAGE__->meta()->make_immutable(); 1; # ABSTRACT: A dataset represented as 3D bars
__END__