svg - D3 transform scale and translate -


i tried understand how transform working in d3 think didn't it.

does scale change size of svg object ? meaning if give big number size of object bigger ? translate move object 1 place different place ? tried didn't work thought.

could please explain me how should work ?

the transforms svg transforms (for details, have @ standard). basically, scale , translate apply respective transformations coordinate system, should work expected in cases. can apply more 1 transform (e.g. first scale , translate) , result might not expect.

when working transforms, keep in mind transform coordinate system. in principle, true -- if apply scale > 1 object, bigger , translate move different position relative other objects.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -