Add and configure a pie, bar, or column chart gadget
A chart gadget graphically displays the values of one of more attributes for a feature. For example, a pie chart might depict the breakdown of population by gender for a layer of US states with census information.
A column or bar chart might display the breakdown of population by age group.
When a single feature is depicted, that feature's value for the source attribute is considered when compared to the target. In cases where more than one feature is selected, an aggregate of the values of the source attribute across the features is compared against the target. This aggregate can be any one of the following:
- The average value across the features
- The sum total of the values of all the features
- The minimum of the values of all the features
- The maximum of the values of all the features
To add a pie chart gadget
- On the Dashboard panel, click the Add button (+). The Add Dashboard Gadget dialog box appears.
- Click the Gadget drop-down arrow and choose Pie Chart.
- Click the Layer drop-down arrow, choose the layer whose values will be displayed by the gadget, then click OK.
- On the Configure Pie Chart dialog box, specify the properties for your gadget
- In the Title box, type a title that will be displayed above the gadget.
- In the Caption box, type a caption that will be displayed below the gadget.
- Click the Name Field drop-down arrow and select an attribute field that will be displayed above the gadget when it represents the values for a single feature.
- In the Value Fields list, check the attribute fields whose values will be charted.
- Click the Operation drop-down arrow and choose the operation to apply to the attribute values shown in the gadget if more than one feature in the layer is selected.
- If you want this gadget to be displayed as a comparison gadget, check the Display comparison gadget check box.
- Click OK to close the dialog box.
The new gadget is added to the map dashboard. Click on a feature in the configured layer to update the values shown in the gadget. A pie chart gadget includes a legend icon; pause the pointer on this icon to see a legend for the different sections of the pie chart.
To add a column or bar chart gadget
- On the Dashboard panel, click the Add button (+). The Add Dashboard Gadget dialog box appears.
- Click the Gadget drop-down arrow and choose Column Chart or Bar Chart.
- Click the Layer drop-down arrow, choose the layer whose values will be displayed by the gadget, then click OK.
- On the Configure Column Chart or Configure Bar Chart dialog box, specify the properties for your gadget:
- In the Title box, type a title that will be displayed above the gadget.
- In the Caption box, type a caption that will be displayed below the gadget.
- Click the Color drop-down arrow and choose a color for the chart columns or bars.
- Click the Name Field drop-down arrow and choose an attribute field that will be displayed above the gadget when it represents the values for a single feature.
- In the Value Fields list, check the attribute fields whose values will be charted.
- If you want to normalize the values charted, click the Normalize Field drop-down arrow and choose an attribute field. The values in the charted fields are divided by the values in the normalization field before being included in the chart.
- Click the Operation drop-down arrow and choose the operation to apply to the attribute values shown in the gadget if more than one feature in the layer is selected. The operation is not used when only one feature is selected.
- Click the Value Axis Range drop-down arrows and choose how the range of values on the chart axis are chosen. Choose Automatic to have the chart axis range automatically calculated based on the values in the chart. Alternatively, choose Manual to set the range to a specific value, and enter the value in the Minimum and Maximum boxes that appear.
- If you want this gadget to be displayed as a comparison gadget, check the Display comparison gadget check box.
- Click OK to close the dialog box.
The new gadget is added to the map dashboard. Click on a feature in the configured layer to update the values shown in the gadget.