-
-
06 Feb 2010 15:04:49 UTC
- Distribution: Chart-OFC2
- Module version: 0.07
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (2)
- Testers (323 / 369 / 0)
- Kwalitee
Bus factor: 1- % Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (300.96KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
Chart::OFC2::Extremes - OFC2 axis or chart extremes
SYNOPSIS
use Chart::OFC2::Extremes; has 'extremes' => ( is => 'rw', isa => 'Chart::OFC2::Extremes', default => sub { Chart::OFC2::Extremes->new() }, lazy => 1, ); $self->extremes->reset();
DESCRIPTION
PROPERTIES
has 'x_axis_max' => (is => 'rw', isa => 'Num|Undef', ); has 'x_axis_min' => (is => 'rw', isa => 'Num|Undef', ); has 'y_axis_max' => (is => 'rw', isa => 'Num|Undef', ); has 'y_axis_min' => (is => 'rw', isa => 'Num|Undef', ); has 'other' => (is => 'rw', isa => 'Num|Undef', );
METHODS
new()
Object constructor.
reset($axis_type, $values)
Calculate x or y minimal and maximal values and set (x|y)_axis_(min|max) according.
TO_JSON()
Returns HashRef that is possible to give to
encode_json()
function.AUTHOR
Jozef Kutej
Module Install Instructions
To install Chart::OFC2, copy and paste the appropriate command in to your terminal.
cpanm Chart::OFC2
perl -MCPAN -e shell install Chart::OFC2
For more information on module installation, please visit the detailed CPAN module installation guide.