aurelia-chart icon indicating copy to clipboard operation
aurelia-chart copied to clipboard

Chart is not render when update de binding outside the constructor

Open oliveratom69 opened this issue 6 years ago • 1 comments

I have 2 issues:

  1. 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.
  2. 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.

oliveratom69 avatar Oct 19 '18 23:10 oliveratom69

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.

grofit avatar Oct 20 '18 20:10 grofit