adambard / adambard/googlegantt.py

Bug rendering "Progress" shading under some conditions.

未关闭
#2 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
30
派生
8
PR 合并指标
30 天内没有已合并 PR

描述

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
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。