Blue-Fez.com Game development, utilities, e-commerce for iOS

Pie

The Pie widget provides a way to segment a total quantity, and show the relative proportions of each segment.
Stacks Image 150

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"
         }
      ]
   }
}

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorised as necessary are stored in your browser as they are essential for the working of basic functionalities of the website.