Chart::OFC::Dataset::FadeBar - A dataset represented as "fade" bars


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

Index


Code Index:

NAME

Top

Chart::OFC::Dataset::FadeBar - A dataset represented as "fade" bars

VERSION

Top

version 0.10

SYNOPSIS

Top

  my $bars = Chart::OFC::Dataset::FadeBar->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 fade towards their end.

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.

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

use strict;
use warnings;

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

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

sub type
{
    return 'bar_fade';
}

no Moose;

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

1;


# ABSTRACT: A dataset represented as "fade" bars




__END__