Skip to content

Commit

Permalink
fixed issue with hidden first stacked bar
Browse files Browse the repository at this point in the history
First stacked bar was hidden due to an invalid
css attribute.
  • Loading branch information
ronniedada committed Jul 29, 2013
1 parent c155276 commit 812dbba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/js/directives.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,12 +235,12 @@ function stackedBar(data, scope, args) {
scope.y.domain([0, d3.max(data, function(d) { return d.total; })]);

scope.svg.append("g")
.attr("class", "x axis")
.attr("class", "xaxis axis")
.attr("transform", "translate(0," + scope.height + ")")
.call(scope.xAxis);

scope.svg.append('g')
.attr('class', 'y axis')
.attr('class', 'yaxis axis')
.call(scope.yAxis);

scope.xlabel = scope.svg.selectAll(".x")
Expand Down

0 comments on commit 812dbba

Please sign in to comment.