Simple-charts icon indicating copy to clipboard operation
Simple-charts copied to clipboard

Line chart doesn't resize depending on legend

Open henryjameslau opened this issue 5 years ago • 0 comments

Add in something like this to line chart tempate, from clustered bar

legend_height = d3.select("#legend").node().getBBox()
d3.select('#chart').attr("height",  height + margin.top + margin.bottom + legend_height.height)

henryjameslau avatar Nov 14 '19 12:11 henryjameslau