D3 bounding box v4

90 views
Skip to first unread message

Zlatan Sadibasic

unread,
Sep 22, 2016, 10:12:48 AM9/22/16
to d3-js

How can we do something like this in version 4 of d3: http://jsfiddle.net/d3wxP/1/ because some translate or scale does not exist:


Mike Bostock

unread,
Sep 22, 2016, 10:20:26 AM9/22/16
to d3-js
Try transform.toString:

https://github.com/d3/d3-zoom/blob/master/README.md#transform_toString
On Thu, Sep 22, 2016 at 7:12 AM Zlatan Sadibasic <zsad...@gmail.com> wrote:

How can we do something like this in version 4 of d3: http://jsfiddle.net/d3wxP/1/ because some translate or scale does not exist:


--
You received this message because you are subscribed to the Google Groups "d3-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to d3-js+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Zlatan Sadibasic

unread,
Sep 22, 2016, 11:04:57 AM9/22/16
to d3...@googlegroups.com
Would you be able to clone to fork off that fiddle with an example? I am a novice at this and am barely keeping my head afloat with all these methods.

On Thu, Sep 22, 2016 at 10:19 AM, Mike Bostock <mi...@ocks.org> wrote:
On Thu, Sep 22, 2016 at 7:12 AM Zlatan Sadibasic <zsad...@gmail.com> wrote:

How can we do something like this in version 4 of d3: http://jsfiddle.net/d3wxP/1/ because some translate or scale does not exist:


--
You received this message because you are subscribed to the Google Groups "d3-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to d3-js+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "d3-js" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/d3-js/0f6zYHNWIv4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to d3-js+unsubscribe@googlegroups.com.

Mike Bostock

unread,
Sep 22, 2016, 11:46:29 AM9/22/16
to d3...@googlegroups.com

On Thu, Sep 22, 2016 at 8:04 AM Zlatan Sadibasic <zsad...@gmail.com> wrote:
Would you be able to clone to fork off that fiddle with an example? I am a novice at this and am barely keeping my head afloat with all these methods.

On Thu, Sep 22, 2016 at 10:19 AM, Mike Bostock <mi...@ocks.org> wrote:
On Thu, Sep 22, 2016 at 7:12 AM Zlatan Sadibasic <zsad...@gmail.com> wrote:

How can we do something like this in version 4 of d3: http://jsfiddle.net/d3wxP/1/ because some translate or scale does not exist:


--
You received this message because you are subscribed to the Google Groups "d3-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to d3-js+un...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "d3-js" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/d3-js/0f6zYHNWIv4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to d3-js+un...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "d3-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to d3-js+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages