Ask AI
Skip to main content

Clear piechart

Function: Clear Pie Chart

This action allows you to instantly remove all data displayed within a Pie Chart on your application's screen. It's useful when you want to reset a chart, prepare it for new data, or simply hide its current information.

Input

  • UI element (PART - Pie Chart): This is the specific Pie Chart component on your application's page that you wish to clear. You must select a Pie Chart for this action to work.

Output

This action does not produce any direct output that can be used in subsequent steps. Its primary effect is to clear the selected Pie Chart on your application's interface.

Execution Flow

Real-Life Examples

  1. Resetting a Sales Dashboard:

    • Scenario: You have a sales dashboard with a pie chart showing "Sales by Region." After a user filters the data, you want to provide a "Reset Chart" button that clears the pie chart to its empty state before new data is loaded.
    • Inputs:
      • UI element: My Sales by Region Pie Chart
    • Result: The "Sales by Region Pie Chart" on the dashboard becomes empty, ready to display new data or remain blank until new filters are applied.
  2. Preparing a Form for New Entry:

    • Scenario: In a data entry form, you have a pie chart that visualizes "Budget Allocation" as the user inputs different categories. When the user clicks "New Entry," you want to clear the previous budget allocation chart to start fresh.
    • Inputs:
      • UI element: Budget Allocation Pie Chart
    • Result: The "Budget Allocation Pie Chart" on the form is cleared, showing no slices, allowing the user to input new budget figures without seeing old data.
  3. Dynamic Chart Updates:

    • Scenario: You have a page where users can select different time periods (e.g., "Last Month," "Last Quarter," "Last Year") to view data. Before loading new data for a selected period into a pie chart, you want to clear the existing data to ensure a smooth transition and prevent old data from briefly appearing.
    • Inputs:
      • UI element: Performance Overview Pie Chart
    • Result: The "Performance Overview Pie Chart" is instantly cleared of its current data, making way for the new data corresponding to the newly selected time period.