Skip to content Skip to sidebar Skip to footer

D3 4.9.1 Returns Different Value For .style("transform")

In d3 4.9.1 if I make call to get transform of element that has style like this: Operation: d3.select(this).style('t

Solution 1:

The release notes of v4.9.0 have it:

Change selection.style to return the inline style, if present.

Since you specified an inline style on your <g> this value will be returned when using version v4.9.1. Prior versions always returned the computed style.

Post a Comment for "D3 4.9.1 Returns Different Value For .style("transform")"