Browse Source

added 'index' to tooltip:format:value arguments

pull/195/head
Peter Göbel 11 years ago
parent
commit
a81982f27d
  1. 2
      c3.js
  2. 4
      c3.min.js

2
c3.js

@ -264,7 +264,7 @@
}
name = d[i].name;
value = valueFormat(d[i].value, d[i].ratio, d[i].id);
value = valueFormat(d[i].value, d[i].ratio, d[i].id, d[i].index);
text += "<tr class='" + CLASS.tooltipName + "-" + d[i].id + "'>";
text += "<td class='name'><span style='background-color:" + color(d[i].id) + "'></span>" + name + "</td>";

4
c3.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save