Browse Source

Merge pull request #1273 from alycklama/master

Fixed bug with tooltip names not being processed with $$.getTargetSel…
pull/1177/merge
Masayuki Tanaka 9 years ago
parent
commit
9f051237dc
  1. 2
      c3.js

2
c3.js

@ -3843,7 +3843,7 @@
name = nameFormat(d[i].name, d[i].ratio, d[i].id, d[i].index);
bgcolor = $$.levelColor ? $$.levelColor(d[i].value) : color(d[i].id);
text += "<tr class='" + CLASS.tooltipName + "-" + d[i].id + "'>";
text += "<tr class='" + CLASS.tooltipName + $$.getTargetSelectorSuffix(d[i].id) + "'>";
text += "<td class='name'><span style='background-color:" + bgcolor + "'></span>" + name + "</td>";
text += "<td class='value'>" + value + "</td>";
text += "</tr>";

Loading…
Cancel
Save