Skip to content

Commit

Permalink
Bugfix, distributino bar chart shows NaN on xAxis
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Oct 2, 2015
1 parent bb535a3 commit e1900fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ env
dist
panoramix.egg-info/
app.db
*.bak
3 changes: 1 addition & 2 deletions panoramix/static/widgets/viz_nvd3.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ function viz_nvd3(token_name, json_callback) {
.showControls(true) //Allow user to switch between 'Grouped' and 'Stacked' mode.
.groupSpacing(0.1); //Distance between each group of bars.
chart.xAxis
.showMaxMin(false)
.tickFormat(function (d) {return tickMultiFormat(UTC(new Date(d))); });
.showMaxMin(false);
chart.yAxis.tickFormat(d3.format('.3s'));

} else if (viz_type === 'pie') {
Expand Down

0 comments on commit e1900fc

Please sign in to comment.