SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

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
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
0
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
Showing 2 results
Your Answer

Please first to submit.