- CLASS METHODS
- SEE ALSO
- COPYRIGHT AND LICENSE
Chart::GGPlot::Aes - Aesthetic mappings
This class 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.
It is designed for holding aesthetics-specific data. It can usually be used in either of below two ways:
Created by the
For specifying how the aesthetics, like x/y variables (column names), colors, etc., are mapped to data in your data frame input to
Used only for its key alias feature.
Checks if all values in the
$aes object are of length
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
Stephan Loyd <firstname.lastname@example.org>
This software is copyright (c) 2019 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.