mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
fix index error for bar charts (#2258)
This commit is contained in:
parent
34f68073a2
commit
c85c9988df
@ -1142,7 +1142,7 @@ class DistributionBarViz(DistributionPieViz):
|
||||
d = {
|
||||
"key": series_title,
|
||||
"values": [
|
||||
{'x': str(row.index[i]), 'y': v}
|
||||
{'x': str(i), 'y': v}
|
||||
for i, v in ys.iteritems()]
|
||||
}
|
||||
chart_data.append(d)
|
||||
|
Loading…
Reference in New Issue
Block a user