Skip to content

Commit

Permalink
fix index error for bar charts (#2258)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alanna Scott committed Feb 24, 2017
1 parent 34f6807 commit c85c998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/viz.py
Expand Up @@ -1142,7 +1142,7 @@ def get_data(self, df):
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)
Expand Down

0 comments on commit c85c998

Please sign in to comment.