Modifies any property of the widget.

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

Arguments

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

Returns {Promise<JSON>}