You are currently viewing the new Anvil Editor Docs.
Switch to the Classic Editor Docs
You are currently viewing the Classic Editor Docs.
Switch to the new Anvil Editor Docs

plotly.graph_objs.table Module

Functions

plotly.graph_objs.table.Cells([align=], [alignsrc=], [fill=], [font=], [format=], [formatsrc=], [height=], [line=], [prefix=], [prefixsrc=], [suffix=], [suffixsrc=], [values=], [valuessrc=]) → Cells

Create a new ‘Cells’ object

  • align - Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width.

  • alignsrc - Sets the source reference on Chart Studio Cloud for `align`.

  • format - Sets the cell value formatting rule using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format.

  • formatsrc - Sets the source reference on Chart Studio Cloud for `format`.

  • height - The height of cells.

  • prefix - Prefix for cell values.

  • prefixsrc - Sets the source reference on Chart Studio Cloud for `prefix`.

  • suffix - Suffix for cell values.

  • suffixsrc - Sets the source reference on Chart Studio Cloud for `suffix`.

  • values - Cell values. `values[m][n]` represents the value of the `n`th point in column `m`, therefore the `values[m]` vector length for all columns must be the same (longer vectors will be truncated). Each value must be a finite number or a string.

  • valuessrc - Sets the source reference on Chart Studio Cloud for `values`.


plotly.graph_objs.table.Domain([column=], [row=], [x=], [y=]) → Domain

Create a new ‘Domain’ object

  • column - If there is a layout grid, use the domain for this column in the grid for this table trace .

  • row - If there is a layout grid, use the domain for this row in the grid for this table trace .

  • x - Sets the horizontal domain of this table trace (in plot fraction).

  • y - Sets the vertical domain of this table trace (in plot fraction).


plotly.graph_objs.table.Header([align=], [alignsrc=], [fill=], [font=], [format=], [formatsrc=], [height=], [line=], [prefix=], [prefixsrc=], [suffix=], [suffixsrc=], [values=], [valuessrc=]) → Header

Create a new ‘Header’ object

  • align - Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width.

  • alignsrc - Sets the source reference on Chart Studio Cloud for `align`.

  • format - Sets the cell value formatting rule using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format.

  • formatsrc - Sets the source reference on Chart Studio Cloud for `format`.

  • height - The height of cells.

  • prefix - Prefix for cell values.

  • prefixsrc - Sets the source reference on Chart Studio Cloud for `prefix`.

  • suffix - Suffix for cell values.

  • suffixsrc - Sets the source reference on Chart Studio Cloud for `suffix`.

  • values - Header cell values. `values[m][n]` represents the value of the `n`th point in column `m`, therefore the `values[m]` vector length for all columns must be the same (longer vectors will be truncated). Each value must be a finite number or a string.

  • valuessrc - Sets the source reference on Chart Studio Cloud for `values`.


plotly.graph_objs.table.Hoverlabel([align=], [alignsrc=], [bgcolor=], [bgcolorsrc=], [bordercolor=], [bordercolorsrc=], [font=], [namelength=], [namelengthsrc=]) → 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

  • alignsrc - Sets the source reference on Chart Studio Cloud for `align`.

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

  • bgcolorsrc - Sets the source reference on Chart Studio Cloud for `bgcolor`.

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

  • bordercolorsrc - Sets the source reference on Chart Studio Cloud for `bordercolor`.

  • 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.

  • namelengthsrc - Sets the source reference on Chart Studio Cloud for `namelength`.


plotly.graph_objs.table.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.table.Stream([maxpoints=], [token=]) → Stream

Create a new ‘Stream’ object

  • maxpoints - Sets the maximum number of points to keep on the plots from an incoming stream. If `maxpoints` is set to *50*, only the newest 50 points will be displayed on the plot.

  • token - The stream id number links a data trace on a plot with a stream. See https://chart-studio.plotly.com/settings for more details.


Globals






Do you still have questions?

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


plotly.graph_objs.table