Browse Source

Fix data label when data updated - #99

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

4
c3.js

@ -2932,11 +2932,11 @@
.attr("class", classText)
.attr('text-anchor', function (d) { return __axis_rotated ? (d.value < 0 ? 'end' : 'start') : 'middle'; })
.style("stroke", 'none')
.style("fill-opacity", 0)
.text(function (d) { return defaultValueFormat(d.value); });
.style("fill-opacity", 0);
mainText
.style("fill-opacity", initialOpacityForText)
.transition().duration(duration)
.text(function (d) { return defaultValueFormat(d.value); })
.attr('x', xForText)
.attr('y', yForText)
.style("fill-opacity", opacityForText);

2
c3.min.js vendored

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