164
rated 0 times
[
169]
[
5]
/ answers: 1 / hits: 117371
/ 8 Years ago, mon, october 24, 2016, 12:00:00
Below piece of code does not work in IE 11, it throws a syntax error in the console
g.selectAll(.mainBars)
.append(text)
.attr(x, d => (d.part == primary ? -40 : 40))
.attr(y, d => +6)
.text(d => d.key)
.attr(text-anchor, d => (d.part == primary ? end : start));
Using d3.js
bipartite chart for visualization
This code causing the issue in above statement d=>(d.part==primary? -40: 40)
More From » internet-explorer