NAME

Chart::Clicker::Plot

DESCRIPTION

Chart::Clicker::Plot represents the plot of the chart.

SYNOPSIS

METHODS

Constructor

Chart::Clicker::Plot->new($width, $height)

Creates a new Chart::Clicker::Plot.

Class Methods

$width = $p->width($width)

Set/Get the width of the plot.

$height = $p->height($height)

Set/Get the height of the plot.

$flag = $p->draw_markers($flag)

Set/Get the flag that determines if markers are drawn.

$border = $p->border($BORDER)

Set/Get the Border of the Plot.

$bgcolor = $p->background_color($bgcolor)

Set/Get the background color for this Plot

$datasets = $p->datasets(\@datasets);

Set/Get the DataSets for this Chart.

$c->add_range_marker($marker)

Add a marker to the range axis of this plot.

$markers = $c->range_markers(\@markers)

Set/Get this plot's range markers.

$c->add_domain_marker($marker)

Add a marker to the domain axis of this plot.

$markers = $c->domain_markers(\@markers)

Set/Get this plot's domain markers.

$raxes = $p->range_axes()

Get this plot's range axes.

$daxes = $p->domain_axes();

Get this plot's domain axes.

set_range_axis($dataset_index, $axis_index)

Set a DataSet's affinity to a certain range axis.

set_domain_axis($dataset_index, $axis_index)

Set a DataSet's affinity to a certain domain axis.

$ax = $p->get_domain_axis($ds_index)

Get the domain axis for the dataset at the specified index.

$ax = $p->get_range_axis($ds_index)

Get the range axis for the dataset at the specified index.

$grid = $p->grid($grid)

Set/Get this plot's Grid.

$rdr = $p->renderer($rdr)

Set/Get this plot's Renderer.

$c->prepare()

Prepare the chart for drawing.

draw()

AUTHOR

Cory 'G' Watson <gphat@onemogin.com>

SEE ALSO

perl(1)