NAME
Chart::GGPlot::ScalesList - Encapsulation multiple scale objects
VERSION
version 0.002003
ATTRIBUTES
scales
Returns an arrayref of Chart::GGPlot::Scale objects.
METHODS
find
find(ArrayRef $aes_names)
find(Str $aes_name)
Returns an arrayref of indices in the scales
attr, for the given aesthetics names.
has_scale
has_scale(ArrayRef $aes_names)
has_scale(Str $aes_name)
length
length()
Size of the scales
attribute.
get_scales
get_scales(ArrayRef $aes_names)
get_scales(Str $aes_name)
Returns the first scale object found.
train_df
train_df($df)
Train scales from a dataframe. Returns an arrayref of scale objects.
map_df
map_df($df)
Map values from a data frame. Returns a new data frame whose columns processed to map to the scales' limits.
SEE ALSO
AUTHOR
Stephan Loyd <sloyd@cpan.org>
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.