.. highlightlang:: us .. _xygetbarwidthpos: XYGetBarWidthPos ================ .. index:: XYGetBarWidthPos .. us.tag XYGetBarWidthPos ENGLISH XYGet :ref:`XYGetBarWidthPos` returns the width and offset of 2D dataset bars. .. function:: rvWidthPosType = XYGetBarWidthPos(hData) .. us.return **Return Value** *rvWidthPosType* is a vector with 3 elements: .. list-table:: :header-rows: 1 * - Value - Meaning * - rvWidthPosType[1] - Width in centimeters or a percentage of the diagram width. * - rvWidthPosType[2] - Offset in centimeters. * - rvWidthPosType[3] - 0 = width in percent, 1 = width in centimeters. .. us.params **Parameters** .. uparam:: hData The handle of a dataset created with :ref:`XYCreate` or :ref:`TYCreate`. .. seealso:: :ref:`overview-xy-datasets`, :ref:`TYCreate`, :ref:`XYCreate`, :ref:`XYSetBarWidthPos` :sub:`id-161140`