setX

setX(float value) function

Returns or sets the x coordinate of a legend as a fraction of the width of the chart. Read/write float.