XYGetFillColorΒΆ

XYGetFillColor returns fill color for the area under the curve.

rvColorRGB = XYGetFillColor(hData)
rvColorARGB = XYGetFillColor(hData, bTransparency)

Return Value

rvColorRGB is a vector with 3 elements:

Value

Meaning

rvColorRGB[1]

Red (0 to255)

rvColorRGB[2]

Green (0 to 255)

rvColorRGB[3]

Blue (0 to 255)

If bTransparency is different from 0, rvColorARGB is a vector with 4 elements:

Value

Meaning

rvColorARGB[1]

Transparency value (alpha value) between 0 and 255. 0 corresponds to complete transparency and 255 means opaque.

rvColorARGB[2]

Red (0 to 255)

rvColorARGB[3]

Green (0 to 255)

rvColorARGB[4]

Blue (0 to 255)

Parameters

hData

The handle of a dataset created with XYCreate or TYCreate.

History

Version

Description

R2017

New parameter bTransparency.

id-1903521