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
I set width and height both to 300 and I am refresing my chart every 10 seconds. At first the charts are properly sized, however, after the first refresh, the chart size changes. I tried many different combinations by setting responsive and maintainAspectRatio, but in some cases width changes from 300->700 after refreshing, and in other cases height changes from 300->700
Try naming your options prop options and not chartOption .
Because the reactive mixin will call a re-render if nessasary and is calling this.renderChart(this.chartData, this.options)
And please provide a minimal codepen for reproduction.
I set width and height both to 300 and I am refresing my chart every 10 seconds. At first the charts are properly sized, however, after the first refresh, the chart size changes. I tried many different combinations by setting
responsive
andmaintainAspectRatio
, but in some cases width changes from 300->700 after refreshing, and in other cases height changes from 300->700My Code:
In the template I have:
And the javascript is :
Then the actual chart component js:
The text was updated successfully, but these errors were encountered: