I've figured out how to create an ECharts bar chart with custom graphic "bubbles" at the end of the chart, but I can't seem to figure out how to make these graphics animate along with the bars when the chart first loads.
https://codepen.io/cmalven/pen/7daa16a8fabc7566bcbf34cd2a98c1a3?editors=0010
I've tried .setOption() to update the graphic property within a rendered event, but that results in an error that "setOption" should not be called during main process. For instance…
myChart.on("rendered", () => {
myChart.setOption({
graphic: {…}
});
Is it possible to animate custom graphics? If so, what is the recommended way to do this?