Trying to set a min height on the bars when using d3.stack.layout

11 views
Skip to first unread message

caesa...@domandtom.com

unread,
Sep 21, 2016, 4:49:17 PM9/21/16
to d3-js
I tried using the domain and range function but it seems not to work. I am looking to stop any of the rects (bars) height from going down a certain about. (ie never go below 20). Can anyone help steer me in the right direction? 

Seemant Kulleen

unread,
Sep 21, 2016, 7:51:23 PM9/21/16
to d3-js
Hi Caesar,

The answer is likely to depend on your bar chart implementation.  If you can post some code, it would help with answering your specific question.  If you can post code, please consider using blockbuilder.org to create a block

Cheers,
seemant


--
Oakland Finish Up Weekend
Be Amazed.  Be Amazing.
Get Mentored | Get Inspired | Finish Up
http://oaklandfinishup.com


On Wed, Sep 21, 2016 at 1:49 PM, <caesa...@domandtom.com> wrote:
I tried using the domain and range function but it seems not to work. I am looking to stop any of the rects (bars) height from going down a certain about. (ie never go below 20). Can anyone help steer me in the right direction? 

--
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.

Reply all
Reply to author
Forward
0 new messages