Doughnut chart animation

6 posts, 0 answers
  1. Sacha
    Sacha avatar
    10 posts
    Member since:
    Sep 2015

    Posted 14 Feb Link to this post

    Hello, 

    I'm trying to animate a doughnut chart, in a way similar to these examples: 

    http://canvasjs.com/html5-javascript-doughnut-chart/

    It's the most common way of animating a doughnut chart.

    Using ChartRotateAnimation didn't produce the expected result. I couldn't find any examples of this control, and the documentation doesn't explain what the methods do. 

    Can you help?

     

  2. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 16 Feb Link to this post

    Hello Sacha,

    Thanks for writing.
    Currently we do not support this circle animation. Our supported animations at the moment are scale, translate, rotate and fade.

    Regards,
    Victor
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
  4. Sacha
    Sacha avatar
    10 posts
    Member since:
    Sep 2015

    Posted 16 Feb in reply to Victor Link to this post

    Ok - thanks Victor. Is it possible for me to write my own animation to do this?
  5. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 16 Feb Link to this post

    Hi Sacha,

    I suppose it is possible however the performance won't be great. The animation you referred to looks like an OpenGL animation. The geometry of the doughnut is being animated itself instead of simply animating the whole doughnut. This means that you have to manually draw each frame of the doughnut as it animates.

    If you are a customer you have access to the source code of the controls and you can modify it in any way you need. However please note that any custom changes are not eligible for customer support.

    Regards,
    Victor
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  6. Sacha
    Sacha avatar
    10 posts
    Member since:
    Sep 2015

    Posted 21 Feb in reply to Victor Link to this post

    OK thanks. It would be a great feature to have. Can I add a request for it to be added?
  7. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 23 Feb Link to this post

    Hello Sacha,

    Thanks for the feedback. I will forward your request to the rest of the Android team for consideration.

    Regards,
    Victor
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
DevCraft banner