Commit 62a0de05 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix data label update

parent bb03de60
......@@ -2934,9 +2934,9 @@
.style("stroke", 'none')
.style("fill-opacity", 0);
mainText
.text(function (d) { return defaultValueFormat(d.value); })
.style("fill-opacity", initialOpacityForText)
.transition().duration(duration)
.text(function (d) { return defaultValueFormat(d.value); })
.attr('x', xForText)
.attr('y', yForText)
.style("fill-opacity", opacityForText);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment