Widget#

Attributes#

AttributeDescription
idThe unique identifier for the widget.
sourceThe source for the widget.
periodThe period the widget retrieves data for.
metricThe metric displayed by the widget.
dimensionThe dimension the widget uses for grouping data.
dateCreatedThe timestamp when the widget was created.
dateUpdatedThe timestamp when the widget was last updated.

Methods#

MethodDescription
getData()Retrieves data for the widget using its configured source, metric, and dimension.
setSettings($settings)Updates the settings for the widget.

Previous ← Period Next Custom Source →