Opened 9 years ago

Closed 9 years ago

#12171 closed defect (fixed)

[patch][ccla]Chart: Wrong Location of Tooltip after Pie Chart re-rendering

Reported by: ruanqi Owned by: Eugene Lazutkin
Priority: high Milestone: 1.6
Component: Charting Version: 1.6.0b1
Keywords: pie, tooltip Cc: Adam Peller, rqruanqi@…
Blocked By: Blocking:

Description

The tooltip of pie shows at the old place after the pie has been updated and re-rendered. See the attached screen shot. It was caused by "this.angles" in action2d/Tooltip that was not cleaned when the plot reset.

PS: Testcase is tests/test_pie_smart_label.html

Attachments (3)

before_rerender.png (21.6 KB) - added by ruanqi 9 years ago.
tooltip is at the right place to the slice
after_rerender.png (21.5 KB) - added by ruanqi 9 years ago.
tooltip is at the last place before pie re-rendered
pie_tooltip.patch (1.1 KB) - added by Adam Peller 9 years ago.
patch from Rock (IBM, CCLA)

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by ruanqi

Attachment: before_rerender.png added

tooltip is at the right place to the slice

Changed 9 years ago by ruanqi

Attachment: after_rerender.png added

tooltip is at the last place before pie re-rendered

Changed 9 years ago by Adam Peller

Attachment: pie_tooltip.patch added

patch from Rock (IBM, CCLA)

comment:1 Changed 9 years ago by Eugene Lazutkin

Status: newassigned

comment:2 Changed 9 years ago by Eugene Lazutkin

Resolution: fixed
Status: assignedclosed

(In [23692]) charting: fixed tooltip-pie slice angles, thx Rock (IBM, CCLA)!, !strict, fixes #12171.

Note: See TracTickets for help on using tickets.