XYGetStyleΒΆ

XYGetStyle returns the style value of a 2D dataset.

nStyle = XYGetStyle(hData)

Return Value

nStyle is a 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

Parameters

hData

The handle of a dataset created with XYCreate or TYCreate.

Example

if (XYGetStyle(hData) & XY_SHOWLINE) {
    MessageBox("Line visible")
}

if ( ! (XYGetStyle(hData) & XY_SHOWMARKER)) {
    MessageBox("Data point marker invisible")
}

id-97735