aurelia-chart
aurelia-chart copied to clipboard
Chart is not render when update de binding outside the constructor
I have 2 issues:
- if i add show.bind or if.bind to the custom element the chart is not render, ven when i add the data of the chart inside the constructor. Ig i remove the if.bind or show.bind it works fine.
- But the first scenario is not what i need, i need to set the chart data in an event. i translate the same code to that method (without de if or show) and the chart is not render, seems to be that the chart is not refresh, how can i do that after i change the data?
In that scenario i set on the constructor an empty data:
this.barChartData = { labels: [], datasets: [] };
Any idea is appreciated.
Hey, I would love to help but I only used Aurelia for a period a few years back, so I have been out of the loop on this plugin for ages, hopefully someone else will be able to advise.
Also while on the topic I am more than happy to allow someone else to be a collaborator to push the library forward if others still use it.