Opened 10 years ago

Last modified 10 years ago

#14526 closed defect

Tooltips do not position correctly on charts after scroll — at Version 1

Reported by: zebulonevans Owned by: Eugene Lazutkin
Priority: blocker Milestone: 1.7.2
Component: Charting Version: 1.7.1
Keywords: chart tooltip Cc:
Blocked By: Blocking:

Description (last modified by Adam Peller)

Steps to reproduce the problem.

  1. Put a bar chart or pie chart on a page with a tooltip.
  2. Mouse over the chart to show the tooltip.
  3. Mouse off the tooltip so it hides
  4. Scroll the page down.
  5. Mouse over the tooltip again

The tooltip will remain in the original position.

Expected Behavior:

The tooltip should appear lower on the page not in the original position.

This was introduced due to ticket #12392 around line 141 in Tooltip.js when this change occurred:

var lt = dojo.coords(this.chart.node, true);

to

var lt = this.chart.getCoords();

Change History (3)

Changed 10 years ago by zebulonevans

Attachment: 20.png added

Initial Tooltip Mouseover

Changed 10 years ago by zebulonevans

Attachment: 37.png added

Tooltip Mouseover After Scroll

comment:1 Changed 10 years ago by Adam Peller

Component: DojoxCharting
Description: modified (diff)
Owner: changed from Adam Peller to Eugene Lazutkin
Note: See TracTickets for help on using tickets.