NAME

Chart::ECharts::Base - Base class helper

SYNOPSIS

use Chart::Echarts::Bar;

my $chart = Chart::ECharts::Bar->new;

$chart->category(['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']);
$chart->data('week 1' => [120, 200, 150, 80,  70, 110, 130]);
$chart->data('week 2' => [90,  100, 120, 120, 60, 150, 110]);

$chart->render_html;

DESCRIPTION

Chart::ECharts::Base is a base class for chart helpers:

Chart::ECharts::Bar
Chart::ECharts::Candlestick
Chart::ECharts::Donut
Chart::ECharts::Gauge
Chart::ECharts::Line
Chart::ECharts::Parallel
Chart::ECharts::Pie
Chart::ECharts::Radar
Chart::ECharts::Scatter
Chart::ECharts::StackedBar

METHODS

Chart::ECharts::Base inherits all methods from Chart::ECharts and implements the following new ones.

$chart->data
$chart->build_series
$chart->category

PROPERTIES

$chart->type

Chart type

$chart->default_options

Default chart options

SUPPORT

Bugs / Feature Requests

Please report any bugs or feature requests through the issue tracker at https://github.com/giterlizzi/perl-Chart-ECharts/issues. You will be notified automatically of any progress on your issue.

Source Code

This is open source software. The code repository is available for public review and contribution under the terms of the license.

https://github.com/giterlizzi/perl-Chart-ECharts

git clone https://github.com/giterlizzi/perl-Chart-ECharts.git

AUTHOR

  • Giuseppe Di Terlizzi <gdt@cpan.org>

LICENSE AND COPYRIGHT

This software is copyright (c) 2024 by Giuseppe Di Terlizzi.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.