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

0
0

Hi,

Is it possible to trigger the rubber band zoom modifier on mouse double click?

<s:RubberBandXyZoomModifier
                        IsEnabled="{Binding NotRecording}"
                        IsXAxisOnly="True" 
                        ZoomExtentsY="True" 
                        IsAnimated="True" 
                        RubberBandFill="#20FFFFFF" 
                        RubberBandStroke="GreenYellow" 
                        RubberBandStrokeDashArray="2 2"
                        ReceiveHandledEvents="True"
                        ExecuteOn="MouseDoubleClick"
                        >
                    </s:RubberBandXyZoomModifier>

The above does not trigger anything.

Ideally I’d like to double click to start the area selection and click again to confirm it, as opposed to mouse down and mouse up.

I want to do this because I’m using the mouse down event to place the Vertical Slice at the clicked position.

Thanks,
Declan.

Version
.NET Core 3.1 v6.5.1
  • You must to post comments
0
0

Hi Declan,

Thanks for your inquiry.
This issue can be caused by other ChartModifier using ExecuteOn=”MouseLeftButton”.
Please check your ChartModifiers list and let us know if you need any further assistance.

With best regards,
Oleksandr

  • Declan Walsh
    Hi Oleksandr, Thanks for the reply. Unfortunately I still can’t get it to work. I tried removing all other modifiers and removing any other subscriptions to mouse events. Nothing happens. I can only get it to work on MouseLeftButton. Is there a way to activate the rubber band from the code behind?
  • Oleksandr Shvets
    Hi Declan, Thanks for your reply. Could you please send us a small sample project reproducing the issue for investigation? You can also submit a ticket including a sample project here: https://support.scichart.com/index.php?/Tickets/Submit if you don’t want to publish a project on the public forum. Thanks in advance. With best regards, Oleksandr
  • Declan Walsh
    Hi Oleksandr, I’ve submitted a ticket with a sample. Thanks.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.