Chart::Plotly::Trace::Histogram2d::Colorbar::Title - This attribute is one of the possible options for the trace histogram2d.
version 0.030
use HTML::Show; use Chart::Plotly; use Chart::Plotly::Trace::Histogram2d; my $histogram2d = Chart::Plotly::Trace::Histogram2d->new( x => [ map { int( 10 * rand() ) } ( 1 .. 500 ) ], y => [ map { int( 10 * rand() ) } ( 1 .. 500 ) ] ); HTML::Show::show( Chart::Plotly::render_full_html( data => [$histogram2d] ) );
This attribute is part of the possible options for the trace histogram2d.
This file has been autogenerated from the official plotly.js source.
If you like Plotly, please support them: https://plot.ly/ Open source announcement: https://plot.ly/javascript/open-source-announcement/
Full reference: https://plot.ly/javascript/reference/#histogram2d
This is an unofficial Plotly Perl module. Currently I'm not affiliated in any way with Plotly. But I think plotly.js is a great library and I want to use it with perl.
Serialize the trace to JSON. This method should be called only by JSON serializer.
font
side
Determines the location of color bar's title with respect to the color bar. Note that the title's location used to be set by the now deprecated `titleside` attribute.
text
Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated.
Pablo Rodríguez González <pablo.rodriguez.gonzalez@gmail.com>
This software is Copyright (c) 2019 by Pablo Rodríguez González.
This is free software, licensed under:
The MIT (X11) License
To install Chart::Plotly, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Chart::Plotly
CPAN shell
perl -MCPAN -e shell install Chart::Plotly
For more information on module installation, please visit the detailed CPAN module installation guide.