Scatter.customAttrs was being ignored by Scatter.view.
The behavior of simply appending the customAttrs was a bit surprising as Svg.Attributes.style does not behave like Html.Attributes.style; In Svg the last style will override the others instead of being accumulated into a list of styles. I've included customAttrs last so that its style takes precedence, which was a bit confusing when it overrode Scatter.fill and Scatter.stroke since those get converted to style.
Scatter.customAttrs
was being ignored byScatter.view
.The behavior of simply appending the
customAttrs
was a bit surprising asSvg.Attributes.style
does not behave likeHtml.Attributes.style
; InSvg
the last style will override the others instead of being accumulated into a list of styles. I've includedcustomAttrs
last so that its style takes precedence, which was a bit confusing when it overrodeScatter.fill
andScatter.stroke
since those get converted tostyle
.