You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have pie charts with lots of slices and so lots of legends, It will be great to have a way within dc library for it to add a scroll bar. It works on the above example by wrapping the svg with a div and setting overflow: auto. I was not able to do the same as dc legend is in a "g" element. Is there a work around for this?
The text was updated successfully, but these errors were encountered:
rrameshkumar76
changed the title
Feature Request: Scroll bar for chart legends(dc.legends).
Feature Request: Scroll bar for chart legends(dc.legend).
May 17, 2017
It's a good idea. SVG doesn't generally support scrollbars within the content, but I believe you can pan specific areas of the canvas using d3.zoom.
Another possibility is to have a miniature version of the legend which can be brushed or panned along, as suggested in #1259. (This is sort of a super-scrollbar.)
It would be great to have ability to have a scroll bar for chart legends like in http://jsfiddle.net/ramseyfeng/80afu8kc/
We have pie charts with lots of slices and so lots of legends, It will be great to have a way within dc library for it to add a scroll bar. It works on the above example by wrapping the svg with a div and setting overflow: auto. I was not able to do the same as dc legend is in a "g" element. Is there a work around for this?
The text was updated successfully, but these errors were encountered: