Number & Objective
If goal is defined in the Numbers widget, it will replace the secondary stat that you provide.
Supported ADD parameters
ADD API
widget_class
- Contains "number_and_objective" for Numbers-widget with a primary metric and a business objective.
{
"title": "Profit",
"description": "Objective bar",
"domain": "M1ZES",
"widget_class": "number_and_objective"
}
Supported SET parameters
SET API
objective
- This parameter describes the primary objective and should be a number.
item
- Item is an array and must contain the primary metric.
value
- This parameter describes the primary metric and should be a number.
{
"domain": "M1ZES",
"widget_data": {
"objective": 10100,
"item":[
{
"value": 15600
}
]
}
}