Start building

plotly.graph_objs.ohlc Module

Functions

plotly.graph_objs.ohlc.Decreasing([line=]) → Decreasing

Create a new ‘Decreasing’ object


    plotly.graph_objs.ohlc.Hoverlabel([align=], [bgcolor=], [bordercolor=], [font=], [namelength=], [showarrow=], [split=]) → Hoverlabel

    Create a new ‘Hoverlabel’ object

    • align - Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines

    • bgcolor - Sets the background color of the hover labels for this trace

    • bordercolor - Sets the border color of the hover labels for this trace.

    • font - Sets the font used in hover labels.

    • namelength - Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis.

    • showarrow - Sets whether or not to show the hover label arrow/triangle pointing to the data point.

    • split - Show hover information (open, close, high, low) in separate labels, rather than a single unified label. Default: *false*. When set to *true*, `hovertemplate` is ignored.


    plotly.graph_objs.ohlc.Increasing([line=]) → Increasing

    Create a new ‘Increasing’ object


      plotly.graph_objs.ohlc.Legendgrouptitle([font=], [text=]) → Legendgrouptitle

      Create a new ‘Legendgrouptitle’ object

      • font - Sets this legend group's title font.

      • text - Sets the title of the legend group.


      plotly.graph_objs.ohlc.Line([dash=], [width=]) → Line

      Create a new ‘Line’ object

      • dash - Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*). Note that this style setting can also be set per direction via `increasing.line.dash` and `decreasing.line.dash`.

      • width - Sets the line width (in px). Note that this style setting can also be set per direction via `increasing.line.width` and `decreasing.line.width`.


      Globals






      Do you still have questions?

      Our Community Forum is full of helpful information and Anvil experts.

      plotly.graph_objs.ohlc