John Goulah > Chart-OFC2-0.05 > Chart::OFC2::Bar

Download:
Chart-OFC2-0.05.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.05   Source   Latest Release: Chart-OFC2-0.08_02

NAME ^

Chart::OFC2::Bar - OFC2 bar chart

SYNOPSIS ^

    use Chart::OFC2;
    use Chart::OFC2::Axis;
    use Chart::OFC2::Bar;
    
    my $chart = Chart::OFC2->new(
        'title'  => 'Bar chart test',
        'x_axis' => Chart::OFC2::XAxis->new(
            'labels' => [ 'Jan', 'Feb', 'Mar', 'Apr', 'May' ],
        ),
        'y_axis' => {
            'max' => 'a',
            'min' => 'a',
        },
    );
    
    my $bar = Chart::OFC2::Bar->new();
    $bar->values([ 1..5 ]);
    $chart->add_element($bar);

    print $chart->render_chart_data();

DESCRIPTION ^

        extends 'Chart::OFC2::BarLineBase';

PROPERTIES ^

        has '+type_name' => (default => 'bar');

Chart::OFC2::Bar::3D ^

3D bar chart

        extends 'Chart::OFC2::Bar';

PROPERTIES ^

        has '+type_name' => (default => 'bar_3d');

Chart::OFC2::Bar::Fade ^

Fade bar chart

        extends 'Chart::OFC2::Bar';

PROPERTIES ^

        has '+type_name' => (default => 'bar_fade');

Chart::OFC2::Bar::Glass ^

Glass bar chart

        extends 'Chart::OFC2::Bar';

PROPERTIES ^

        has '+type_name' => (default => 'bar_glass');

Chart::OFC2::Bar::Sketch ^

Sketch bar chart

        extends 'Chart::OFC2::Bar';

PROPERTIES ^

        has '+type_name' => (default => 'bar_sketch');

Chart::OFC2::Bar::Filled ^

Filled bar chart

        extends 'Chart::OFC2::Bar';

PROPERTIES ^

        has '+type_name'     => (default => 'bar_filled');
        has 'outline_collor' => (is => 'rw', isa => 'Str',);

Chart::OFC2::Bar::Stack ^

Stack bar chart

        extends 'Chart::OFC2::Bar';

PROPERTIES ^

        has '+type_name' => (default => 'bar_stack');
        has 'text'       => (is => 'rw', isa => 'Str',);
syntax highlighting: