.. highlightlang:: us .. _xygetstyle: XYGetStyle ========== .. index:: XYGetStyle .. us.tag XYGetStyle ENGLISH XYGet :ref:`XYGetStyle` returns the style value of a 2D dataset. .. function:: nStyle = XYGetStyle(hData) .. us.return **Return Value** *nStyle* is a 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.params **Parameters** .. uparam:: hData The handle of a dataset created with :ref:`XYCreate` or :ref:`TYCreate`. .. us.example **Example** :: if (XYGetStyle(hData) & XY_SHOWLINE) { MessageBox("Line visible") } if ( ! (XYGetStyle(hData) & XY_SHOWMARKER)) { MessageBox("Data point marker invisible") } .. seealso:: :ref:`overview-xy-datasets`, :ref:`XYSetStyle` :sub:`id-97735`