NAME

Chart::Clicker::Renderer::HeatMap

DESCRIPTION

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

Heat Map

SYNOPSIS

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

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 <gphat@cpan.org>

SEE ALSO

perl(1)

LICENSE

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