Skip to content

Commit

Permalink
Making all nvd3 timeseries have the full fieldset
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Jan 6, 2016
1 parent ee73b6f commit 51e9cb3
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions panoramix/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -750,50 +750,17 @@ def get_json_data(self):
class NVD3TimeSeriesBarViz(NVD3TimeSeriesViz):
viz_type = "bar"
verbose_name = "Time Series - Bar Chart"
fieldsets = (
{
'label': None,
'fields': (
'granularity', ('since', 'until'),
'metrics',
'groupby', 'limit',
('rolling_type', 'rolling_periods'),
'show_legend',
)
},)


class NVD3CompareTimeSeriesViz(NVD3TimeSeriesViz):
viz_type = 'compare'
verbose_name = "Time Series - Percent Change"
fieldsets = (
{
'label': None,
'fields': (
'granularity', ('since', 'until'),
'metrics',
'groupby', 'limit',
('rolling_type', 'rolling_periods'),
'show_legend',
)
},)


class NVD3TimeSeriesStackedViz(NVD3TimeSeriesViz):
viz_type = "area"
verbose_name = "Time Series - Stacked"
sort_series = True
fieldsets = (
{
'label': None,
'fields': (
'granularity', ('since', 'until'),
'metrics',
'groupby', 'limit',
('rolling_type', 'rolling_periods'),
('rich_tooltip', 'show_legend'),
)
},)


class DistributionPieViz(NVD3Viz):
Expand Down

0 comments on commit 51e9cb3

Please sign in to comment.