shapelets.apps.DataApp.gauge#
- DataApp.gauge(title: Optional[str] = None, value: Optional[Union[int, float]] = None, **additional) GaugeWidget #
Creates a Gauge.
- Parameters:
- titlestr, optional
Text associated to the Gauge.
- valueint, float, optional
Param to indicate the value of the widget. Must be between [0,1], cause 1 equals 100%.
- Returns:
- Gauge.
Examples
>>> gauge = app.gauge(title='Title', value=0.25)
Bind compatibility
You can bind this widget with this:
int
float
Bindable as
You can bind this widget as:
int
float
string