The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Chart::Clicker::Renderer::Bar - Bar renderer

DESCRIPTION

Chart::Clicker::Renderer::Bar renders a dataset as bars.

Bar Chart

SYNOPSIS

  my $br = Chart::Clicker::Renderer::Bar->new();

NEGATIVE BARS

If you'd like to render both "negative and positive" bars, look at Chart::Clicker::Axis's baseline attribute. Setting it will result in something like this:

Base (Baseline) Chart

ATTRIBUTES

bar_padding

How much padding to put around a bar. A padding of 4 will result in 2 pixels on each side.

bar_width

Allows you to override the calculation that determines the optimal width for bars. Be careful using this as it can making things look terrible. Note that this number is divided evenly between all the values in a series when charting multiple series.

brush

Set/Get the Brush to use around each bar.

opacity

Set/Get the alpha value to make each bar more or less opaque.

AUTHOR

Cory G Watson <gphat@cpan.org>

SEE ALSO

perl(1)

LICENSE

You can redistribute and/or modify this code under the same terms as Perl itself.