Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataTip doesn't show correct data when rolling over an axiis sprite (sometimes) #33

Open
GoogleCodeExporter opened this issue Mar 3, 2016 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Mousing over a datatip, doesn't show the right datatip, see screenshot:

2. I am rolled over the outlast, however inlast is what the datatip shows:


What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.

Original issue reported on code.google.com by patrickl...@gmail.com on 15 Apr 2010 at 5:55

Attachments:

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Two Things:


1. If row's are filtered, then datatips are incorrect.
2. Datatip is inconsistent with it's label, which might be incorrect in two 
places in
the internalDataTipFunction,

var data:Object=axiisSprite.data[plotCollection][this.currentPlotIndex]
ObjectUtils.getProperty(this, axiisSprite["data"], this.labelField) 

I'm still inspecting this to find the root of the problem. I'll comment further 
on my
results.

Original comment by patrickl...@gmail.com on 4 May 2010 at 7:10

Attachments:

@GoogleCodeExporter
Copy link
Author

Here's my solution, this is how I calculate a datatip, in the 
internalDataTipFunciton
i do the following:

1. First I store the mouseX position from the item.mouseX in the layout event
2. Then in the internalDatatipFunction i do...


var testIndex:int = Math.floor((
axiisSprite.data[plotCollection].length/this.width)*currentMouseX);
                    var data:Object=axiisSprite.data[plotCollection][testIndex];

Original comment by patrickl...@gmail.com on 4 May 2010 at 9:24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant