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

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.