NAME

Chart::Plotly::Trace::Candlestick

SYNOPSIS

use HTML::Show;
use Chart::Plotly;
use Chart::Plotly::Trace::Candlestick;
my $candlestick = Chart::Plotly::Trace::Candlestick->new(x => [1 .. 5], y => [1 .. 5]);

HTML::Show::show(Chart::Plotly::render_full_html(data => [$candlestick]));

DESCRIPTION

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/#candlestick

DISCLAIMER

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.

METHODS

TO_JSON

Serialize the trace to JSON. This method should be called only by JSON serializer.

type

Trace type.

ATTRIBUTES

  • decreasing

  • high

    Sets the high values.

  • increasing

  • close

    Sets the close values.

  • text

    Sets hover text elements associated with each sample point. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to this trace's sample points.

  • x

    Sets the x coordinates. If absent, linear coordinate will be generated.

  • low

    Sets the low values.

  • open

    Sets the open values.

  • line

  • whiskerwidth

    Sets the width of the whiskers relative to the box' width. For example, with 1, the whiskers are as wide as the box(es).