Pie Charts
Create a customized pie chart visualization in Custom Dashboards.
Create a Pie Chart
Drag and drop the Pie Chart widget from the left-hand sidebar to get started.
Set the definitions for your Pie Chart in the right-hand sidebar.
- Name & Description. Create a name and description.
- Load data from. Select whether to load data from Frequent Search or Monitoring.
- Source. Select a data type.
- If the data type chosen is metrics, specify the metric or desired PromQL in the Query field. Use free text to search for a metric of your choice. As you do so, all relevant metrics will appear. Hover over any metric to view its system-generated metadata labels. Hover over a label to see its values.
- When creating a pie chart with metrics as the data type, the categories specified in the PromQL query appear automatically in the Group By field. Within the Group By field, it is possible to reorder the categories by dragging and dropping.
- Drag and drop categories from the Category field into the Stacking field, to stack by a particular category.
- If the data type chosen is logs or spans, you will be directed to select an Aggregation.
- If the data type chosen is metrics, specify the metric or desired PromQL in the Query field. Use free text to search for a metric of your choice. As you do so, all relevant metrics will appear. Hover over any metric to view its system-generated metadata labels. Hover over a label to see its values.
- + ADD FILTER. [Optional] Add a filter to your pie chart.
- As opposed to the dashboard filter in the left-hand sidebar which affects the entire dashboard, this filter only affects the widget.
- The widget and dashboard filters operate in parallel to one another and intersect. If they negate one another, dashboard filters override widget filters.
- Group By. Select up to two fields from the dropdown menu.
- Stack By. Optionally select a field to stack the chart by. This shows you a second layer of data on the table.
- Advanced. Select from the following advanced options:
- Max slices in the chart. Select the maximum number of slices to show in the pie chart.
- Minimum % for size display. Set the minimum percentage required to display a slice
- Unit. Select the units to display in the pie chart.
- Color Scheme. Select the color scheme for your chart. You can choose between seven different color schemes.
- Show Label. Select whether or not to show labels and which labels to show
- Group name. Customize the group name
- Show legend. Select whether or not to show the legend.
[Optional] If you want to save your dashboard for future use, click SAVE in the upper right-hand corner.
[Optional] If needed, customize the chart legend.
Click the ellipsis (…) in the top-right corner of your dashboard and select Legend Settings.
Select legend location (Side, Bottom), and define whether you want it to appear (Show) or stay hidden (Hide).
Set it to Auto to allow the UI to automatically determine the best legend placement. For smaller displays, the legend will appear at the bottom of the widget, while it will be positioned to the side for larger screens.
Hide or show data series.
In your widget legend, select a data series to display it or unselect it to hide. When hidden, the data series is removed from the view, but not from the underlying data.
Choose Select all to display all series or unselect it to hide all of them.
Additional Resources
Documentation | Custom Dashboards Line Charts Data Tables Gauges Bar Charts |
Support
Need help?
Our world-class customer success team is available 24/7 to walk you through your setup and answer any questions that may come up.
Feel free to reach out to us via our in-app chat or by sending us an email at [email protected].