mirror of
https://github.com/apache/superset.git
synced 2026-06-07 00:29:17 +00:00
Specifying the fields for DistributionBarViz as it was showing donut
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user