Pre loader

1

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

All Answers » Re: How to share Rollover Modifier in multiple charts? » Comments for "Re: How to share Rollover Modifier in multiple charts?"
  • sci chart
    Yes, I followed the following tutorial but I want to pass object of rollover in it , I dont want to use .withRollOverModifier because I want to disappear Rollover modifier in some cases and it is only possible when I made an object of Rollover Modifier globally.
  • Yura Khariton
    Then try to use .withModifier() and pass RolloverModifier instance as parameter, but be aware that you can’t use same modifier instance for several charts
  • Muhammad Bilal
    Yes, I am using it in the same way but it only display RolloverModifier in one chart at a time ,I want to share that rolloverModifier in all charts
  • Yura Khariton
    As I said before you can’t use same modifier instance in several charts at the same time. If you want you to reuse modifier you can remove it from previous chart and only then add into another one.
  • Andrew Burnett-Thompson
    Download the tutorial code Muhammad, all will become clear
  • Muhammad Bilal
    I am using another way to handle this case, I create an instance of sharedRolloverModifier and use isEnabled property to overcome this problem. On longpress I set isEnabled “true” and onUp I set isEnabled “false” , everything is working fine except when I set isEnabled property as “false” the vertical line of RolloverModifier doesnot disappear from last location. How can I also disappear the vertical line? . I have attached my code below kindly review it and give feedback that is everything is fine in my code because when I use scicharts for more than 5 to 10 minutes in my original app in which my data is coming from API my device becomes heatup and performance becomes slow by time , Is there is some problem in my code or it is some other problem? Thanks
  • Muhammad Bilal
  • Muhammad Bilal
    Is there any solution regarding the above mentioned Rollover modifier problem?
  • Yura Khariton
    As Andrew said solution is to create a separate RolloverModifier for each chart and synchronize them using MotionEventGroup.

Try SciChart Today

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

Start TrialCase Studies