Everything rendered after an Apex pie/donut will disappear if animations are disabled
See original GitHub issueCode
<script src="https://cdn.jsdelivr.net/npm/apexcharts"></script>
<div id="chart"/>
<script>
const options = {
chart: {
type: 'pie',
width: 400,
animations: {
enabled: false
}
},
series: [1,2,3],
}
var chart = new ApexCharts(document.querySelector("#chart"), options);
chart.render();
</script>
This text will not be rendered if animations are disabled!!
Explanation
If animations are disabled (or set to speed=0), everything after the chart div will disappear. The above code demonstrates this. The text after the chart div will be visible for a very short period (flashes).
The same code with animations.speed=10 will work.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
animations - ApexCharts.js
Enable or disable all the animations that happen initially or during data update. ... Animate the chart when data is changed and chart...
Read more >Disable Animation with Charts.js - javascript - Stack Overflow
If the parent element is responsive it may cause the chart to re-render and make it seem as if animations are not disabled....
Read more >PowerPoint 2016: My Animations are Disabled ... - YouTube
If none of your animation effects are showing during presentation, maybe this is the reason.
Read more >ComponentOne Chart for WPF - NET
CD (or disk) to ComponentOne, along with a dated proof of purchase, and ComponentOne will replace ... Disabling Chart Optimization After it has...
Read more >Oracle Application Express App Builder Users Guide PDF
If this is software or related documentation that is delivered to the U.S. ... 2.3.1 How the Application Express Engine Renders and Processes...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @kevinhinterlong. I didn’t realize that this issue got answered. I don’t do much html, so I didn’t know this. Is it generally invalid with self-closing tags, or does it only relate to div?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.