Opened 10 years ago
Closed 10 years ago
#12334 closed defect (fixed)
[patch][ccla]"dyn is undefined" error when add legend to pie chart if any slice takes 0 percent
Reported by: | ruanqi | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | Charting | Version: | 1.6.0rc1 |
Keywords: | Cc: | Adam Peller, [email protected]…, [email protected]…, [email protected]… | |
Blocked By: | Blocking: |
Description
(1) Create a Pie chart.
(2) Add a data series as below chart0.addSeries("Series A", [{ y: 0 },{ y: 1 },{ y: 3 },{ y: 4 }],{plot: "default"});
(3) "dyn is undefined" error throw out when add legend like below var legend0 = new dojox.charting.widget.Legend({chart: chart0, horizontal: false},"legend0");
(4) Investigation shows that this error occurs when any slice of the pie takes 0 percent.
Expectation: Show all the legends even if any slice takes 0 percent.
Attachments (3)
Change History (8)
Changed 10 years ago by
Attachment: | pieLegend.png added |
---|
Changed 10 years ago by
Attachment: | pieLegendIssue.patch added |
---|
comment:1 Changed 10 years ago by
It seems this error has been already reported: #12228. Please close the previous one.
comment:2 Changed 10 years ago by
Milestone: | tbd → 1.6 |
---|---|
Priority: | high → normal |
severity: | major → normal |
Status: | new → assigned |
comment:3 Changed 10 years ago by
Milestone: | 1.6 → 1.7 |
---|
comment:4 Changed 10 years ago by
I got a complaint about that one as well. Would be good to get it in 1.7.
comment:5 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
patch from Rock (IBM, CCLA)