If a CrosshairLayer is applied to a chart containing multiple ScatterSeries and no TargetSeries is set. Various crosshairs will be displayed. It seems to be that the X/Y positions of the cross-points are calculated by some distance calculation. This results in different X values for display.
Is there a way to limit the Y-interpolations the same current X value corresponding to the mouse position?
ScatterSeries doesn't support interpolated annotations so the annations will always snap to the data point and appear calculated. What you could try using is a SplineSeries but your axis member paths would have to change as the CategoryXAxis values are designed to be equally distant.
I suggest submitting a feature request for annotations to adhere to `useInteropolation` for ScatterSeries.
You can suggest new product ideas for future versions (or vote for existing ones) at <www.infragistics.com/.../ideas>. Submitting your idea will allow you to communicate directly with our product management team, track the progress of your idea at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you. Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it.
Let me know if you have any questions.
Michael DiFilippoSoftware DeveloperInfragistics, Inc.
Hello Michael,
it is not a matter of interpolating annotations. It is a matter of finding the X related data items. I have attached a simplified example project to illustrate.
The crosshair mouse position could snap exactly to the same X values because they are identical. But they snap to the X/Y positions with smallest distance to the mouse cursor. This makes this option (multiple crosshairs for multiple series) nearly unusable.
CrosshairTest.zip