---
name: "Chart::Clicker::Renderer::Line"
section: "3pm"
platform: "linux"
package: "libchart-clicker-perl"
version: "2.90-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Chart::Clicker::Renderer::Line"
---

# Chart::Clicker::Renderer::Line(3pm)

Line renderer

## NAME

Chart::Clicker::Renderer::Line - Line renderer

## VERSION

version 2.90

## SYNOPSIS

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

## DESCRIPTION

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

## ATTRIBUTES

### 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.

### shape

Set a shape object to draw at each of the data points.  Adding a shape results in:

### 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. The brush allows you to draw a "halo" around each shape.  This sometimes help to separate the points from the lines and make them more distinct.

## METHODS

### draw\_point

Called for each point encountered on the line.

## AUTHOR

Cory G Watson \<gphat@cpan.org\>

## COPYRIGHT AND LICENSE

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.
