Browse Source

Fix data label update

pull/104/head
Masayuki Tanaka 11 years ago
parent
commit
62a0de0578
  1. 2
      c3.js
  2. 2
      c3.min.js

2
c3.js

@ -2934,9 +2934,9 @@
.style("stroke", 'none') .style("stroke", 'none')
.style("fill-opacity", 0); .style("fill-opacity", 0);
mainText mainText
.text(function (d) { return defaultValueFormat(d.value); })
.style("fill-opacity", initialOpacityForText) .style("fill-opacity", initialOpacityForText)
.transition().duration(duration) .transition().duration(duration)
.text(function (d) { return defaultValueFormat(d.value); })
.attr('x', xForText) .attr('x', xForText)
.attr('y', yForText) .attr('y', yForText)
.style("fill-opacity", opacityForText); .style("fill-opacity", opacityForText);

2
c3.min.js vendored

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