redfish88/axiis

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

Opened this issue · 3 comments

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:

[deleted comment]
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:

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