Configure the data display effect of a legend item
After you configure the data display effect of a legend item, you can view visualized data from different perspectives.
Procedure
In edit mode of a chart, choose General Configurations > Legend Configurations. In the Legend Configurations section, turn on Display Legend and set the Actions parameter to Single or Switch.
- Single: After you click a legend item, only the data that corresponds to the legend item is displayed in the chart. After you click the legend item again, all data is displayed.
- Switch: After you click a legend item, the data that corresponds to the legend item is hidden or displayed in the chart.
Set the Actions parameter to Single. Click pv, and then click uv. The following figures show the data display effect after you click pv and uv.

- Set the Actions parameter to Single. Click pv, and then click uv. The following figures show the data display effect after you click pv and uv.

