XYSetFillColorΒΆ

XYSetFillColor sets the fill color for the area under the curve.

bool = XYSetFillColor(hData, rvColorRGB)
bool = XYSetFillColor(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
rvColorRGB[1] Red (0-255)
rvColorRGB[2] Green (0-255)
rvColorRGB[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)

Example

* XYSetFillColor(hData, [255, 255, 0])
* XYShowFill(hData, TRUE)

History

Version Description
R2017 Transparency.

id-516122