Opened 11 years ago

Closed 10 years ago

#12908 closed defect (fixed)

Pie Chart & Legend does not render when all slices with a value of 0.

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

Description (last modified by cjolif)

previous ticket #12334 partially addressed fixing this problem in 1.7. This ticket is being opened for addressing remaining known issues with small values.

This is kind of a degenerated use-case however when end user dynamically configure their charts it might happen.

To be decided what it should render? An empty circle?

This is low priority cause can be workarounded at application level by forbiding that case.

More problematic issue with only some 0 slices is another related issue.

Attachments (1)

test_pie2d_allzeroslice.html (1.6 KB) - added by cjolif 11 years ago.
test case

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by cjolif

test case

comment:1 Changed 10 years ago by cjolif

Status: newassigned

comment:2 Changed 10 years ago by cjolif

Description: modified (diff)

comment:3 Changed 10 years ago by cjolif

A degenerated pie (all slices = 0) will draw an empty circle instead of nothing at all.

comment:4 Changed 10 years ago by cjolif

Resolution: fixed
Status: assignedclosed

In [28302]:

fixes #12908. !strict.

Note: See TracTickets for help on using tickets.