Skip to content

Commit

Permalink
Heatmap box-title should be updated on redraw
Browse files Browse the repository at this point in the history
  • Loading branch information
hhravn committed Dec 16, 2014
1 parent fdb6add commit 1d8de41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/heatmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ dc.heatMap = function (parent, chartGroup) {
.on('click', _chart.boxOnClick());

if (_chart.renderTitle()) {
gEnter.append('title')
.text(_chart.title());
gEnter.append('title');
boxes.selectAll(".box-group title").text(_chart.title());
}

dc.transition(boxes.selectAll('rect'), _chart.transitionDuration())
Expand Down

0 comments on commit 1d8de41

Please sign in to comment.