Skip to content

Commit

Permalink
fix negative bar width
Browse files Browse the repository at this point in the history
  • Loading branch information
salivian committed Sep 15, 2016
1 parent ceff956 commit f703a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extra/nc_web_viewer/GroupedBarChart.js
Expand Up @@ -96,7 +96,7 @@ GroupedBarChart.prototype.redraw = function(){
.append("svg:title"); //tooltip

//set shape
bars.attr('x', 1)
bars.attr('x', 0)
.attr('y', function(d){
return y0(d.cat) + y1(d.color);
}) //selection group
Expand Down

0 comments on commit f703a87

Please sign in to comment.