ng-apexcharts icon indicating copy to clipboard operation
ng-apexcharts copied to clipboard

showSeries and hideSeries is not working properly

Open Napstergfr opened this issue 5 years ago • 6 comments

When i am calling hideSeries to hide some of the Series it's working but after that when i am trying to show a specific Series from them it's not working.

Napstergfr avatar Oct 03 '20 08:10 Napstergfr

Facing same issue. Have you found any solution?

rraut avatar Oct 21 '20 09:10 rraut

Can you please specify the versions of apexcharts as well as ng-apexcharts you are using?

junedchhipa avatar Oct 21 '20 11:10 junedchhipa

Thanks for your support. My issue is sorted. Initially I was adding series into mount that's why on any change it was setting series back to visible. Now I am hiding it on update which sloves the first problem. But got obvious problem , when I click the legend it is still not showing me series as I am hiding it on update. Is there any hook which will allow me to check the name of clicked legend/ series inside updata

rraut avatar Oct 21 '20 11:10 rraut

@junedchhipa Is it possible to get clicked legend's id inside update event of apex chart?

rraut avatar Oct 22 '20 06:10 rraut

I couldn't fix it I had to use ngx-charts that worked for me.

Napstergfr avatar Oct 25 '20 04:10 Napstergfr

Same issue here. Any solution, please? resetSeries(), toggleSeries(), showSeries(), hideSeries() are not working properly by clicking in the chart or call it programatically.

When I hide one series in a multiplre area chart (with 3 series), the whole chart becomes empty, and thats it...

Procisz avatar May 11 '22 09:05 Procisz