Learn about creating and updating charts in more detail.
AgChartOptions are supplied to the AG Charts component, and mutations of the options trigger an update of the chart configuration.
See the Options Reference for more detail about the
The following example demonstrates both create and update cases:
optionsobject used to create the initial chart state.
optionsand trigger update of the chart state.
Charts are automatically destroyed when the AG Charts component is removed from the DOM.