Search Knowledge Base by Keyword

Show Zero Values

< Back

The Show Zero Values setting is used to enable or disable the displaying of items with zero values on a chart. In the example below, we are creating a pie chart to represent Computers by Type. The Tablet value is not set on the Computer Type data column on any of the Computer records. This setting allows you to either display the unused type in the chart legend or to hide it.

From the Charts tab, you can create charts and either show or hide zero values. To create:

  1. Click the New Chart button to bring up the New Chart wizard
  2. Enter the properties of the new chart

    1. Name – Computers by Type
    2. Source Type – Data Type
    3. Source Table – Primary: Computer
    4. Description – This field was left blank
    5. Chart Type – Pie
    6. Heading Color – Light Blue
    7. Chart Span – Half Width
    8. Chart Position – After: Users by Status
    9. Results to Show – All
    10. Show Zero Values – YES. This will display all values on the chart, regardless of their value being zero.
    11. Show by Default – YES
    12. Display Percentage In Legend – NO
    13. Display First Legend Item Percentage In Chart – NO
    14. Enabled – YES
  3. Select the data columns and filters of the new chart

    1. Data Column – Computer Type
      1. Filter – None selected. This will display all Computer Type values on the chart.
      2. Label – The label was left blank. The field is ignored unless one or more filter values are selected.
      3. Color – Black. The field is ignored unless one or more filter values is selected.
    2. Secondary Filter – Not applicable for this example
  4. Click the Preview Chart button to preview the chart before saving. Click the Close button to exit the chart preview.
  5. Click the Create Chart button when finished to create the chart. You will be redirected back to the Charts tab. Click the Cancel button to cancel the operation.
  6. The Computers by Type pie chart with Show Zero Values set to YES is shown below. Types with zero values are displayed in the chart legend.
  7. The Computers by Type pie chart with Show Zero Values set to NO is shown below. Types with zero values are not displayed in the chart legend.