NAME
Chart::Plotly::Trace::Ohlc
SYNOPSIS
use HTML::Show;
use Chart::Plotly;
use Chart::Plotly::Trace::Ohlc;
my $ohlc = Chart::Plotly::Trace::Ohlc->new(x => [1 .. 5], y => [1 .. 5]);
HTML::Show::show(Chart::Plotly::render_full_html(data => [$ohlc]));
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/#ohlc
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
increasing
tickwidth
Sets the width of the open/close tick marks relative to the *x* minimal interval.
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.
high
Sets the high values.
decreasing
x
Sets the x coordinates. If absent, linear coordinate will be generated.
line
open
Sets the open values.
low
Sets the low values.