Pie
The Pie widget provides a way to segment a total quantity, and show the relative proportions of each segment.
Supported ADD parameters
ADD API
widget_class
- Contains "pie" for Pie-widget.
{
"title": "Sectors",
"description": "Market cap",
"domain": "M1ZES",
"widget_class": "pie"
}
Supported SET parameters
SET API
item
- Item is an array, where the elements represents a slice of the pie. item must contain a minimum of 2 and a maximum of 4 elements.
value
- Represents a proportion of the pie occupied by the slice.
label
- The label parameter will populate the legend for the slice. Minimum 2, maximum 12 characters
{
"domain": "M1ZES",
"widget_data": {
"item": [
{
"value": 75,
"label": "Year 1"
},
{
"value": 25,
"label": "Year 2"
}
]
}
}