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.indicator Module

Functions

plotly.graph_objs.indicator.Delta([decreasing=], [font=], [increasing=], [position=], [prefix=], [reference=], [relative=], [suffix=], [valueformat=]) → Delta

Create a new ‘Delta’ object

  • font - Set the font used to display the delta

  • position - Sets the position of delta with respect to the number.

  • prefix - Sets a prefix appearing before the delta.

  • reference - Sets the reference value to compute the delta. By default, it is set to the current value.

  • relative - Show relative change

  • suffix - Sets a suffix appearing next to the delta.

  • valueformat - Sets the 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.


plotly.graph_objs.indicator.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 indicator trace .

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

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

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


plotly.graph_objs.indicator.Gauge([axis=], [bar=], [bgcolor=], [bordercolor=], [borderwidth=], [shape=], [step=], [threshold=]) → Gauge

Create a new ‘Gauge’ object

  • bar - Set the appearance of the gauge's value

  • bgcolor - Sets the gauge background color.

  • bordercolor - Sets the color of the border enclosing the gauge.

  • borderwidth - Sets the width (in px) of the border enclosing the gauge.

  • shape - Set the shape of the gauge


plotly.graph_objs.indicator.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.indicator.Number([font=], [prefix=], [suffix=], [valueformat=]) → Number

Create a new ‘Number’ object

  • font - Set the font used to display main number

  • prefix - Sets a prefix appearing before the number.

  • suffix - Sets a suffix appearing next to the number.

  • valueformat - Sets the 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.


plotly.graph_objs.indicator.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.


plotly.graph_objs.indicator.Title([align=], [font=], [text=]) → Title

Create a new ‘Title’ object

  • align - Sets the horizontal alignment of the title. It defaults to `center` except for bullet charts for which it defaults to right.

  • font - Set the font used to display the title

  • text - Sets the title of this indicator.


plotly.graph_objs.indicator.Transform() → Transform

Create a new ‘Transform’ object


Globals







Do you still have questions?

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


plotly.graph_objs.indicator