Pie Chart Widget

General Setting

User can change following things in Pie Chart widget:

  • Name for widget which will be used data reference. For Example, if widget name is 'Pie Chart', then data of widget is referenced as Pie Chart.data

  • Show title - User can show/hide widget title

  • Title Color

  • Background Color

Widget Setting

In Widget Setting option, user can change following parameters:

  • Inner Radius - Integer value for radius of inner circle of pie chart

  • Show Legend - Enable to show legends


User can select a source mode as MQTT or Action.

Using MQTT

Here, to update data on Pie Chart user can publish JSON object on given data MQTT topic. No need to provide <account_id> while providing the MQTT topic. The JSON obejct will be as below.

// Example 

{ "Andrew": 100 ,"John":160 ,"Sam":120}

Using Action

Here, to update the Pie Chart widget, output of the action should contain JSON Object as given in above example. User can also update the widget either onLoad or periodically by providing refresh interval.

Event Handling

Pie Chart widget does not support any event.


Here, data in below format published on configured topic, will appear as shown in image.

// Example

{ "Andrew": 100 ,"John":160 ,"Sam":120}

Last updated