diff --git a/src/heatmap.js b/src/heatmap.js index becb017ec..8a36c08a7 100644 --- a/src/heatmap.js +++ b/src/heatmap.js @@ -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())