generate_area_chart
Create area charts to visualize data trends over continuous independent variables like time. Analyze velocity trends and infer distances by calculating the area under the curve.
Instructions
Generate a area chart to show data trends under continuous independent variables and observe the overall data trend, such as, displacement = velocity (average or instantaneous) × time: s = v × t. If the x-axis is time (t) and the y-axis is velocity (v) at each moment, an area chart allows you to observe the trend of velocity over time and infer the distance traveled by the area's size.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
axisXTitle | No | Set the x-axis title of chart. | |
axisYTitle | No | Set the y-axis title of chart. | |
data | Yes | Data for area chart, such as, [{ time: '2018', value: 99.9 }]. | |
height | No | Set the height of chart, default is 400. | |
stack | No | Whether stacking is enabled. When enabled, area charts require a 'group' field in the data. | |
theme | No | Set the theme for the chart, optional, default is 'default'. | default |
title | No | Set the title of chart. | |
width | No | Set the width of chart, default is 600. |