Opened 11 years ago

Closed 11 years ago

#4624 closed defect (fixed)

r5160 breaks burndown chart by making default line transparent

Reported by: Jason Winnebeck Owned by: Joachim Hoessler
Priority: normal Component: EstimationToolsPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.11


source:estimationtoolsplugin/trunk/estimationtools/ was modified in r5160 to change the default value of color from ff9900 to ff990000. Based on the Google Charts Color API, the fourth hex pair adjusts the transparency, of which 00 is fully transparent. Therefore, no lines appear on the graph when using default color option.

For example: [[BurndownChart(milestone=release, startdate=2009-02-02)]] Will draw a graph with a completely transparent line.

[[BurndownChart(milestone=release, startdate=2009-02-02, color=FF0000)]] Will draw a graph with a solid red line. Therefore, specifying a color always is a workaround.

The commit message says that the background was made transparent, but it appears that actually the line was made transparent and the background made solid opaque white.


  • estimationtools/

    88from import WikiMacroBase
    99import copy
    11 DEFAULT_OPTIONS = {'width': '800', 'height': '200', 'color': 'ff990000', 'bgcolor': 'ffffff', 'wecolor':'f1f1f1'}
     11DEFAULT_OPTIONS = {'width': '800', 'height': '200', 'color': 'ff9900', 'bgcolor': 'ffffff', 'wecolor':'f1f1f1'}
    1313class BurndownChart(WikiMacroBase):
    1414    """Creates burn down chart for selected tickets.

Attachments (0)

Change History (1)

comment:1 Changed 11 years ago by Joachim Hoessler

Resolution: fixed
Status: newclosed

(In [5265]) The lines shouldn't be transparent, but the default background. Fixes #4624.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Joachim Hoessler.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.