Opened 12 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: |
Description
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>dojo.require('dojox.charting.Chart2D');</SCRIPT> <SCRIPT>dojo.require('dojox.charting.plot2d.Pie');</SCRIPT> <SCRIPT>dojo.require('dojox.charting.action2d.Highlight');</SCRIPT> <SCRIPT>dojo.require('dojox.charting.action2d.MoveSlice');</SCRIPT> <SCRIPT>dojo.require('dojox.charting.action2d.Tooltip');</SCRIPT> <SCRIPT>dojo.require('dojox.charting.action2d.Magnify');</SCRIPT> <SCRIPT>dojo.require('dojox.charting.action2d.Shake');</SCRIPT> <SCRIPT>dojo.require('dojox.charting.themes.MiamiNice');</SCRIPT> <SCRIPT>dojo.require('dojox.charting.widget.Legend');</SCRIPT> <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();}); </SCRIPT> </DIV>
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
Milestone: | tbd → future |
---|---|
Status: | new → assigned |
comment:2 Changed 10 years ago by
Cc: | cjolif added |
---|---|
Milestone: | future → 1.7 |
Resolution: | → fixed |
Status: | assigned → closed |
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.
Next time attach a complete test file, rather than inlining it in the description.