Created a model for legends
Draw legend on top of graph. Looks ugly for now