Dave Rolsky > Chart-OFC-0.12 > Chart::OFC::Dataset::HighLowClose

Download:
Chart-OFC-0.12.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  1
Open  1
View/Report Bugs
Module Version: 0.12   Source  

NAME ^

Chart::OFC::Dataset::HighLowClose - A dataset represented as an hlc line for each value

VERSION ^

version 0.12

SYNOPSIS ^

    my @numbers = ( [ 1, 2, 3 ], [ 3, 2, 1 ] );
    my $hlc = Chart::OFC::Dataset::HighLowClose->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 High-Low-Close 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::Line and accepts all of that class's attributes as well as its own.

values

This dataset accepts an arrayref which in turn contains one or more array references, each of which contains a set of values.

opacity

Sets the opacity of the line.

Defaults to 80.

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)
syntax highlighting: