Pie Chart Widget Creation

Last updated on 02 November, 2022

Creating a Pie Chart widget is a multistep process, similar to Big Number and Custom Graph widgets:

  1. Select the datapoints you wish to include. These can be datapoint values on a single instance or across multiple instances.
  2. Create virtual datapoints to change units of measure, combine values, or perform a function on the value prior to display, as desired.

Note: As with other widgets, you can select individual Groups, Resources, or Instances, or use glob expressions to include many. You can also add multiple values of the same unit of measure together to create a single value.

  1. Select which values display in the Pie Chart widget. This allows you to use virtual datapoints, which may rely on a datapoint that does not display individually in the widget.

After you configure a pie chart widget, it displays on the dashboard along with the legends. Legends are displayed in the following ways:

  • When you hover over a pie slice
  • At the bottom of the widget under the pie
  • As a label on the pie chart

Datapoint Types

The data displayed in the pie chart comes from a set of intersections between individual instances and a single datapoint. Select multiple instances individually or use a glob to select them all at once. You can provide filters for groups and resources to find the exact instances you need.

You can choose the following types of datapoints:

Datapoint TypeDescription
DatapointThis datapoint type is the raw datapoint value. If multiple instances are included, you can choose to only display:
– The top ten values: Up to 10 items will be calculated among the total 100% of the pie. The sum of values of those 10 will act as a basis for 100%, and each slice will be shown with a percentage relative to that total.
– An aggregate of the values as Max, Min, or Sum: This will be one value calculated as part of the 100% of the pie.
– All values
Virtual DatapointThis type of datapoint is a calculation involving multiple datapoint values from a datasource.
Resource CountThis datapoint returns the number of resources that matches any AppliesTo expression. For more information, see AppliesTo expression.

Creating a Pie Chart Widget

  1. Select the Pie Chart widget. For more information, see Selecting a Widget.
  2. Complete the Basic Information fields. For more information, see Standard Widget Configurations.
  3. In the Datapoints settings, select + Add Record.
  4. Select the type of datapoint to be added, and then begin adding datapoints. For more information, see Datapoint Types and Configuring Datapoints.

Warning: A specific datapoint must be selected and you must add at least one datapoint for pie items to display.

  1. After adding all the datapoints, select Apply.
  2. In the Record Name field, enter a name to identify the datapoint(s) by.

Note: The Record Name is a unique identifier for the datapoint(s) that can be used to create the Pie Chart legends and virtual datapoints.

  1. In the Legend field, enter a name for the pie item to be identified by in the widget legend.

Note: Insert a token in the Legend field to display labels derived from the tokens defined on the dashboard or dashboard group in which the widget resides. Tokens are inherited from the dashboard or dashboard group, so moving a widget can change the value of the resolved tokens.

  1. In the Color field, select one of the following options:
    • Auto-assigned color: LogicMonitor automatically assigns colors.
    • A specific color: For a multi-instance datapoint the same color displays for each datapoint and is separated by slice markers.
  2. Select Apply.
  3. Configure Display Settings:
    • To show the legends as labels connected to the pie chart with lines, select Show Label and Lines On Pie Chart.
    • To hide any datapoints that are 0% of the total on the pie chart, select Hide 0% Items.
  4. Configure pie Slice Limit settings:
    • To show all slices in the pie chart, select Show all (up to 25).
    • To show a specific amount of slices in the pie chart, select a specific number of pie slices from the Number of Selections dropdown, and then choose whether to Group Remaining (If Any) As Others.
  1. Select a Widget Color Schema. For more information, see Standard Widget Configurations.
  2. To preview the widget before saving, select Preview in the top right of the widget form.
  3. Select Save to save the widget to your dashboard.
In This Article