Chart::OFC::Dataset::3DBar - A dataset represented as 3D bars


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

Index


Code Index:

NAME

Top

Chart::OFC::Dataset::3DBar - A dataset represented as 3D bars

VERSION

Top

version 0.10

SYNOPSIS

Top

  my $bars = Chart::OFC::Dataset::3DBar->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 3D look.

ATTRIBUTES

Top

This class is a subclass of Chart::OFC::Dataset::Bar 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.

AUTHOR

Top

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

Top


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

# critic is on drugs, I guess
package Chart::OFC::Dataset::3DBar;
BEGIN {
  $Chart::OFC::Dataset::3DBar::VERSION = '0.10';
} ## no critic RequireFilenameMatchesPackage

use strict;
use warnings;

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

extends 'Chart::OFC::Dataset::Bar';

sub type
{
    return 'bar_3d';
}

no Moose;

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

1;


# ABSTRACT: A dataset represented as 3D bars




__END__