I am trying to disable segment selection of pie chart.
I didn’t found any property to do it and done following way:
- derived fron SciChartPieSurface
- overrides OnSegmentMouseDown with empty body
Is there better way to do this?
Thanks
Samvel
- You must login to post comments
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
- Markiyan Kravchuk answered 8 years ago
- last edited 8 years ago
- You must login to post comments
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
- Yuriy Zadereckiy answered 8 years ago
-
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 login to post comments
Please login first to submit.