SolveNearestDataPointByCoord always return false

Found a possible bug in LightningChart? Report it here.

Moderator: Arction_LasseP

UnityRT
Posts: 2
Joined: Mon Sep 12, 2016 4:05 pm

SolveNearestDataPointByCoord always return false

Post by UnityRT » Mon Sep 12, 2016 4:33 pm

Hello,

I used to work with 3D view Surface grid with Winforms version v7.0.2. We recently upgrade to version 7.1.1.

since this time "SolveNearestDataPointByCoord" method always return false and we could not track surface Mouse coordinates anymore.

I have tried with the last version v7.1.2 and found the same issue.

I have managed to reproduce the bug with "3D Surface Nearest data point tracking" example.

It seems that If MouseInteraction is not equal to true the method SolveNearestDataPointByCoord could not find solution anymore...
in ExampleSurfaceNearestPointTracking.cs CreateChart Method

Code: Select all

private void CreateChart()
{
[...]
m_surface.MouseInteraction = false;
[...]
}
then SolveNearestDataPointByCoord in _chart_MouseMove will always return false and no tracking is possible.

Have you a quick fix for this issue ?

thanks in advance


System : Win7 64bits -Core i7 - 8GoRam - Nvidia Geforce GT525M

User avatar
ArctionNikolai
Posts: 38
Joined: Fri Feb 05, 2016 11:37 am
Location: Finland

Re: SolveNearestDataPointByCoord always return false

Post by ArctionNikolai » Wed Sep 14, 2016 10:55 am

Dear customer,

Thank you for your question. There was the same behavior in version 7.0. We will fix that in the future versions to SoveNearestDataPointBy* independently on MouseInteraction property.
To utilize this method for now, you should use MouseInteraction = true, otherwise mouse hit test won't work.

And thanks you joined us.

Best regards
Nikolai Arsenov
Software developer
Arction Ltd
Microkatu 1, 70210 Kuopio, Finland