Values.WidgetSourceA configurable visualization component within a dashboard that displays specific cost and usage metrics. Each widget can show data as charts or tables and includes settings for data querying, filtering, and visual presentation.
type nonrec t = {id : WidgetId.t option;The unique identifier for the widget.
*)title : WidgetTitle.t;The title of the widget.
*)description : Description.t option;A description of the widget's purpose or the data it displays.
*)width : WidgetWidth.t option;The width of the widget in column spans. The dashboard layout consists of a grid system.
*)height : WidgetHeight.t option;The height of the widget in row spans. The dashboard layout consists of a grid system.
*)horizontalOffset : Integer.t option;Specifies the starting column position of the widget in the dashboard's grid layout. Used to control widget placement.
*)configs : WidgetConfigList.t;An array of configurations that define the data queries and display settings for the widget.
*)}val make :
?id:??? ->
?description:??? ->
?width:??? ->
?height:??? ->
?horizontalOffset:??? ->
title:WidgetTitle.t ->
configs:WidgetConfigList.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Integer of WidgetWidth.t
| `List of
[> `Structure of
(string
* [> `Structure of
(string
* [> `Map of
([> `String of GenericString.t ]
* [> `Structure of
(string * [> `Enum of string ]) list ])
list
| `Structure of (string * Awso.Botodata.value) list ])
list ])
list ]
list
| `String of WidgetId.t ])
list ]