Opened 8 years ago

Closed 8 years ago

#15021 closed defect (fixed)

charting animation error

Reported by: Martin Repta Owned by: cjolif
Priority: low Milestone: 1.8
Component: Charting Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:

Description

Hi, IE7/8 throws an exception when you try to use animation with parameter includeZero set to false.

Here is snippet of code:

var makeChart = function(node){
	(new dojox.charting.Chart2D(node)).
		addAxis("x", {fixLower: "major", fixUpper: "major", includeZero: false}).
		addAxis("y", {vertical: true, fixLower: "major", fixUpper: "major", natural: true}).
		addPlot("default", {type: "Bars", animate: { duration: 1800 }}).
		addSeries("Series A",
				[10,50,100]
		).
		setTheme(Claro).
		resize(500,200);
};

Attachments (1)

test_15012.html (1.1 KB) - added by cjolif 8 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 8 years ago by bill

Component: DojoxCharting
Owner: changed from Adam Peller to Eugene Lazutkin

comment:2 Changed 8 years ago by cjolif

Hi martineko, in order to save me some time can you please attach complete html files that do reproduce the issues instead of code snippets?

Thanks!!

comment:3 Changed 8 years ago by cjolif

Milestone: tbd1.8
Owner: changed from Eugene Lazutkin to cjolif
Priority: undecidedlow
Status: newassigned

Ok. I reproduce with the attached case. Note that the exceptions seems harmless.

Changed 8 years ago by cjolif

Attachment: test_15012.html added

comment:4 Changed 8 years ago by cjolif

This probably relates to #13423

comment:5 Changed 8 years ago by cjolif

Resolution: fixed
Status: assignedclosed

In [28195]:

fixes #13423, #15021. Avoid dividing by zero during animation.

Note: See TracTickets for help on using tickets.