diff --git a/src/svg/charts/schedule.css b/src/svg/charts/schedule.css deleted file mode 100644 index 729adf4..0000000 --- a/src/svg/charts/schedule.css +++ /dev/null @@ -1,81 +0,0 @@ -/* - -$Id$ - -default fill styles for multiple datasets (probably only use a single dataset -on this graph though) - -*/ - -.key1,.fill1{ - fill: #ff0000; - fill-opacity: 0.5; - stroke: none; - stroke-width: 0.5px; -} -.key2,.fill2{ - fill: #0000ff; - fill-opacity: 0.5; - stroke: none; - stroke-width: 1px; -} -.key3,.fill3{ - fill: #00ff00; - fill-opacity: 0.5; - stroke: none; - stroke-width: 1px; -} -.key4,.fill4{ - fill: #ffcc00; - fill-opacity: 0.5; - stroke: none; - stroke-width: 1px; -} -.key5,.fill5{ - fill: #00ccff; - fill-opacity: 0.5; - stroke: none; - stroke-width: 1px; -} -.key6,.fill6{ - fill: #ff00ff; - fill-opacity: 0.5; - stroke: none; - stroke-width: 1px; -} -.key7,.fill7{ - fill: #00ffff; - fill-opacity: 0.5; - stroke: none; - stroke-width: 1px; -} -.key8,.fill8{ - fill: #ffff00; - fill-opacity: 0.5; - stroke: none; - stroke-width: 1px; -} -.key9,.fill9{ - fill: #cc6666; - fill-opacity: 0.5; - stroke: none; - stroke-width: 1px; -} -.key10,.fill10{ - fill: #663399; - fill-opacity: 0.5; - stroke: none; - stroke-width: 1px; -} -.key11,.fill11{ - fill: #339900; - fill-opacity: 0.5; - stroke: none; - stroke-width: 1px; -} -.key12,.fill12{ - fill: #9966FF; - fill-opacity: 0.5; - stroke: none; - stroke-width: 1px; -} diff --git a/src/svg/charts/schedule.py b/src/svg/charts/schedule.py index b60266f..6ae2c30 100644 --- a/src/svg/charts/schedule.py +++ b/src/svg/charts/schedule.py @@ -115,6 +115,8 @@ class Schedule(Graph): scale_x_integers = False bar_gap = True + css_file = 'bar.css' + def add_data(self, data): """ Add data to the plot.