XYSetBarFillColorΒΆ

XYSetBarFillColor sets the fill color for bars.

bool = XYSetBarFillColor(hData, rvColorRGB)
bool = XYSetBarFillColor(hData, rvColorARGB)

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.

rvColorRGB

rvColorRGB is a vector with 3 elements:

Value

Meaning

rvColor[1]

Red (0-255)

rvColor[2]

Green (0-255)

rvColor[3]

Blue (0-255)

rvColorARGB

rvColorARGB is a vector with 4 elements:

Value

Meaning

rvColorARGB[1]

Alpha: 0 = Transparent, 255 = Opaque

rvColorARGB[2]

Red (0-255)

rvColorARGB[3]

Green (0-255)

rvColorARGB[4]

Blue (0-255)

History

Version

Description

R2018.3

New Parameter rvColorARGB.

id-638106