Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
380
MouseLeftButtonDown on XamWebChart
posted

I have a pie chart that the user needs to be able to click and run a detailed report.  However infragistics seems to be eating the MouseLeftButtonDown event when you click inside the pie area.  If you click outside the pie area, you get the event.  But the pie area is where anyone would expect to click -not in empty space outside the pie.

<igWebChart:XamWebChart Cursor="Hand" 
                        DataContext="{Binding DashboardEndpoints.Endpoints.PolicyStatus}" 

                        MouseLeftButtonDown="_chartEndpointPolicy_MouseLeftButtonDown">
     <igWebChart:XamWebChart.Legend>
         <igWebChart:Legend Visibility="Visible" />
     </igWebChart:XamWebChart.Legend>
     <igWebChart:XamWebChart.Series >
        <igWebChart:Series ChartType="Pie" StrokeThickness="1" DataMapping="Value=PercentValue;Label=Key;ToolTip=ToolTip" DataSource="{Binding}" />
   </igWebChart:XamWebChart.Series>
</igWebChart:XamWebChart>

Is there some way around this besides switching to someone elses control?  I've tried attaching the handler on the series as well, but it has the same result.

Regards, -Mark