#18988 closed defect (fixed)
(1.12.2) dojox.charting.plot2d.Pie ignores `radius` and 0 plot values.
Reported by: | mwistrand | Owned by: | dylan |
---|---|---|---|
Priority: | high | Milestone: | 1.12.3 |
Component: | Charting | Version: | 1.12.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
When rendering a chart with options.label
set to true
, and with options.labelStyle
set to "columns"
, any options.radius
value is ignored. Further, labels for 0
plot values are never rendered, and in some cases result in the following error thrown from Pie.js L727:
TypeError: Cannot read property 'left' of undefined
As an example, this error can be generated in dojox/charting/tests/test_pie_smart_label.html
by changing the first value (12.1
) to 0
. With v1.11, it was possible to display labels for empty (y: 0
) plot values, and it is still desirable to be able to do so.
Change History (3)
comment:1 Changed 4 years ago by
Component: | General → Charting |
---|---|
Milestone: | tbd → 1.12.3 |
Owner: | set to dylan |
Priority: | undecided → high |
Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.
PR at https://github.com/dojo/dojox/pull/266 .