.. highlightlang:: us .. _xysetstyle: XYSetStyle ========== .. index:: XYSetStyle .. us.tag XYSetStyle ENGLISH XYSet :ref:`XYSetStyle` sets the style attributes for a 2D dataset. Datasets with more than 1024 points can only display a connecting line (``XY_SHOWLINE``) and data point symbols (``XY_SHOWMARKER``). .. function:: bool = XYSetStyle(hData, nStyle) .. us.return **Return Value** *bool* is TRUE (1), if the style could be set, otherwise FALSE (0). .. us.params **Parameters** .. uparam:: hData The handle of a dataset created with :ref:`XYCreate` or :ref:`TYCreate`. .. uparam:: nStyle *nStyle* is an OR combination of the following values: .. list-table:: :header-rows: 1 * - Value - Meaning * - XY_SHOWLINE - Line * - XY_SHOWMARKER - Data Point symbols * - XY_SHOWDROPLINE - Drop Lines * - XY_SHOWBARS - Bars * - XY_SHOWERRORBARS - Error bars * - XY_SHOWFILLSOLID - Solid Color Fill under curve * - XY_SHOWFILLHATCH - Hatch Fill under curve .. us.example **Example** :: XYSetStyle(hData, XY_SHOWLINE | XY_SHOWMARKER); .. seealso:: :ref:`overview-xy-datasets`, :ref:`XYGetStyle` :sub:`id-2057252`