Pre loader

Problem to use ChartModifier OnModifierMouseMove

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

0
0

I want to use ChartModifier.OnModifierMouseMove , I have declared as image “Cannot assign to OnModifierMouseMove because it is a method group”, then it gives an error. I have to how to use it

Version
v6.2.1.13304
Images
  • You must to post comments
0
0

Thank. How should I call and add it to my chartSurface class

  • You must to post comments
0
0

It’s a method, not an event, so you will need to create a class which inherits ChartModifierBase and override OnModifierMouseMove

e.g.

public class MyChartModifier : ChartModifierBase
{
    public override void OnModifierMouseMove(ModifierMouseArgs e)
    {
        base.OnModifierMouseMove(e);

        // TODO: Your logic here
    }
}

Find out more here: SciChart WPF – The Custom ChartModifier API

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies