Pre loader

Disable Segment selection on PieChart

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
1

I am trying to disable segment selection of pie chart.
I didn’t found any property to do it and done following way:

  1. derived fron SciChartPieSurface
  2. overrides OnSegmentMouseDown with empty body

Is there better way to do this?

Thanks
Samvel

Version
v4.2 Build 9172
  • You must to post comments
1
0

Hi Samvel,

We created a more easier way to disable selection on Pie and Donut Chart. For this reason we’ve added new Dependency property, called AllowClickSelection. So if you want to disable Segment selection just set it’s value to False.

To get this feature you need to download the latest NuGet build.

Hope this helps.

Best regards,
Markiyan

  • You must to post comments
0
0

Hi Samvel,

Thanks for your question. I think an easier way to achieve this would be setting IsHitTestVisible to “False” on PieChart. But in this case the tooltips won’t appear too.

Please let me log this and we will try to make it more convenient.

Hope this helps!

Best regards,
Yuriy

  • Samvel Siradeghyan
    Thanks for quick response. I need tooltip and can’t disable hit test. I will go the way mentioned and later when there will be better way will update my code.
  • You must to post comments
Showing 2 results
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