Chart::OFC2::Labels - OFC2 labels object
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' ), ),
has 'labels' => ( is => 'rw', isa => 'ArrayRef', ); has 'colour' => ( is => 'rw', isa => 'Str', );
Object constructor.
Returns HashRef that is possible to give to encode_json() function.
encode_json()
Jozef Kutej
To install Chart::OFC2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Chart::OFC2
CPAN shell
perl -MCPAN -e shell install Chart::OFC2
For more information on module installation, please visit the detailed CPAN module installation guide.