By default, the legend appear underneath the chart using a reporting component (example XY Chart). You need to create a custom legend using the canvas component if the legend needs to be moved(from underneath) on the chart. A good example protocol to accomplish this is available at Protocols->Examples->Reporting->Canvas->Good Value Range on XY Chart