wip(graphs): moves title and legend to svg