.. highlightlang:: us .. index:: XYSetFillColor .. _xysetfillcolor: XYSetFillColor ============== .. us.tag XYSetFillColor GERMAN XYSet Changed5900 :ref:`XYSetFillColor` setzt die Farbe für das Füllen der Fläche unter der Kurve. .. function:: bool = XYSetFillColor(hData, rvColorRGB) bool = XYSetFillColor(hData, rvColorARGB) .. us.return **Returnwert** *bool* ist TRUE (1), wenn die Funktion erfolgreich war und sonst FALSE (0). .. us.params **Parameter** .. uparam:: hData *hData* ist die Zugriffsnummer (Handle) des Datensatzes, der mit :ref:`XYCreate` oder :ref:`TYCreate` erzeugt wurde. .. uparam:: rvColorRGB *rvColorRGB* ist ein Vektor mit drei Elementen: .. list-table:: :header-rows: 1 * - 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 .. uparam:: rvColorARGB *rvColorARGB* ist ein Vektor mit vier Elementen: .. list-table:: :header-rows: 1 * - 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 .. us.example **Beispiel** Setze die Füllfarbe auf gelb :: * XYSetFillColor(hData, [255, 255, 0]) * XYShowFill(hData, TRUE) .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Beschreibung * - R2017 - Transparenz. .. seealso:: :ref:`uberblick-xy-datensatze`, :ref:`XYGetFillColor`, :ref:`XYIsFillVisible`, :ref:`XYCreate` :sub:`id-516122`