Chart::Clicker::Renderer::HeatMap(3pm)

Chart::Clicker::Renderer::HeatMap3pm

Work in progress

Usage

  my $lr = Chart::Clicker::Renderer::Line->new(
    brush => Graphics::Primitive::Brush->new({
      ...
    })
  });

Overview

Chart::Clicker::Renderer::HeatMap renders a map of values represented by color.

Attributes

color_stops

An arrayref of colors that represent the various "stops" on a map. The default value is green and red, represented as:

  [
    Graphics::Color::RGB->new(red => 0, green => 1, blue => 0),
    Graphics::Color::RGB->new(red => 1, green => 0, blue => 0)
  ]

When sizes are plotted in the map, the color is chosen by generating a gradient between the colors specified in "color_stops".

Methods

Author

Cory G Watson <[email protected]>

License

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

From libchart-clicker-perl 2.65-1 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.