logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Attributes

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>

Description

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

Name

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

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:

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

Synopsis

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

Version

       version 2.90

See Also