Add x-axis point to Bar chart
Function: Add x-axis point to Bar chart
This action allows you to dynamically add a new data point to the horizontal (x-axis) of an existing Bar Chart UI element on your application page. This is useful for updating charts with new categories or data labels without manually editing the chart's properties.
Input
- UI element: The specific Bar Chart component on your page where you want to add the x-axis point. This input must be a Bar Chart UI element.
- Point: A piece of text representing the label or category that you want to add as a new data point on the x-axis. For example, "Q4 Sales" or "Product C".
Output
No explicit output is returned by this action. The specified Bar Chart UI element is updated directly on your application page.
Execution Flow
Real-Life Examples
-
Example 1: Adding a new month to a sales chart
- Inputs:
- UI element:
Sales_Performance_Chart(a Bar Chart displaying monthly sales) - Point:
"December"
- UI element:
- Result: The
Sales_Performance_Chartwill now include "December" as a new category on its x-axis, ready for corresponding sales data to be displayed.
- Inputs:
-
Example 2: Expanding product categories in a product usage chart
- Inputs:
- UI element:
Product_Usage_Bar_Chart - Point:
"Premium Tier"
- UI element:
- Result: The
Product_Usage_Bar_Chartwill update to show "Premium Tier" as an additional category on its x-axis, allowing you to visualize data for this new product tier.
- Inputs:
-
Example 3: Updating a project status chart with a new phase
- Inputs:
- UI element:
Project_Phases_Chart - Point:
"Deployment"
- UI element:
- Result: The
Project_Phases_Chartwill display "Deployment" as a new segment on its x-axis, reflecting the addition of a new phase to the project timeline.
- Inputs: