Javascript ChartsCreate/Update
javascript logo

Learn about creating and updating charts in more detail.

Creating and Updating Charts

AgCharts exposes create() and update() static methods to perform chart initialisation and update based upon the AgChartOptions configuration structure.

Mutations to the previously used options object are not automatically picked up by the chart implementation, AgCharts.update() should be called for changes to be applied.

NOTE: We expect the options supplied to AgCharts.update() to be the full configuration state to update to, not a partial configuration. Use AgCharts.updateDelta() to apply partial updates.

AgCharts has the following API: