Skip to content

Commit

Permalink
Specifying the fields for DistributionBarViz as it was showing donut
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Oct 2, 2015
1 parent e3e5798 commit bc8f9d2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions panoramix/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,12 @@ def get_json_data(self):
class DistributionBarViz(DistributionPieViz):
viz_type = "dist_bar"
verbose_name = "Distribution - Bar Chart"
form_fields = [
'viz_type', 'metrics', 'groupby',
('since', 'until'),
'limit',
('show_legend', None),
]

def get_df(self):
df = super(DistributionPieViz, self).get_df()
Expand Down

0 comments on commit bc8f9d2

Please sign in to comment.