my $bars = Chart::OFC::Dataset::OutlinedBar->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 separate outline color. They are styled to give a "glass" look.
This class is a subclass of Chart::OFC::Dataset::Bar and accepts all of that class's attributes. It has one attribute of its own.
Chart::OFC::Dataset::Bar
This is the color used to outline the bar.
Defaults to #000000 (black).
This class does the Chart::OFC::Role::OFCDataLines role.
Chart::OFC::Role::OFCDataLines
To install Chart::OFC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Chart::OFC
CPAN shell
perl -MCPAN -e shell install Chart::OFC
For more information on module installation, please visit the detailed CPAN module installation guide.