Ask AI
Skip to main content

Remove data-set of Bar chart

Function: Remove data-set of Bar chart

This action allows you to remove a specific collection of data (a "data-set") from a Bar Chart displayed on your application page. This is useful when you want to dynamically update or simplify a chart by taking out certain data series without affecting the entire chart or other data-sets within it.

Input,

  • UI element (Bar Chart): This is the visual Bar Chart component on your application page from which you want to remove a data-set. You will select the specific Bar Chart you are targeting.
  • Code (Dataset Identifier): This is the unique name or identifier that was given to the data-set when it was originally added to the Bar Chart. You need to provide this exact code so the system knows which specific data-set to remove.

Output,

This action does not produce a direct output value. Instead, its effect is visible immediately on the Bar Chart UI element, where the specified data-set will no longer be displayed.

Execution Flow,

Real-Life Examples,

  1. Example: Removing old sales data

    • Inputs:
      • UI element (Bar Chart): "Monthly Sales Chart"
      • Code (Dataset Identifier): "Sales_Q1_2022"
    • Result: The "Monthly Sales Chart" on your dashboard will no longer display the data series corresponding to "Sales_Q1_2022", making the chart cleaner and focused on more recent data.
  2. Example: Hiding a specific product's performance

    • Inputs:
      • UI element (Bar Chart): "Product Performance Overview"
      • Code (Dataset Identifier): "Product_X_Performance"
    • Result: The "Product Performance Overview" chart will update to remove the bars representing "Product_X_Performance", allowing users to focus on other products.
  3. Example: Clearing temporary data from a user-generated report

    • Inputs:
      • UI element (Bar Chart): "Custom Report Chart"
      • Code (Dataset Identifier): "User_Draft_Data"
    • Result: The "Custom Report Chart" will remove the "User_Draft_Data" series, effectively clearing temporary data that a user might have added for analysis.