Specifying the fields for DistributionBarViz as it was showing donut
This commit is contained in:
parent
e3e5798ed4
commit
bc8f9d2e1a
|
|
@ -543,6 +543,12 @@ class DistributionPieViz(NVD3Viz):
|
|||
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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue