creativetimofficial/ct-vue-material-dashboard-pro

Cannot use animations on ChartCard

axelex opened this issue · 0 comments

Version

Last

Reproduction link

https://demos.creative-tim.com/vue-material-dashboard-pro/?_ga=2.73004820.623518763.1588865052-1103843040.1588865052#/charts

Operating System

Windows

Device

Laptop

Browser & Version

Any Browser

Steps to reproduce

Try adding a draw animation to ChartCard through chart animation property

What is expected?

To animate the drawing of the chart

What is actually happening?

no animation


Solution

Additional comments

The way animations need to be passed to the chartist instance are not documented anywhere in the theme's docs... So I looked on chartist docs and tried in different ways to add an animation when the draw event is fired and the Chart is still draw without any animation.
Please provide an example or anything that could lead to understanding how the animation property should be passed to ChartCard.

Thank you!
Have a nice day!