Ng2-charts: refresh data

Created on 7 Nov 2016  路  2Comments  路  Source: valor-software/ng2-charts

hi to all,
i hope is the right place to ask little help.

i follow the installatio/demo guide and now i have an amazing bar-chart on my angular2 testApp :-) !
But i don't understand how i can refresh the module to update the data.

I put a button to trigger the function "updateData()" but it update only the label in the graph.
The data value in valriable "this.data" is update, but in the graph still remain the old one.
Only if i reload all the view using the side-menu or resizing it change.

Most helpful comment

i understand my error.

Please explain what you did, this is so annoying and similar to 'I found the solution' - and then not explaining how leaving people guessing.

All 2 comments

i understand my error.

i understand my error.

Please explain what you did, this is so annoying and similar to 'I found the solution' - and then not explaining how leaving people guessing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alexcastillo picture alexcastillo  路  5Comments

mrpotato3 picture mrpotato3  路  5Comments

Maistho picture Maistho  路  3Comments

grahammutter picture grahammutter  路  4Comments

egervari picture egervari  路  4Comments