XYSetFillColor

XYSetFillColor setzt die Farbe für das Füllen der Fläche unter der Kurve.

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

Returnwert

bool ist TRUE (1), wenn die Funktion erfolgreich war und sonst FALSE (0).

Parameter

hData

hData ist die Zugriffsnummer (Handle) des Datensatzes, der mit XYCreate oder TYCreate erzeugt wurde.

rvColorRGB

rvColorRGB ist ein Vektor mit drei Elementen:

Wert Bedeutung
rvColorRGB[1] Rotanteil der Farbe im Bereich 0 bis 255
rvColorRGB[2] Grünanteil der Farbe im Bereich 0 bis 255
rvColorRGB[3] Blauanteil der Farbe im Bereich 0 bis 255
rvColorARGB

rvColorARGB ist ein Vektor mit vier Elementen:

Wert Bedeutung
rvColorARGB[1] Alpha: 0 = Transparent, 255 = Deckend
rvColorARGB[2] Rotanteil der Farbe im Bereich 0 bis 255
rvColorARGB[3] Grünanteil der Farbe im Bereich 0 bis 255
rvColorARGB[4] Blauanteil der Farbe im Bereich 0 bis 255

Beispiel

Setze die Füllfarbe auf gelb

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

History

Version Beschreibung
R2017 Transparenz.

id-516122