[getX() method Returns or sets the x coordinate of a legend as a fraction of the width of the chart. Read/write float. Returns float]