Reputation: 1218
I am using chartjs
version 2 it works very good in all the browsers except chrome and it renders the charts invisible .When i change the size of page by chrome ,it shows the charts . Anyone can give me a hint to fix this problem ?
chrome version : 51
Upvotes: 2
Views: 1586
Reputation: 1818
The canvas element that the chart is being rendered to must be visible. Make sure you've not set display: none
to the canvas before rendering the chart.
Upvotes: 3