NAME
Chart::GGPlot::Aes - Aesthetic mappings
VERSION
version 0.0000_01
DESCRIPTION
This class is used for holding aesthetics data. It inherits Chart::GGPlot::Params to accept various names of same concept, like color/colour/fg, fill/bg, etc.
Unlike Chart::GGPlot::Params, this class has its object keys alphabetically sorted.
CLASS METHODS
check_aesthetics
check_aesthetics($aes, $n=undef)
Checks if all values in the $aes
object are of length $n
or 1
. Dies on check failure. $aes
can be either a Chart::GGPlot::Aes object or a data frame object. If $n
is not specified, it defaults to the max length of values (or columns) of $aes
.
SEE ALSO
Chart::GGPlot::Aes::Functions, Chart::GGPlot::Params
AUTHOR
Stephan Loyd <sloyd@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2018 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.