NAME
Chart::OFC2::ToolTip - OFC2 tool tip settings object
SYNOPSIS
use Chart::OFC2;
use Chart::OFC2::Tooltip;
my $tooltip = Chart::OFC2::ToolTip->new(
'mouse' => 2,
'shadow' => 0,
'stroke' => 5,
'colour' => '#6E604F',
'background' => '#BDB396',
'title' => '{font-size: 14px; color: #CC2A43;}',
'body' => '{font-size: 10px; font-weight: bold; color: #000000;}',
);
DESCRIPTION
OFC2 tooltip settings.
PROPERTIES
has 'mouse' => (is => 'rw', isa => 'Int',);
has 'shadow' => (is => 'rw', isa => 'Bool', );
has 'stroke' => (is => 'rw', isa => 'Int',);
has 'colour' => (is => 'rw', isa => 'Str',);
has 'background' => (is => 'rw', isa => 'Str',);
has 'title' => (is => 'rw', isa => 'Str',);
has 'body' => (is => 'rw', isa => 'Str',);
METHODS
new()
Object constructor.
TO_JSON()
Returns HashRef that is possible to give to encode_json()
function.
AUTHOR
Jozef Kutej