The Perl Advent Calendar needs more articles for 2022. Submit your idea today!

NAME

Chart::OFC2::PieValues - OFC2 values for pie charts object

SYNOPSIS

DESCRIPTION

PROPERTIES

    has 'values' => ( is => 'rw', isa => 'ArrayRef', );
    has 'texts'  => ( is => 'rw', isa => 'ArrayRef',  );

METHODS

new()

Object constructor.

_new_from_arrayref

Allow object creation by coerce of ArrayRef.

TO_JSON()

Returns HashRef that is possible to give to encode_json() function.

AUTHOR

Jozef Kutej