charts are achieved by setting `marker.size` and/or `marker.color` to a numerical arrays.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
y and I want to use it with perl.
=head1 METHODS
=head2 TO_JSON
Serialize the trace to JSON. This method should be called only by L<JSON> serializer.
=head2 type
Trace type.
=head1 ATTRIBUTES
=
The sunburst sectors are determined by the entries in *labels* or *ids* and in *parents*.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
om/plotly/plotly.js/blob/50922a6511b597dc20a68aba1594b2cf84a9c57d/test/image/mocks/sunburst_first.json
my $trace1 = Chart::Plotly::Trace::Sunburst->new(
"labels"=>["Eve", "Cain", "Seth", "En
y and I want to use it with perl.
=head1 METHODS
=head2 TO_JSON
Serialize the trace to JSON. This method should be called only by L<JSON> serializer.
=head2 type
Trace type.
=head1 ATTRIBUTES
=
. The icicle sectors are determined by the entries in *labels* or *ids* and in *parents*.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
:Plot;
use JSON;
use Chart::Plotly::Trace::Icicle;
# Example from https://github.com/plotly/plotly.js/blob/9a57346d35f28a7969beea9e0fc35e13932275c6/test/image/mocks/icicle_coffee.json
my $trace1
'Carbony-Smokey', 'Carbony-Smokey', 'Carbony-Ashy', 'Carbony-Ashy', ], 'pathbar' => {'visible' => JSON::false, }, 'textinfo' => 'label+percent parent', 'ids' => ['Aromas', 'Tastes', 'Aromas-Enzymatic'
# ABSTRACT: This attribute is one of the possible options for the trace choroplethmapbox.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
use JSON;
use Chart::Plotly::Trace::Choroplethmapbox;
# Example from https://github.com/plotly/plotly.js/blob/cb202a8e47631e20555de382d2bbc7393625519b/test/image/mocks/mapbox_choropleth0.json
my
>new({'locations' => ['NY', 'MA', 'VT', ], 'geojson' => 'https://raw.githubusercontent.com/python-visualization/folium/master/examples/data/us-states.json', 'z' => [10, 20, 30, ], });
my $plot =
# ABSTRACT: This attribute is one of the possible options for the trace choroplethmapbox.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
use JSON;
use Chart::Plotly::Trace::Choroplethmapbox;
# Example from https://github.com/plotly/plotly.js/blob/cb202a8e47631e20555de382d2bbc7393625519b/test/image/mocks/mapbox_choropleth0.json
my
>new({'locations' => ['NY', 'MA', 'VT', ], 'geojson' => 'https://raw.githubusercontent.com/python-visualization/folium/master/examples/data/us-states.json', 'z' => [10, 20, 30, ], });
my $plot =
# ABSTRACT: This attribute is one of the possible options for the trace choroplethmapbox.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
use JSON;
use Chart::Plotly::Trace::Choroplethmapbox;
# Example from https://github.com/plotly/plotly.js/blob/cb202a8e47631e20555de382d2bbc7393625519b/test/image/mocks/mapbox_choropleth0.json
my
>new({'locations' => ['NY', 'MA', 'VT', ], 'geojson' => 'https://raw.githubusercontent.com/python-visualization/folium/master/examples/data/us-states.json', 'z' => [10, 20, 30, ], });
my $plot =
P::Request->new( POST => $params{server} );
$req->content_type('application/json');
$req->content( $plot->to_json_text );
my $res = $ua->request($req);
if ( $res->is_success ) {
The data visualized as a point cloud set in `x` and `y` using the WebGl plotting engine.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
y and I want to use it with perl.
=head1 METHODS
=head2 TO_JSON
Serialize the trace to JSON. This method should be called only by L<JSON> serializer.
=head2 type
Trace type.
=head1 ATTRIBUTES
=
The treemap sectors are determined by the entries in *labels* or *ids* and in *parents*.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
use JSON;
use Chart::Plotly::Trace::Treemap;
# Example from https://github.com/plotly/plotly.js/blob/3004a9ac8300f8d8681ba2cdfb9833856a6f37fa/test/image/mocks/treemap_with-without_values.json
my
=> 'center', 'y' => 0, 'x' => 0.17, 'showarrow' => JSON::false, 'text' => '<b>with counted leaves<br>', 'yanchor' => 'top', }, {'showarrow' => JSON::false, 'x' => 0.5, 'yanchor' => 'top', 'text' => '
). By default, increasing candles are drawn in green whereas decreasing are drawn in red.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
y and I want to use it with perl.
=head1 METHODS
=head2 TO_JSON
Serialize the trace to JSON. This method should be called only by L<JSON> serializer.
=head2 type
Trace type.
=head1 ATTRIBUTES
=
ale as its x axis (ie. `scaleanchor: 'x,`) in order for pixels to be rendered as squares.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
::Plot;
use JSON;
use Chart::Plotly::Trace::Image;
# Example from https://github.com/plotly/plotly.js/blob/e86c95b4b2abe646d7ab4e311fcd40cc61f1eaea/test/image/mocks/image_opacity.json
my $trace1
y and I want to use it with perl.
=head1 METHODS
=head2 TO_JSON
Serialize the trace to JSON. This method should be called only by L<JSON> serializer.
=head2 type
Trace type.
=head1 ATTRIBUTES
=
ith respect to a `reference`. Gauges can be either angular or bullet (aka linear) gauges.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
use JSON;
use Chart::Plotly::Trace::Indicator;
# Example from https://github.com/plotly/plotly.js/blob/68c2aefa8ab6af09c598b3739149e2d5e89155d9/test/image/mocks/indicator_grid_template.json
my
ible' => JSON::false, }, }, 'delta' => {'reference' => 60, }, 'value' => 120, });
my $trace2 = Chart::Plotly::Trace::Indicator->new({'value' => 120, 'gauge' => {'axis' => {'visible' => JSON::false,
e charts are achieved by setting `marker.size` and/or `marker.color` to numerical arrays.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
y and I want to use it with perl.
=head1 METHODS
=head2 TO_JSON
Serialize the trace to JSON. This method should be called only by L<JSON> serializer.
=head2 type
Trace type.
=head1 ATTRIBUTES
=
layout x-axis and y-axis attributes for more control over the axis positioning and style.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
y and I want to use it with perl.
=head1 METHODS
=head2 TO_JSON
Serialize the trace to JSON. This method should be called only by L<JSON> serializer.
=head2 type
Trace type.
=head1 ATTRIBUTES
=
e charts are achieved by setting `marker.size` and/or `marker.color` to numerical arrays.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
y and I want to use it with perl.
=head1 METHODS
=head2 TO_JSON
Serialize the trace to JSON. This method should be called only by L<JSON> serializer.
=head2 type
Trace type.
=head1 ATTRIBUTES
=
e charts are achieved by setting `marker.size` and/or `marker.color` to numerical arrays.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
y and I want to use it with perl.
=head1 METHODS
=head2 TO_JSON
Serialize the trace to JSON. This method should be called only by L<JSON> serializer.
=head2 type
Trace type.
=head1 ATTRIBUTES
=
et` attribute. Data `z` is interpreted as matching that of the corresponding carpet axis.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
y and I want to use it with perl.
=head1 METHODS
=head2 TO_JSON
Serialize the trace to JSON. This method should be called only by L<JSON> serializer.
=head2 type
Trace type.
=head1 ATTRIBUTES
=
d the labels are set in `x`. By setting `orientation` to *h*, the roles are interchanged.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
om/plotly/plotly.js/blob/8f8956432ed18368fb6d3f70107b94bbfb39a528/test/image/mocks/waterfall_line.json
my $trace1 = Chart::Plotly::Trace::Scatter->new(
"x"=>[
0,
1,
y and I want to use it with perl.
=head1 METHODS
=head2 TO_JSON
Serialize the trace to JSON. This method should be called only by L<JSON> serializer.
=head2 type
Trace type.
=head1 ATTRIBUTES
=
phase diagram. The data is provided by at least two arrays out of `a`, `b`, `c` triplets.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
y and I want to use it with perl.
=head1 METHODS
=head2 TO_JSON
Serialize the trace to JSON. This method should be called only by L<JSON> serializer.
=head2 type
Trace type.
=head1 ATTRIBUTES
=
of `a` and `b`, or they may be 1D arrays with total length equal to that of `a` and `b`.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
y and I want to use it with perl.
=head1 METHODS
=head2 TO_JSON
Serialize the trace to JSON. This method should be called only by L<JSON> serializer.
=head2 type
Trace type.
=head1 ATTRIBUTES
=