- COPYRIGHT AND LICENSE
Chart::GGPlot::Layer - Chart::GGPlot layer
A layer is a combination of data, stat and geom with a potential position adjustment. Usually layers are created using
stat_* calls but it can also be created directly using this class.
The data to be displayed in this layer. If
undef, the default, the data is inherited from the plot data as specified in the call to
Set of aesthetic mappings created by
aes(). If specified and
inherit_aes is true (the default), it's combined with the default mapping at the top level of the plot. You must supply this attribute if there no plot mapping.
The geometric object to use display the data.
The statistical transformation to use on the data for this layer, as a string.
Position adjustment, either as a string, or the result of a call to a position adjust function.
If false, overrides the default aesthetics, rather than combining with them. This is most useful for helper functions that define both data and aesthetics and shouldn't inherit behaviour from the default plot specification.
Additional parameters to the "geom" and "stat".
Should this layer be included in the legends?
undef, includes if any aesthetics are mapped.
A defined true scalar (non-Chart::GGPlot::Aes), never includes.
A defined false scalar (non-Chart::GGPlot::Aes), always includes.
A Chart::GGPlot::Aes object whose values are booleans, to finely
select the aesthetics to display.
Stephan Loyd <email@example.com>
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.