XYSetStyleΒΆ

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).

bool = XYSetStyle(hData, nStyle)

Return Value

bool is TRUE (1), if the style could be set, otherwise FALSE (0).

Parameters

hData

The handle of a dataset created with XYCreate or TYCreate.

nStyle

nStyle is an OR combination of the following values:

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

Example

XYSetStyle(hData, XY_SHOWLINE | XY_SHOWMARKER);

id-2057252