Skip to content

Commit

Permalink
title of boxes should update when data changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hhravn committed Dec 16, 2014
1 parent 552e8e9 commit 6269b7e
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 @@ -181,8 +181,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 6269b7e

Please sign in to comment.