Dave Rolsky > Chart-OFC-0.12 > Chart::OFC::Dataset::OutlinedBar

Download:
Chart-OFC-0.12.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  1
Open  1
View/Report Bugs
Module Version: 0.12   Source  

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.

syntax highlighting: