Set the text for graph object.
SetText(Text)
text content for the graph object (i.e. Legend, Text object).
EX1
import PyOrigin #active a graphs with legend Graph=PyOrigin.ActiveLayer() #Set the left margin of the object Graph.GraphObjects('Legend').SetText('\l(1) Data_1')
GraphObject::GetText