.. highlightlang:: us .. index:: XYSetSelect .. _xysetselect: XYSetSelect =========== .. us.tag XYSetSelect ENGLISH XYSet :ref:`XYSetSelect` selects a dataset. The selected dataset will be marked in the diagram with a small rectangle. .. function:: bool = XYSetSelect(hData, bSelect) .. us.return **Return Value** If the function succeeds, the return value *bool* is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: hData The handle of a dataset created with :ref:`XYCreate` or :ref:`TYCreate`. .. uparam:: bSelect *bSelect* is TRUE (1), when the dataset should be selected and FALSE (0), if it should not. .. seealso:: :ref:`overview-xy-datasets`, :ref:`XYIsSelected`, :ref:`XYCreate` :sub:`id-1531891`