Live Chat

We'll need to share your messages (and your email address if you're logged in) with our live chat provider, Drift. Here's their privacy policy.

If you don't want to do this, you can email us instead at contact@anvil.works.

plotly.graph_objs.indicator Module

Functions

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

Create a new ‘Delta’ object

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

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

  • relative - Show relative change

  • valueformat - Sets the value formatting rule using d3 formatting mini-language which is similar to those of Python. See https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format

  • font - Set the font used to display the delta


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

Create a new ‘Domain’ object

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

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

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

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


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

Create a new ‘Gauge’ object

  • shape - Set the shape of the gauge

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


plotly.graph_objs.indicator.Number([valueformat=], [font=], [prefix=], [suffix=]) → Number

Create a new ‘Number’ object

  • valueformat - Sets the value formatting rule using d3 formatting mini-language which is similar to those of Python. See https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format

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


plotly.graph_objs.indicator.Stream([token=], [maxpoints=]) → Stream

Create a new ‘Stream’ object

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

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


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

Create a new ‘Title’ object

  • text - Sets the title of this indicator.

  • 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


plotly.graph_objs.indicator.Transform() → Transform

Create a new ‘Transform’ object


Globals






plotly.graph_objs.indicator