Pre loader

How to trigger an event with Rolofer Modifer's "MouseDoubleClick"

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

1
0

Hello, I am using the scichart example : SciChart_CustomTooltipsWithModifiers.
I want to double click the RolloverModifier to trigger en event.
The xaml(wpf) is as follows:


The c# :
private void RolloverModifier_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
{
MessageBox.Show(“nihao11111111111111”);
}

But it didn’t work. Can you help me to solve this problem?
Thank you.

Version
the negut version of scichart is 7.0.2.27161
Images
  • Lex
    Hi Zhi Zhang, Thanks for your inquiry. I am going to discuss this with our team and will get back to you with an update. Kind regards, Lex, SciChart Technical Support Engineer
  • You must to post comments
0
0

Hi Zhi Zhang,

Hope you are doing well.
I’m glad to inform you that we have investigated your inquiry.

RolloverModifier inherits the mentioned event from its base class – FrameworkElement.
However, this can’t be applied to the RolloverModifier directly as well as many other things inherited from the base class due to the implementation specifics.

Instead, we recommend creating a Custom ChartModifier inherited from the RolloverModifier and overriding the OnModifierDoubleClick() method inside.
We’ve also prepared a customized example showing this approach. Please find it attached.

Kind regards,
Lex,
SciChart Technical Support Engineer

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.