du.widgets.status

Module implementing an status widget. A status is a 'label: status' pair.

Requires: d3@v4 du.Widget

Status

du.widgets.status.Status(name[, parent])

The status widget class.
argtypedescription
namestringIdentifier of the status widget.
parentobjectParent element to append widget to. If not specified, widget is appended to body. Accepts HTML formatting. optional

value

du.widgets.status.Status.value(text)

Sets the current status value.
argtypedescription
textstringStatus value text.
returndescription
du.widgets.piechart.PieChartReference to the current PieChart.