Set the graph object width in axes units.
SetDX(DX)
object dimension
None
EX1
import PyOrigin #active a graphs with legend Graph=PyOrigin.ActiveLayer() #get the demision of the legend print(Graph.GraphObjects('legend').GetDX(),Graph.GraphObjects('legend').GetDY()) Graph.GraphObjects('legend').SetDX(5)
GraphObject::GetDX