SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
Hi,
I have problem with MouseLeftButtonUp event fire on SciChartSurface. MouseLeftButtonUp event only fire on double click, not on single click. I saw this behavior perfectly working in hit data test demo.
Can someone guide me what I am doing wrong with my code. I have attached my sample code for your reference.
I have added
<SciChart:SciChartSurface Name="ColumnChart" SeriesSource="{Binding GroupSeries}" MouseLeftButtonUp="ColumnChart_MouseLeftButtonUp">
Please put a break point “ColumnChart_MouseLeftButtonUp” event on code behind and run the sample. I expect Mouse Left button up on SciChartSurface should fire this event,however event will be fired only on double click.
Let me know if you need anymore details.
Thanks.
Hi,
The reason for the issue is that mouse events are handled by modifiers. In the sample, the only modifier used is the CursorModifier, and it doesn’t handle them. Could I ask you what do you want to achieve by subscribing to mouse events, maybe we will be able to suggest you another way?
Best regards,
Yuriy
Please login first to submit.