Skip to content

Commit

Permalink
Adding a compare by value viz
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Aug 7, 2015
1 parent b4e7623 commit fac6dd1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@ class TimeSeriesCompareViz(TimeSeriesViz):
verbose_name = "Time Series - Percent Change"
compare = 'percent'

class TimeSeriesCompareValueViz(TimeSeriesViz):
verbose_name = "Time Series - Value Change"
compare = 'value'

class TimeSeriesAreaViz(TimeSeriesViz):
verbose_name = "Time Series - Stacked Area Chart"
stacked=True
Expand Down Expand Up @@ -295,6 +299,7 @@ def render(self):
['table', TableViz],
['line', TimeSeriesViz],
['compare', TimeSeriesCompareViz],
['compare_value', TimeSeriesCompareValueViz],
['area', TimeSeriesAreaViz],
['bar', TimeSeriesBarViz],
['stacked_ts_bar', TimeSeriesStackedBarViz],
Expand Down

0 comments on commit fac6dd1

Please sign in to comment.