Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

how to re render ? #37

Open
sirb0rab0g1 opened this issue Jan 8, 2018 · 2 comments
Open

how to re render ? #37

sirb0rab0g1 opened this issue Jan 8, 2018 · 2 comments

Comments

@sirb0rab0g1
Copy link

i am facing the problem where the chart is not updating the new values any documentation for this ? pleaseeeeeeeeeeeee

@vytasun
Copy link

vytasun commented Feb 19, 2018

Did you set prop bind="true" ?
<chartjs-line :labels="labels" :data="data" :bind="true"></chartjs-line>

@mech01nc01
Copy link

had a similar Problem, data within the chartjs-object got no update, so ive done something like:

watch:{chartData:function() { this.$refs.chart.chart_data.datasets=this.chartData; }},
computed:{chartData:function() { return …;}}

and of Course gave the Chart a reference

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

No branches or pull requests

3 participants