The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

SYNOPSIS

my @numbers = (1, 2, 3);
my $bars    = Chart::OFC::Dataset::OutlinedBar->new(
    values     => \@numbers,
    opacity    => 60,
    fill_color => 'purple',
    label      => 'Daily Sales in $',
    text_size  => 12,
);

DESCRIPTION

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.

ATTRIBUTES

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.

outline_color

This is the color used to outline the bar.

Defaults to #000000 (black).

ROLES

This class does the Chart::OFC::Role::OFCDataLines role.