Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#7293 closed defect (fixed)

Chart2d.destroy() leaves some DOM elements around

Reported by: enzo Owned by: Eugene Lazutkin
Priority: high Milestone: 1.2.2
Component: Charting Version: 1.1.1
Keywords: Cc: Tom Trenka
Blocked By: Blocking:

Description

The method Chart2d.destroy() does not remove all the DOM elements of the chart: apparently it leaves around the ones that make the dojox.gfx.Surface foundation. The attached test case shows that, in order to fully destroy a chart and allow a new chart to be rebuilt in the same div, the destroy() method need to remove those elements as well.

Attachments (1)

testchartdestroy.html (2.1 KB) - added by enzo 11 years ago.

Download all attachments as: .zip

Change History (9)

Changed 11 years ago by enzo

Attachment: testchartdestroy.html added

comment:1 Changed 11 years ago by Eugene Lazutkin

Milestone: tbdfuture

Moving all open ticketd to the future.

comment:2 Changed 11 years ago by Eugene Lazutkin

Priority: normalhigh
Status: newassigned

comment:3 Changed 11 years ago by Eugene Lazutkin

Can be related to #7428.

comment:4 Changed 11 years ago by Eugene Lazutkin

Milestone: future1.2.1

comment:5 Changed 11 years ago by Eugene Lazutkin

#7863 is the pre-requisite for this ticket.

comment:6 Changed 11 years ago by Eugene Lazutkin

Resolution: fixed
Status: assignedclosed

(In [15483]) dojox.charting: adding the proper chart destruction, !strict, fixes #7293, fixes #7428.

comment:7 Changed 11 years ago by Eugene Lazutkin

(In [15484]) dojox.charting: adding the proper destroy() method to the widget, !strict, refs #7293, refs #7428.

comment:8 Changed 11 years ago by Eugene Lazutkin

Milestone: 1.2.11.2.2
Note: See TracTickets for help on using tickets.