function createBackgroundEl(coord, isHorizontalOrRadial, layout) {
    var ElementClz = coord.type === 'polar' ? Sector : Rect;
    return new ElementClz({
        shape: createBackgroundShape(isHorizontalOrRadial, layout, coord),
        silent: true,
        z2: 0
    });
}
Either name or id should be passed as input here.
If both of them are defined, id is used.

@param {string|undefined} name name of data
@param {number|undefined} id dataIndex of data