x (x) {
        if (!arguments.length) {
            return this._x;
        }
        this._x = x;
        return this;
    }
Set or get x coordinate for legend widget.
@param  {Number} [x=0]
@returns {Number|Legend}