Opened 8 years ago

Closed 8 years ago

#12770 closed defect (fixed)

[patch][ccla]Legend icon render boxed-X when corresponding data is very small

Reported by: ruanqi Owned by: Douglas Hays
Priority: high Milestone: 1.7
Component: Charting Version: 1.6.0rc1
Keywords: legend Cc: josha@…
Blocked By: Blocking:

Description

ClusteredColumns?(as with other columns and bars) plot would not been drawn if its width is less than 1px, and the fill and stroke of the series are null. So there will be a boxed-X in the legend without the fill and stroke of corresponding series. However, the number is larger than 0.

Attachments (3)

smallDataNotRender.png (2.2 KB) - added by ruanqi 8 years ago.
the series is "A": 4, "B":0.32, "C": 0.007
boxed-X-for-small-data.patch (3.3 KB) - added by Adam Peller 8 years ago.
patch from Rock (IBM, CCLA)
boxed-X for small data.patch (3.3 KB) - added by ruanqi 8 years ago.
against the latest trunk

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by ruanqi

Attachment: smallDataNotRender.png added

the series is "A": 4, "B":0.32, "C": 0.007

Changed 8 years ago by Adam Peller

patch from Rock (IBM, CCLA)

Changed 8 years ago by ruanqi

against the latest trunk

comment:1 Changed 8 years ago by Douglas Hays

Milestone: tbd1.7
Owner: changed from Eugene Lazutkin to Douglas Hays
Status: newassigned

comment:2 Changed 8 years ago by Douglas Hays

Resolution: fixed
Status: assignedclosed

(In [25737]) Fixes #12770. For bars, check for width >= 0 instead of 1, and for columns, height >= 0 instead of 1. !strict

Note: See TracTickets for help on using tickets.