Skip to content

Commit

Permalink
display stacked data in stacked bar example
Browse files Browse the repository at this point in the history
fixes #1087, at least for now
"outer datum" is probably the proper solution here
  • Loading branch information
gordonwoodhull committed Jan 11, 2016
1 parent 5bebcf7 commit 8643f7f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/examples/stacked-bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
.margins({left: 50, top: 10, right: 10, bottom: 20})
.brushOn(false)
.clipPadding(10)
.title(function(d) {
return d.key + '[' + this.layer + ']: ' + d.value[this.layer];
})
.yAxisLabel("This is the Y Axis!")
.dimension(runDimension)
.group(speedSumGroup, "1", sel_stack('1'))
Expand Down

0 comments on commit 8643f7f

Please sign in to comment.