ERSION
# ABSTRACT: This attribute is one of the possible options for the trace barpolar.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
m/plotly/plotly.js/blob/235fe5b214a576d5749ab4c2aaf625dbf7138d63/test/image/mocks/polar_wind-rose.json
my $trace1 = Chart::Plotly::Trace::Barpolar->new(
r => [ 77.5, 72.5, 70.0, 45.0,
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.
=head1 ATTRIBUTES
=over
=item * autocolorsca
ERSION
# ABSTRACT: This attribute is one of the possible options for the trace barpolar.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
m/plotly/plotly.js/blob/235fe5b214a576d5749ab4c2aaf625dbf7138d63/test/image/mocks/polar_wind-rose.json
my $trace1 = Chart::Plotly::Trace::Barpolar->new(
r => [ 77.5, 72.5, 70.0, 45.0,
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.
=head1 ATTRIBUTES
=over
=item * marker
=ite
# 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 =
VERSION
# ABSTRACT: This attribute is one of the possible options for the trace sankey.
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.
=head1 ATTRIBUTES
=over
=item * description
`x` or auto-generated). By setting `transpose` to *true*, the above behavior is flipped.
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 colors are set in `nodes[i].color` and `links[i].color`, otherwise defaults are used.
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
=
`z`. The geographic locations corresponding to each value in `z` are set in `locations`.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
umentation =>
"Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Only has an effect when `geojson` is set. Support nested property, for e
to `layout.geo2`, and so on.",
);
has geojson => (
is => "rw",
isa => "Any",
documentation =>
"Sets optional GeoJSON data associated with this trace. If not gi
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 =
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
=
ge. See also the "funnel" trace type for a different approach to visualizing funnel data.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
t;
use JSON;
use Chart::Plotly::Trace::Funnelarea;
# Example from https://github.com/plotly/plotly.js/blob/a9625b6466cdd41c7c686e7dc516171c6eae52ac/test/image/mocks/funnelarea_simple.json
my $tr
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
=
which should be a {2D array}, where its bounds can be controlled using `cmin` and `cmax`.
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
=
analysis. The samples are specified in `dimensions`. The colors are set in `line.color`.
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
=
That violin position is then positioned with with `name` or with `x0` (`y0`) if provided.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
e => JSON::true }
);
my $violin2 = Chart::Plotly::Trace::Violin->new(
x => $x,
y => [ map {rand()} (1 .. (scalar(@$x))) ],
name => "Violin2",
box => { visible => JSON::tru
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
=
on a Mapbox GL geographic map is provided by longitude/latitude pairs in `lon` and `lat`.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
->new( traces => [$scattermapbox],
layout => { autosize => JSON::true,
hovermode => 'closest',
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
=
# VERSION
# ABSTRACT: The data visualized by the radial span of the bars is set in `r`
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
m/plotly/plotly.js/blob/235fe5b214a576d5749ab4c2aaf625dbf7138d63/test/image/mocks/polar_wind-rose.json
my $trace1 = Chart::Plotly::Trace::Barpolar->new(
r => [ 77.5, 72.5, 70.0, 45.0,
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
=
set by `x` and `y` in this case). The resulting distribution is visualized as a heatmap.
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
=
ues`. The sector labels are set in `labels`. The sector colors are set in `marker.colors`
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
=
rs in `lon` and `lat` respectively or by geographic location IDs or names in `locations`.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
umentation =>
"Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Only has an effect when `geojson` is set. Support nested property, for e
to `layout.geo2`, and so on.",
);
has geojson => (
is => "rw",
isa => "Any",
documentation =>
"Sets optional GeoJSON data associated with this trace. If not gi
Projections are achieved via `projection`. Surface fills are achieved via `surfaceaxis`.
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
=
on cartesian features and using regl framework. WebGL version of the heatmap trace type.
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
=