Jump to content
Software FX Community

HitTest not consistent when hovering over Doughnut chart


User (Legacy)
 Share

Recommended Posts

We execute the hittest method during a mouse move event to determine if the 

user is hovering over a series in the chart (or in the case of a Doughnut,

we expect a hittest value of 4 when the user hovers the mouse on the top

side of a 3D doughnut chart).

If there is 1 Doughnut on the screen (this does not happen as frequently

when there are multiple doughnuts on the same chart), sometimes the hittest

returns 4 and sometimes it returns 0, even though I hover the mouse on the

same general top area of the chart doughnut slices.

To repro, you need to create a doughnut chart with just one doughnut, and

its easier to reproduce if the chart application is maximized. Hover the

mouse slowly around the top side of the doughnut chart area and notice that

at times when the hittest should return 4, it returns 0.

What's the problem? I get consistent return values of 4 when the chart is a

PIE rather than a Doughnut.

Thanks Frank,

Gretchen

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...