Chart::OFC::Dataset::GlassBar - Chart::OFC::Dataset::GlassBar documentation


Chart-OFC documentation Contained in the Chart-OFC distribution.

Index


Code Index:

SYNOPSIS

Top

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

DESCRIPTION

Top

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.

ATTRIBUTES

Top

This class is a subclass of Chart::OFC::Dataset::OutlinedBar and accepts all of that class's attributes. It has no attributes of its own.

ROLES

Top

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


Chart-OFC documentation Contained in the Chart-OFC distribution.

package Chart::OFC::Dataset::GlassBar;
BEGIN {
  $Chart::OFC::Dataset::GlassBar::VERSION = '0.10';
}

use strict;
use warnings;

use Moose;
use MooseX::StrictConstructor;
use Chart::OFC::Types;

extends 'Chart::OFC::Dataset::OutlinedBar';

sub type
{
    return 'bar_glass';
}

no Moose;

__PACKAGE__->meta()->make_immutable();

1;