Chart-GGPlot
view release on metacpan or search on metacpan
lib/Chart/GGPlot/Geom/Blank.pm view on Meta::CPAN
package Chart::GGPlot::Geom::Blank;
# ABSTRACT: Class for blank geom
use Chart::GGPlot::Class;
use namespace::autoclean;
use MooseX::Singleton;
our $VERSION = '0.002003'; # VERSION
with qw(Chart::GGPlot::Geom);
use Chart::GGPlot::Layer;
my $geom_blank_pod = '';
my $geom_blank_code = fun (
:$mapping = undef, :$data = undef,
:$stat = "identity", :$position = "identity",
:$show_legend = undef, :$inherit_aes = true,
%rest )
{
return Chart::GGPlot::Layer->new(
data => $data,
mapping => $mapping,
stat => $stat,
position => $position,
show_legend => $show_legend,
inherit_aes => $inherit_aes,
check_aes => false,
geom => 'blank',
params => \%rest,
);
};
classmethod ggplot_functions() {
return [
{
name => 'geom_blank',
code => $geom_blank_code,
pod => $geom_blank_pod,
}
];
}
method handle_na ( $data, $params ) { $data; }
__PACKAGE__->meta->make_immutable();
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
Chart::GGPlot::Geom::Blank - Class for blank geom
=head1 VERSION
version 0.002003
=head1 SEE ALSO
L<Chart::GGPlot::Geom>
=head1 AUTHOR
Stephan Loyd <sloyd@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2019-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.
=cut
( run in 0.558 second using v1.01-cache-2.11-cpan-39bf76dae61 )