Modifies any property of the widget.

Syntax
.edit(/dashboard_id/, /widget_id/, /data/)

Arguments
Field nameTypeDescription
dashboard_id
string Dashboard id for the dashboard. 
widge_id
string
Widget id for the dashboard.
data
objectOptions for the new widget.
label
string
A label for the dashboards.
arrangement
array
[optional]
The array of objects with the arrangement of the widget inside the dashboard.
widget_id
string
Id of the widget.
xnumber
Position x of the widget. 1 to 4.
ynumber
Position y of the widget. 1 to 20.
width
number
Width of the widget. 1 to 4.
height
number
Height of the widget. 1 to 20.

Returns {Dict}