Opened 13 years ago

Closed 10 years ago

#9529 closed defect (fixed)

Error in IE with Chart

Reported by: JohnCrenshaw Owned by: Eugene Lazutkin
Priority: high Milestone: 1.7
Component: Charting Version: 1.3.1
Keywords: chart IE null Cc: cjolif
Blocked By: Blocking:


Reproducible in IE 6, 7, and 8 using Dojo 1.3.1 (and at least as far back as 1.2.0.)

Error appears to be some sort of null variable.

Other browsers have no problem.

Code to reproduce:

<DIV style="WIDTH: 100px; HEIGHT: 100px" id=progresspiechart_51>









<SCRIPT type=text/javascript>
dojo.addOnLoad(function(){var chart = new dojox.charting.Chart2D("progresspiechart_51");chart.setTheme

(dojox.charting.themes.MiamiNice);chart.fill = [255,255,255,0.0];chart.theme.plotarea.fill = 

[255,255,255,0.0];chart.addPlot("default", {"name":"default","type":"Pie","font":"normal normal 9pt 

Tahoma","fontColor":"black","labelOffset":-40,"radius":35});;chart.addSeries("Series A", 

[{"y":100,"text":"","stroke":"black","tooltip":"Remaining (100%)"},

{"y":0,"text":"","stroke":"black","tooltip":"Completed (0%)"}]);;var chartanim2 = new 

dojox.charting.action2d.Highlight(chart, "default");var chartanim3 = new 

dojox.charting.action2d.Tooltip(chart, "default");chart.render();});

I was unable to find a way to adjust the above code so that it will work, though various other charting samples appear to work without trouble.

Change History (2)

comment:1 Changed 12 years ago by Eugene Lazutkin

Milestone: tbdfuture
Status: newassigned

Next time attach a complete test file, rather than inlining it in the description.

comment:2 Changed 10 years ago by cjolif

Cc: cjolif added
Milestone: future1.7
Resolution: fixed
Status: assignedclosed

I don't reproduce that issue anymore in 1.7 on IE8. Feel free to reopen with more details if you still reproduce.

Note: See TracTickets for help on using tickets.