adambard / adambard/googlegantt.py

Bug rendering "Progress" shading under some conditions.

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
30
Forks
8
PR merge metrics
No merged PRs in 30d

Description

To reproduce:

```
from googlegantt import GanttChart, GanttCategory
from datetime import date

gc = GanttChart('Test Chart', width=650, height=200,
progress=date(2011, 02, 27))

on_time = GanttCategory('On Time', '0c0')
late = GanttCategory('Late', 'c00')
upcoming = GanttCategory('Upcoming', '00c')

t1 = gc.add_task('Task1', date(2012, 6, 20), date(2012, 7, 15),
category=on_time)
t2 = gc.add_task('Task2', depends_on=t1, duration=3, category=upcoming)
t3 = gc.add_task('Task3', date(2012,5,01), duration=50, category=late)

url = gc.get_url()
print url
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.