amcharts / amcharts5

The newest, fastest, and most advanced amCharts charting library for JavaScript and TypeScript apps.
Other
338 stars 91 forks source link

porting moveHtmlContainer #44

Closed GypsyyCode closed 2 years ago

GypsyyCode commented 2 years ago

In my application I'm using vuejs3 and am4charts. To take advantage of the vue setup hook, which is called before or while the dom is rendered, i'm using a lot of chart.moveHtmlContainer('chartdiv') after the charts and series and everything are created and then set the data. I created the charts like that create(undefined, XYChart)

But in version 5 I can't create a Root element without a htmltag or html element and I can't create a chart without a root element.

Im looking for some kind of setup and render later solution. Will there be a way to do it like I did it in version 4?

martynasma commented 2 years ago

Yeah, thanks for bringing this up.

We'll need to discuss this and get back to you.

martynasma commented 2 years ago

Implemented in 5.0.5.

[5.0.5] - 2021-11-15

Added

Fixed

Full change log.

Download options.

Make sure you clear your browser cache after upgrading. And feel free to contact us again if you are still experiencing this issue.