AG Charts
To use AG Charts, you'll need to pass a dict to the options
prop of the ag_chart
component. The dict should contain the following properties:
data
: A list of dictionaries representing the data to be displayed in the chart.series
: A list of dictionaries representing the series to be displayed in the chart. Each dictionary should contain the following properties:type
: The type of chart to be displayed (e.g., "bar", "line", etc.).xKey
: The key in the data dict to be used for the x-axis.yKey
: The key in the data dict to be used for the y-axis.