Pre loader

WPF donut chart questions

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

I see documentation that you can create a pie chart without mvvm and use piechartsegmentitem. It doesn’t appear the same can be done with a wpf chart. Is that correct? Also can animation be changed on wpf donut chart? Thanks.

Version
5.4
  • John
    Also curious how you can retrigger the animation manually if you wanted to? I don’t see start and stop animation
  • Andrew Burnett-Thompson
    Hi John, there’s a couple of questions there, could you clarify something? You want to be able to create a WPF SciChartSurface (not pie not donut but normal 2D Chart) without MVVM? Or you want to know how to create a pie/donut chart without MVVM? Best regards, Andrew
  • John
    Sorry for confusion. I meant being able to create a donut chart segment in xaml like what is capable with pie chart like what is outlined here https://www.scichart.com/documentation/v5.x/The%20Pie%20Chart%20Type.html. Also any way to manually trigger the animation on a donut chart. I know I can with renderable series in line and column charts but donut chart doesn’t use renderable series.
  • You must to post comments
0
0

Hi John,

Thanks for your inquiry and for the clarification. I am sorry for the late reply.
The Donut Chart and Pie Chart share the same base class as you can see on the following documentation page:
https://www.scichart.com/documentation/v5.x/webframe.html#The%20Donut%20Chart%20Type.html

So you should be able to create and configure SciChartDonutSurface similarly to SciChartPieSurface.
I have noticed we have no code for Pie Chart on our Examples page. We’ll fix this. Please find the corresponding code here:
https://github.com/ABTSoftware/SciChart.Wpf.Examples/tree/master/v5.x/Examples/SciChart.Examples/Examples/CreateGaugeCharts

You can also find the Pie Chart and Donut Chart examples in our Examples suite.

Regarding animation – it is not supported currently. However, you can create a New feature request and let people vote for it. Here is how to do this:
https://www.youtube.com/watch?v=cWa6bRCCAFE

With best regards,
Oleksandr

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies