.. highlightlang:: us .. index:: XYSetBarFillColor .. _xysetbarfillcolor: XYSetBarFillColor ================= .. us.tag XYSetBarFillColor NOTREADYENGLISH XYSet :ref:`XYSetBarFillColor` sets the fill color for bars. .. function:: bool = XYSetBarFillColor(hData, rvColorRGB) bool = XYSetBarFillColor(hData, rvColorARGB) .. us.return **Return Value** If the function succeeds, the return value *bool* is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: hData The handle of a dataset created with :ref:`XYCreate` or :ref:`TYCreate`. .. uparam:: rvColorRGB *rvColorRGB* is a vector with 3 elements: .. list-table:: :header-rows: 1 * - Value - Meaning * - rvColor[1] - Red (0-255) * - rvColor[2] - Green (0-255) * - rvColor[3] - Blue (0-255) .. uparam:: rvColorARGB *rvColorARGB* is a vector with 4 elements: .. list-table:: :header-rows: 1 * - Value - Meaning * - rvColorARGB[1] - Alpha: 0 = Transparent, 255 = Opaque * - rvColorARGB[2] - Red (0-255) * - rvColorARGB[3] - Green (0-255) * - rvColorARGB[4] - Blue (0-255) .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - R2018.3 - New Parameter *rvColorARGB*. .. seealso:: :ref:`overview-xy-datasets`, :ref:`XYCreate`, :ref:`XYGetBarFillColor` :sub:`id-638106`