Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chart is not render when update de binding outside the constructor #38

Open
oliveratom69 opened this issue Oct 19, 2018 · 1 comment
Open

Comments

@oliveratom69
Copy link

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.
@grofit
Copy link
Owner

grofit commented Oct 20, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants