d3pie
d3pie copied to clipboard
updateProp header.title.text Bug in Safari, IE
SVG text elements aren't updated via the .innerHTML property in Safari and IE
which is probably what your d3 call is using: d3.select("#" + this.cssPrefix + "title").html(value);
Instead, try the .textContent property.
Example:
This doesn't work in Safari and IE: pie.updateProp("header.title.text", config.header.title.text);
This does: var titletext = document.getElementById('p0_title'); titletext.textContent=config.header.title.text;