From 1d8de41215abdadc3d752ffc95b15d8eb199a4ce Mon Sep 17 00:00:00 2001 From: hhravn Date: Tue, 16 Dec 2014 10:44:42 +0400 Subject: [PATCH] Heatmap box-title should be updated on redraw --- src/heatmap.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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())