javascript - D3: Overflow in SVG group element -


i have following svg:

enter image description here

the legend block on right top (highlighted red rectangle) group element containing legends line charts on left.

the problem facing number of these legends dynamic , added 1 below other. svg has fixed height (as of now) in pixels. so, worry after point these legends overflow enclosing svg element.

is there way of adding vertical scrollbar legend group element number of legends can incorporated? or should i, in way make svg height dynamic according number of legends?

what best way tackle problem?


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -