Defect #349
Pie Chart: legend is not drawn if a color is not specified
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
charting
Target version:
-
Start date:
07/29/2011
Due date:
% Done:
100%
Estimated time:
Browser (if web client):
Description
Sometimes when drawing a chart you don't want to select colors but let the tool generates colors for you (very nice feature when it uses gradients), but it doesn't work.
This works fine:
chartDef.slices = [
{percent: 29.5, color: '#FF0000', label: 'Thirty', legend: 'Thirty L'},
{percent: 25, color: '#00FF00', label: 'Twenty-Five', legend: 'Twenty-Five L'}
]
this does not (the legend is not drawn):
chartDef.slices = [
{percent: 29.5, label: 'Thirty', legend: 'Thirty L'},
{percent: 25, label: 'Twenty-Five', legend: 'Twenty-Five L'}
]
History
Updated by Patrick Talbot over 13 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
Fixed with v1.4.14