question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How can I draw a pie without any animation

See original GitHub issue

Hello Community,

I use Chart.js Version 2.0 - even since it was a beta… And it works fantastic. But now I do have some Issues with that pie chart.

  1. Labels: I don’t have much space to show the pie Chart and if the Labels are shown, the pie would be only a very very tiny white point on my Site… So I decided to hide the labels by typing this code labels: [{ display: false }] but there is stil one “label” displaying on my site - it shows a labelbox with that label “[Object:object]” and I do not know how can I delete this - or how could I format this label and place it into another space…
  2. animation: How can I stop the animation of this pie chart? I read the documentation and found out this code should help: animation: { animateRotate: false, animateScale: false}, I wrote it into my code - but it took no effect… Even to set animateRotate to false in my Chart.bundle.js dind’t take any effect.

I’m not sure if this is an issue - but I would be very thankfull for any help. Here you can see the site “in action”: http://cockpit.energyscreen.de:81/index.php

THank you for your help

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
etimbergcommented, Apr 12, 2016

Glad this helped @Joerg63 I will look into the issue when the labels array is missing

0reactions
Joerg63commented, Apr 12, 2016

awww thank you very very much… But - to make it complete for other users like me - you need to set labels: [{ display: false }] too ( in the “dataset”-area of your config) - otherwise you’ll recieve this error-message I postet before…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pie Chart Animation - After Effects Tutorial - YouTube
Create this simple yet engaging pie chart animation in Adobe After Effects. COURSES (HOSTED ON SKILLSHARE)» After Effects: ...
Read more >
How to Animate a Pie Chart in After Effects - YouTube
Welcome back for another episode of VLearning: with Bobby & Brent! Today we will show you how to do a Pie Chart Animation...
Read more >
Quick and Easy Pie Charts in After Effects - YouTube
How to make pie charts with more flexibility than radial ... and a ton easier to animate than using Radial Wipe—especially if you...
Read more >
How to create a pie chart - YouTube
Help us caption & translate this video!https://amara.org/v/C0d6i/
Read more >
Easy as Pie Charts - Adobe After Effects tutorial - YouTube
Click to tweet? -- http://clicktotweet.com/fbb1_This tutorial is as easy as pie... pie charts that is! It's all about making a simple and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found