This repository has been archived by the owner on Jul 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
Stretched chart after refreshData() #50
Comments
This is a bug, unfortunatly you can't do sth against it. |
Upgrade to Chart.js 2.6 does not fix the problem. I guess after refresh I have to trigger a repaint or sth similar. In the demo moving on of the splitters also triggers the repaint and the chart is displayed correctly. |
The problem is that after the refresh the width attribute of the canvas is set to 100%. |
sorry for delay ... vacation :) thx for fast respons |
As soon as the release is ready I will ;) I will publish the release and annonce it on Twitter as well. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I trigger refreshData() chart is is stretched.
Browser refresh, browser resize ... all is perfect.
What am I dooing wrong?
Vaadin 7.7.9
vaadin-chartjs 0.4.0
A bit of source code
OK
after reload
ps. vaadin chart js = great job
The text was updated successfully, but these errors were encountered: