AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Run function only once on resize js1/7/2023 ![]() However, if the initial draw call comes when the div is hidden, it doesn't draw. If the original chart is drawn successfully, I can call chart update/create/whatever. ![]() Right now I'm calling resetChart(chart) in the broadcast $reload function, which seems to do exactly what the chartjs solution says to do (destroy old chart and create new one) I know this is more of a Chart.js issue, but I've been pulling my hair out with it for a few hours now and can't get it working. I've added 's changes to my personal copy of angular-chartjs, and the broadcast works, but it doesn't seem to redraw the chart.
0 Comments
Read More
Leave a Reply. |