feat(export-graphs): moves legend and title to svg
This feature required height of graph being recalculated based on the legend size