apexcharts / vue-apexcharts

📊 Vue 2 component for ApexCharts
https://apexcharts.com
MIT License
1.34k stars 136 forks source link

Data labels slow performance #500

Closed FrancoisVJ closed 1 year ago

FrancoisVJ commented 1 year ago

Hi,

First of all thanks for this awesome chart library!

There is a performance issue with a lot of data labels on a bar chart, I have a bar chart with 50 categories and 3 series, so in total 150 bars with data labels. In the browser console I get a warning from the apexcharts.js library that states there are too many data labels on the chart that may cause poor performance.

The performance for this specific chart with 150 data labels is not too bad, it causes the dashboard too be sluggish in responsiveness for about 2-3 seconds when initially loading the page.

Are there any plans to improve data labels performance in the future?

Thanks

Qualzz commented 9 months ago

I'm moving all my codebase away from apex-charts, it was a huge mistake to use this lib in the end, at least for my use case. The performances is so bad and I can't use the mentionned "fix" like using a marker size of 0, which I need to be non 0 for the dataPointSelection method to work.