Jump to content
Software FX Community

Getting Series by PixelToValue


User (Legacy)

Recommended Posts

The problem is HitTest doesn't always return correctly. It seems it only

returns if the mouse is positioned in the center (or very close) to of the

point.

I'm using a scatter plot chart and need the tooltips to show immediately.

These charts can have hundreds or even thousands of points and the user

needs to know what they are without a delay and especially without the need

to keep moving the mouse to hit the special point to make the tool tip

display.

The MarkerSize is set to either 2 if you want to test it.

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:mk4d7ymHFHA.3680@webserver3.softwarefx.com...

> The HitTest method will do just that.

>

> Check the docs. for details.

>

> --

> FP

> Software FX

>

>

Link to comment
Share on other sites

Here's what I did.

I create a mousemove event for chart1.Controls[0]. In this event I use the

HitTest. Here is works very well.

if (HitType == HitType.Point)

{

tooltip.SetTooltip(chart1.Controls[0], chart1.Tag.ToString() );

tooltip.SetTooltip(chart1, "");

}

Now I get instant tooltips!

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:mk4d7ymHFHA.3680@webserver3.softwarefx.com...

> The HitTest method will do just that.

>

> Check the docs. for details.

>

> --

> FP

> Software FX

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...