Canvas tag has incorrect attributes
Gudleiv opened this issue · comments
Hi!
Canvas has default height and width with incorrect attribute "attrs" in DOM
<canvas attrs="[object Object]" width="188" height="150"></canvas>
This fix helped me #12
Taht's weird, for me the canvas attributes are well rendered
<canvas id="doughnut-chart" width="720" height="720"></canvas>
Same problem is here https://codesandbox.io/s/demo-vue-chart-3-ugynm
@Gudleiv Ok found the problem https://v3.vuejs.org/guide/migration/render-function-api.html#_2-x-syntax-3.
I need to make 2 different render function for Vue 2 & 3
Try 0.3.6
it should be good!
Issue solved, thank you for quick response!