NAME

Chart::Clicker::Renderer::Line

DESCRIPTION

Chart::Clicker::Renderer::Line renders a dataset as lines.

SYNOPSIS

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

METHODS

additive

If true, the lines are drawn "stacked", each key accumulates based on those drawn below it.

brush

Set/Get a Brush to be used for the lines.

draw_point

Called for each point encountered on the line.

finalize

Draw the actual line chart

shape

Set a shape object to draw at each of the data points.

shape_brush

Set/Get the Brush to be used on the shapes at each point. If no shape_brush is provided, then the shapes will be filled.

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.