GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing plotly.com — plotly.graph_objects.Indicator — 7.1.0 documentation
|
plotly.graph_objects.indicator.Delta(arg=None, decreasing=None, font=None, increasing=None, position=None, prefix=None, reference=None, relative=None, suffix=None, valueformat=None, **kwargs)¶decreasing¶The ‘decreasing’ property is an instance of Decreasing that may be specified as:
An instance of
plotly.graph_objects.indicator.delta.DecreasingA dict of string/value properties that will be passed to the Decreasing constructor
font¶Set the font used to display the delta
The ‘font’ property is an instance of Font that may be specified as:
An instance of
plotly.graph_objects.indicator.delta.FontA dict of string/value properties that will be passed to the Font constructor
increasing¶The ‘increasing’ property is an instance of Increasing that may be specified as:
An instance of
plotly.graph_objects.indicator.delta.IncreasingA dict of string/value properties that will be passed to the Increasing constructor
position¶Sets the position of delta with respect to the number.
[‘top’, ‘bottom’, ‘left’, ‘right’]
Any
prefix¶Sets a prefix appearing before the delta.
A string
A number that will be converted to a string
reference¶Sets the reference value to compute the delta. By default, it is set to the current value.
An int or float
int|float
relative¶Show relative change
A boolean value: True or False
suffix¶Sets a suffix appearing next to the delta.
A string
A number that will be converted to a string
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.
A string
A number that will be converted to a string
plotly.graph_objects.indicator.Domain(arg=None, column=None, row=None, x=None, y=None, **kwargs)¶column¶If there is a layout grid, use the domain for this column in the grid for this indicator trace.
An int (or float that will be cast to an int) in the interval [0, 9223372036854775807]
row¶If there is a layout grid, use the domain for this row in the grid for this indicator trace.
An int (or float that will be cast to an int) in the interval [0, 9223372036854775807]
x¶fraction).
The ‘x’ property is an info array that may be specified as:
a list or tuple of 2 elements where:
An int or float in the interval [0, 1]
An int or float in the interval [0, 1]
list
y¶fraction).
The ‘y’ property is an info array that may be specified as:
a list or tuple of 2 elements where:
An int or float in the interval [0, 1]
An int or float in the interval [0, 1]
list
plotly.graph_objects.indicator.Gauge(arg=None, axis=None, bar=None, bgcolor=None, bordercolor=None, borderwidth=None, shape=None, steps=None, stepdefaults=None, threshold=None, **kwargs)¶axis¶The ‘axis’ property is an instance of Axis that may be specified as:
An instance of
plotly.graph_objects.indicator.gauge.AxisA dict of string/value properties that will be passed to the Axis constructor
bar¶Set the appearance of the gauge’s value
The ‘bar’ property is an instance of Bar that may be specified as:
An instance of
plotly.graph_objects.indicator.gauge.BarA dict of string/value properties that will be passed to the Bar constructor
bgcolor¶Sets the gauge background color.
hex or short hex (e.g. ‘#d3d3d3’, ‘#d3d’)
hex or short hex with alpha (e.g. ‘#d3d3d380’, ‘#d3d8’)
rgb (e.g. ‘rgb(255, 0, 0)’, ‘rgb(255 0 0)’)
rgba (e.g. ‘rgba(255, 0, 0, 0.5)’, ‘rgba(255 0 0 / 0.5)’)
hsl (e.g. ‘hsl(0, 100%, 50%)’, ‘hsl(0deg 100% 50%)’)
hsla (e.g. ‘hsla(0, 100%, 50%, 0.5)’, ‘hsla(0deg 100% 50% / 0.5)’)
hwb (e.g. ‘hwb(0 0% 100%)’)
lab/lch/oklab/oklch (e.g. ‘oklch(0.7 0.15 180)’)
color (e.g. ‘color(display-p3 1 0 0)’)
named colors (full list: https://www.w3.org/TR/css-color-4/#named-color)
Any other supported CSS 4 color format: https://www.w3.org/TR/css-color-4/
bordercolor¶Sets the color of the border enclosing the gauge.
hex or short hex (e.g. ‘#d3d3d3’, ‘#d3d’)
hex or short hex with alpha (e.g. ‘#d3d3d380’, ‘#d3d8’)
rgb (e.g. ‘rgb(255, 0, 0)’, ‘rgb(255 0 0)’)
rgba (e.g. ‘rgba(255, 0, 0, 0.5)’, ‘rgba(255 0 0 / 0.5)’)
hsl (e.g. ‘hsl(0, 100%, 50%)’, ‘hsl(0deg 100% 50%)’)
hsla (e.g. ‘hsla(0, 100%, 50%, 0.5)’, ‘hsla(0deg 100% 50% / 0.5)’)
hwb (e.g. ‘hwb(0 0% 100%)’)
lab/lch/oklab/oklch (e.g. ‘oklch(0.7 0.15 180)’)
color (e.g. ‘color(display-p3 1 0 0)’)
named colors (full list: https://www.w3.org/TR/css-color-4/#named-color)
Any other supported CSS 4 color format: https://www.w3.org/TR/css-color-4/
borderwidth¶Sets the width (in px) of the border enclosing the gauge.
An int or float in the interval [0, inf]
int|float
shape¶Set the shape of the gauge
[‘angular’, ‘bullet’]
Any
stepdefaults¶When used in a template (as layout.template.data.indicator.gauge.stepdefaults), sets the default property values to use for elements of indicator.gauge.steps
The ‘stepdefaults’ property is an instance of Step that may be specified as:
An instance of
plotly.graph_objects.indicator.gauge.StepA dict of string/value properties that will be passed to the Step constructor
steps¶The ‘steps’ property is a tuple of instances of Step that may be specified as:
A list or tuple of instances of plotly.graph_objects.indicator.gauge.Step
A list or tuple of dicts of string/value properties that will be passed to the Step constructor
threshold¶The ‘threshold’ property is an instance of Threshold that may be specified as:
An instance of
plotly.graph_objects.indicator.gauge.ThresholdA dict of string/value properties that will be passed to the Threshold constructor
plotly.graph_objects.indicator.Legendgrouptitle(arg=None, font=None, text=None, **kwargs)¶font¶Sets this legend group’s title font.
The ‘font’ property is an instance of Font that may be specified as:
An instance of
plotly.graph_objects.indicator.legendgrouptitle.FontA dict of string/value properties that will be passed to the Font constructor
plotly.graph_objects.indicator.Number(arg=None, font=None, prefix=None, suffix=None, valueformat=None, **kwargs)¶font¶Set the font used to display main number
The ‘font’ property is an instance of Font that may be specified as:
An instance of
plotly.graph_objects.indicator.number.FontA dict of string/value properties that will be passed to the Font constructor
prefix¶Sets a prefix appearing before the number.
A string
A number that will be converted to a string
suffix¶Sets a suffix appearing next to the number.
A string
A number that will be converted to a string
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.
A string
A number that will be converted to a string
plotly.graph_objects.indicator.Title(arg=None, align=None, font=None, text=None, **kwargs)¶align¶Sets the horizontal alignment of the title. It defaults to
center except for bullet charts for which it defaults to
right.
[‘left’, ‘center’, ‘right’]
Any
font¶Set the font used to display the title
The ‘font’ property is an instance of Font that may be specified as:
An instance of
plotly.graph_objects.indicator.title.FontA dict of string/value properties that will be passed to the Font constructor