NAME

Chart::OFC::Dataset::Candle - A dataset represented as a candle for each value

VERSION

version 0.12

SYNOPSIS

my @numbers = ( [ 1, 2, 3 ], [ 3, 2, 1 ] );
my $candle = Chart::OFC::Dataset::Candle->new(
    values    => \@numbers,
    width     => 5,
    color     => 'purple',
    label     => 'Daily Sales in $',
    text_size => 12,
    opacity   => 80,
);

DESCRIPTION

This class contains values to be charted as candle points on a grid chart.

ATTRIBUTES

This class has several attributes which may be passed to the new() method.

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

ROLES

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

AUTHOR

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2014 by Dave Rolsky.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)