Ask AI
Skip to main content

Add data set to Radar chart

Function: Add data set to Radar chart

This action allows you to dynamically add a complete new data set to an existing Radar chart UI element on your application page. This is useful for updating charts with new information, comparing different data points, or visualizing new categories without needing to manually reconfigure the chart. It enables dynamic data visualization, making your charts more interactive and responsive to changes in your data.

Input

  • Radar chart UI element: The specific Radar chart on your page where you want to add the new data set. This is a required input.
  • Code: A unique identifier (text) for this new data set. This is crucial for distinguishing it from other data sets in the chart and is a required input.
  • Name: The display name (text) for this data set that will appear in the chart's legend. This is a required input. If left blank, the 'Code' will be used as the name.
  • Color: The color (text, e.g., a hex code like #FF0000 or a color name like red) that will be used to represent this data set on the chart. This is a required input. If left blank, a default color will be used.
  • Points: The actual data values (text) for this data set. These are typically a comma-separated list of numbers corresponding to the chart's indicators (e.g., "80, 90, 70, 60, 95"). This is a required input. If left blank, the data set will be added without initial data points.

Output

This action does not produce a direct output value. Instead, it modifies the specified Radar chart UI element directly by adding the new data set to it.

Execution Flow

Real-Life Examples

Example 1: Comparing Product Performance

Imagine you have a Radar chart showing the performance of your existing products across different metrics (e.g., "Sales", "Customer Satisfaction", "Innovation", "Market Share"). You've just launched a new product and want to immediately add its performance data to the chart for comparison.

  • Inputs:
    • Radar chart UI element: ProductPerformanceChart
    • Code: PROD_X_2024
    • Name: Product X \(2024\)
    • Color: #00FF00 (Green)
    • Points: 75, 85, 90, 70
  • Result: The ProductPerformanceChart will instantly update to include a new green data line representing "Product X (2024)" with its performance scores, allowing for direct visual comparison with other products.

Example 2: Tracking Employee Skill Development

You have a Radar chart visualizing the skill profile of your team members (e.g., "Communication", "Technical Skills", "Problem Solving", "Leadership"). A new employee joins, and you want to add their initial skill assessment to the chart.

  • Inputs:
    • Radar chart UI element: TeamSkillMatrix
    • Code: EMP_JANE_DOE
    • Name: Jane Doe
    • Color: #FFC0CB (Pink)
    • Points: 80, 70, 85, 60
  • Result: The TeamSkillMatrix chart will display a new pink data line for "Jane Doe", showing her skill levels relative to the team's overall profile.

Example 3: Analyzing Project Risk Factors

Consider a Radar chart that visualizes the risk profile of ongoing projects based on factors like "Budget Overrun", "Timeline Delay", "Resource Availability", and "Technical Complexity". A new project is initiated, and you need to add its initial risk assessment.

  • Inputs:
    • Radar chart UI element: ProjectRiskDashboard
    • Code: PROJ_ALPHA_RISK
    • Name: Project Alpha Risk
    • Color: #FFA500 (Orange)
    • Points: 60, 75, 50, 80
  • Result: The ProjectRiskDashboard will update to include an orange data line representing "Project Alpha Risk", immediately highlighting its risk exposure across the defined factors.