PIES

Overview

pie

Chart on a Pie or Donut view (Generates a pie chart from an array of data.) Two kinds of pie widgets are available in this category.

The user explicitly selects in the configuration drawer how many angular sectors will be displayed.

If a user configures a sector "Sector 1", choosing property "prop1", and a sector "Sector 2", choosing property "prop2", then upon receiving the following message:

{
  "payload": {
    "prop1": 3,
    "prop2": 6
  }
}

two sectors are displayed. "Sector 1" occupies 33% of the available space, and "Sector 2" takes the remainder.

If a new message arrives with values for prop1 and prop2, then the graph updates with the new values.

Was this article helpful?

Powered by Zendesk