Skip to content

Commit

Permalink
dark theme bar plot cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
almossawi committed Sep 12, 2014
1 parent e6f728c commit 97d0e64
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions css/metrics-graphics-darkness.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,13 @@ h2.chart_title span {
stroke: #ccc;
}

.histogram .bar rect {
.histogram .bar rect,
.barplot rect.bar {
fill: #d8b307;
}

.histogram .bar rect.active {
.histogram .bar rect.active,
.barplot rect.bar.active {
fill: #b3960f;
}

Expand Down
1 change: 1 addition & 0 deletions src/charts/bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ charts.bar = function(args) {
var data = args.data[0];
var g = svg.append('g')
.classed('barplot', true);

g.selectAll('.bar')
.data(data).enter().append('rect')
.classed('bar', true)
Expand Down

0 comments on commit 97d0e64

Please sign in to comment.