shapelets.apps.DataApp.ring#

DataApp.ring(title: Optional[str] = None, value: Optional[Union[int, float]] = None, color: Optional[str] = None, **additional) RingWidget#

Creates a Ring.

Parameters:
titlestr, optional

Text associated to the Ring.

valueint, float, optional

Param to indicate the value of the widget as a percentage

colorstr, optional

Color to display the widget

Returns:
Ring.

Examples

>>> ring = app.ring(title='Title', value=25, color="Red")

Bind compatibility

You can bind this widget with this:

Bindable as

You can bind this widget as:

  • int

  • float

  • string