You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@etimberg is right, since you set maintainAspectRatio: false, your chart will be resized to its parent container height, which is certainly 0. However, responsive: true doesn't work for chart in shadow DOM (which is your case).
creating a chart the exact same way like in the example (https://codepen.io/chartjs/pen/YVWZbz) leads to an empty chart:
Element:
Chart creation:
The text was updated successfully, but these errors were encountered: