Clean up graph to table switch
Make labels in legend wrap when to many