.. highlightlang:: us .. _xyispolygonclosed: XYIsPolygonClosed ================= .. index:: XYIsPolygonClosed .. us.tag XYIsPolygonClosed ENGLISH XYGet :ref:`XYIsPolygonClosed` determines whether the polygon is closed. .. function:: bClosed = XYIsPolygonClosed(hData) .. us.return **Return Value** If *bClosed* is TRUE (1), the first data point will be joined to the last point and the enclosed area will be color filled. If FALSE (0), the area between the curve and a ground line parallel to the x-axis will be color filled. The height of the ground line can be set with the function :ref:`XYSetDropValue`. .. us.params **Parameters** .. uparam:: hData The handle of a dataset created with :ref:`XYCreate` or :ref:`TYCreate`. .. seealso:: :ref:`overview-xy-datasets`, :ref:`XYSetClosedPolygon`, :ref:`XYSetDropValue`, :ref:`XYShowFill`, :ref:`XYSetFillColor`, :ref:`XYCreate` :sub:`id-1560786`