QingWei-Li/vue-trend

vue warning

pici opened this issue · 2 comments

pici commented

great lib !

that's my HTML part:
<trend :data="data" :gradient="['#6fa8dc', '#42b983', '#2c3e50']" auto-draw auto-draw-duration='1500' auto-draw-easing="ease-in"> </trend>

I got following warning:
[Vue warn]: Invalid prop: type check failed for prop "autoDrawDuration". Expected Number, got String.
(found in )

anyway it's working - there is effect when i change auto-draw-duration value.

:auto-draw-duration='1500'

pici commented

got it !
Thanks a lot.

brgds