Chart::Kaleido - Base class for Chart::Kaleido
version 0.014
use Chart::Kaleido::Plotly;
use JSON;
my $data = decode_json(<<'END_OF_TEXT');
{ "data": [{"y": [1,2,1]}] }
END_OF_TEXT
my $kaleido = Chart::Kaleido::Plotly->new();
$kaleido->save( file => "foo.png", plot => $data,
width => 1024, height => 768 );
This is base class that wraps plotly's kaleido command. Instead of this class you would mostly want to use its subclass like Chart::Kaleido::Plotly.
https://github.com/plotly/Kaleido
Chart::Kaleido::Plotly, Alien::Plotly::Kaleido
Stephan Loyd sloyd@cpan.org
Gabor Szabo gabor@szabgab.com
This software is copyright (c) 2020-2023 by Stephan Loyd.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.