NAME
Chart::OFC2::Labels - OFC2 labels object
SYNOPSIS
use Chart::OFC2::Labels;
'x_axis' => Chart::OFC2::XAxis->new(
'labels' => [ 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun' ],
),
'x_axis' => Chart::OFC2::XAxis->new(
'labels' => Chart::OFC2::Labels->new(
'labels' => [ 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun' ],
'colour' => '#555555'
),
),
DESCRIPTION
PROPERTIES
has 'labels' => ( is => 'rw', isa => 'ArrayRef', );
has 'colour' => ( is => 'rw', isa => 'Str', );
METHODS
new()
Object constructor.
TO_JSON()
Returns HashRef that is possible to give to encode_json()
function.
AUTHOR
Jozef Kutej