I'm having some trouble turning off the animation with charts.js.
This is my code:
var pieData = [ { value: 30, color:"#F38630" }, { value : 50, color : "#E0E4CC" }, { value : 100, color : "#69D2E7" } ]; var myPie = new Chart(document.getElementById("canvas").getContext("2d")).Pie(pieData);
Can anyone provide an example?
Chart. js renders its charts using the Canvas element which results in good performance compared with SVG, espcially when rendering a large amount of data. The other advantage of Canvas rendering is that it's relatively easy to download the chart as an image file.
The chart legend displays data about the datasets that are appearing on the chart.
Add a chart/graph, select the proper symbol on the “Format” tab in the toolbar. Select the chart/graph on the slide. Select the “Animations” tab in the tool bar and select the animation you want to use. Now by default PowerPoint will animate the whole chart/graph, thus all elements will appear at once.
options: { animation: { duration: 0 } }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With