NAME

Chart::GGPlot::Backend::Plotly::Geom - Role for geom-specific details with the Plotly backend

VERSION

version 0.0000_01

METHODS

use_webgl

use_webgl($df)

Returns a boolean value for whether or not to use webgl, like for scatter plots. Now it decides by comparing the data count in $df against module variable $WEBGL_THRESHOLD. The variable can be adjusted by like,

$Chart::GGPlot::Backend::Plotly::WEBGL_THRESHOLD = 2000;

to_trace

to_trace($df, %rest)

This shall be implemented by consumers of this role.

make_hovertext

make_hovertext($df, $aes_names)

SEE ALSO

Chart::GGPlot::Backend::Plotly

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.