I am trying to create a chart with 2 legend boxes but the first time I call the legend function it disregards that and only creates the second one. I\'m not sure what I am doing