how to generate image from apexcharts code example
Example: javascript apexcharts to base 64 image
chart = new ApexCharts(
document.querySelector("#myChart"),
options
);
chart.render();
var dataURL = chart.dataURI().then((uri) => {
console.log(uri);
});