XYSetClosedPolygonΒΆ

XYSetClosedPolygon sets which part of the area under the curve will be closed and color filled.

bool = XYSetClosedPolygon(hData, bClosed)

Return Value

If the function succeeds, the return value bool is TRUE (1); otherwise it is FALSE (0).

Parameters

hData

The handle of a dataset created with XYCreate or TYCreate.

bClosed

If bClosed is TRUE (1), the first data point will be joine to the last data 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 XYSetDropValue.

id-1161248