Opened 12 years ago

Closed 12 years ago

#5274 closed defect (fixed)

Axis labels not being cleaned up

Reported by: haysmark Owned by: Eugene Lazutkin
Priority: high Milestone: 1.0.2
Component: Charting Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

If you try to update an axis by adding the axis again to the chart, its labels are not properly destroyed.

Attachments (2)

test_chart2d_updating.html (2.5 KB) - added by haysmark 12 years ago.
Replacement of chart test demonstrating stacking labels
labels.JPG (3.0 KB) - added by haysmark 12 years ago.
Picture of stacking labels from FF2

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by haysmark

Attachment: test_chart2d_updating.html added

Replacement of chart test demonstrating stacking labels

Changed 12 years ago by haysmark

Attachment: labels.JPG added

Picture of stacking labels from FF2

comment:1 Changed 12 years ago by haysmark

Here is a dojo.query hack I am using for now. You could implement it into the widget.

var divs=dojo.query("div[style*='font-stretch']", chart.node);
for(var i=0; i<divs.length; i++){
	chart.node.removeChild(divs[i]);
}

comment:2 Changed 12 years ago by Eugene Lazutkin

Resolution: fixed
Status: newclosed

(In [11662]) Destroying existing chart elements (axis, series, plot) on assignment with the same name. Fixes #5274.

comment:3 Changed 12 years ago by Adam Peller

Resolution: fixed
Status: closedreopened

please check into 1.0.2 branch or change milestone to 1.1

comment:4 Changed 12 years ago by Eugene Lazutkin

Resolution: fixed
Status: reopenedclosed

done

Note: See TracTickets for help on using tickets.