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
-
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. |
See also
Overview XY-Datasets, XYGetFillColor, XYIsFillVisible, XYCreate
id-516122