NAME
Chart::GGPlot::Built - A processed ggplot that can be rendered
VERSION
version 0.0000_02
DESCRIPTION
This class represents a processed Chart::GGPlot object that can be rendered. A Chart::GGPlot::Backend consumer generates an object of this class as an intermediate form during rendering a Chart::GGPlot object.
METHODS
layer_data
layer_data($i=0)
Helper function that returns the data associated with a given layer. $i
is the index of layer.
my $data = $ggplot->layer_data(0);
layer_scales($self, $i=0, $j=0)
layer_scales($i=0, $j=0)
Helper function that returns the scales associated with a given layer. Returns a hashref of x and y scales for the layer at row $i
and column $j
.
SEE ALSO
Chart::GGPlot, Chart::GGPlot::Backend
AUTHOR
Stephan Loyd <sloyd@cpan.org>
COPYRIGHT AND LICENSE
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.