I want to share RolloverModifier in multiple charts I am using these lines of code but it is not sharing Rollover modifier
var rollOver: RolloverModifier? = null
rollOver = RolloverModifier()
val sharedRolloverModifier = sciChartBuilder.newModifierGroup()
According to our Android Chart Documentation the correct way to sync modifiers across charts is as follows:
We need to set MotionEventGroup on the ModifierGroups on both charts. Set this to a string value. It needs to be the same string on both charts to link the charts together.
have you followed our tutorial on Linking Multiple charts and checked the associated code sample to see how to do it?
Please login first to submit.