DOKK / manpages / debian 11 / libchart-clicker-perl / Chart::Clicker::Renderer::Bar.3pm.en
Chart::Clicker::Renderer::Bar(3pm) User Contributed Perl Documentation Chart::Clicker::Renderer::Bar(3pm)

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

version 2.90

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

Chart::Clicker::Renderer::Bar renders a dataset as 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:

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

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.

Set/Get the brush to use around each bar.

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

Cory G Watson <gphat@cpan.org>

This software is copyright (c) 2016 by Cory G Watson.

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

2016-12-28 perl v5.24.1