Ask AI
Skip to main content

Clear piechart

Function: Clear Pie Chart

This action allows you to instantly remove all data from a specific Pie Chart component on your application screen. When cleared, the pie chart will appear empty, ready for new data to be loaded or displayed. This is useful for resetting charts, preparing them for new data, or simply hiding information temporarily.

Input

  • UI element
    • Description: The specific Pie Chart component on your application screen that you want to clear.
    • Type: UI element (specifically a Pie Chart)
    • Required: Yes

Output

This action does not produce any direct output values that can be used in subsequent steps. Its effect is directly visible on the selected Pie Chart component, which will be cleared.

Execution Flow

Real-Life Examples

  • Example 1: Resetting a Dashboard Section

    • Scenario: You have a dashboard displaying sales performance by region in a pie chart. At the end of each quarter, you want to clear this chart to prepare for the next quarter's data.
    • Inputs:
      • UI element: Sales_by_Region_Pie_Chart
    • Result: The Sales_by_Region_Pie_Chart on the dashboard becomes empty, ready for the new quarter's sales data to be loaded.
  • Example 2: Dynamic Data Filtering

    • Scenario: A user is viewing product sales data. They can apply filters (e.g., by product category). Before applying a new filter and loading new data into a "Product Distribution" pie chart, you want to clear the previous data.
    • Inputs:
      • UI element: Product_Distribution_Pie_Chart
    • Result: The Product_Distribution_Pie_Chart is cleared of its current data. New data corresponding to the applied filter can then be loaded into the now-empty chart.
  • Example 3: Preparing for New Survey Entries

    • Scenario: After a user submits a survey response, you have a "Survey Results Summary" pie chart that shows the distribution of answers. You want to clear this chart to prepare for displaying the results of the next survey entry, or to simply reset the view.
    • Inputs:
      • UI element: Survey_Results_Summary_Pie_Chart
    • Result: The Survey_Results_Summary_Pie_Chart is emptied, removing all previously displayed survey response distributions.