Dave Rolsky > Chart-OFC-0.09 > Chart::OFC::Dataset::Candle

Download:
Chart-OFC-0.09.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View Bugs
Report a bug
Source  

NAME ^

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

SYNOPSIS ^

  my @numbers = ( [ 1, 2, 3 ], [ 3, 2, 1 ] );

  my $hlc =
      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.

COPYRIGHT & LICENSE ^

Copyright 2007-2008 Dave Rolsky, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.