openlink/html5pivotviewer

Offset issue when zooming on an item in graphview

oaubert opened this issue · 3 comments

To reproduce: (using http://kingsley.idehen.net/c/86Q2Q for instance, reproduced both on Chrome 25.0.1364.172 and Firefox 19):

  • select the Graph View (barchart icon)
  • select an item to zoom on it (for instance the shark at the top of the first column)
  • the canvas is zoomed, but at a wrong offset (another item is displayed)

Basically, the code to get the item offsets seems broken in graphview.js. Another related bug that exhibits the issue is the hover handling in graph view: on the same data set, only the first-column items are correctly framed when hover'ed. The other do not react to mouse clicks. I guess that both behaviours have the same root.

We are aware of this issue and are working on a solution.

I have commit some changes this week that go some way to solving the offset issue although there does remain an intermittent problem calculating the correct column number. The hover handling has been fixed.

The latest changes should have fixed the offset issue.