.. highlightlang:: us .. index:: LayerSetWaterfallAttrib .. _layersetwaterfallattrib: LayerSetWaterfallAttrib ======================= .. us.tag LayerSetWaterfallAttrib NOTREADYENGLISH LayerWaterfall :ref:`LayerSetWaterfallAttrib` sets waterfall attributes. .. function:: bool = LayerSetWaterfallAttrib(hLayer, nAttrib) .. us.return **Return Value** *bool* is TRUE (1) if the function was successful and otherwise FALSE (0). .. us.params **Parameters** .. uparam:: hLayer *hLayer* is the handle of a diagram. .. uparam:: nAttrib *nAttrib* is an OR combination of the following values: .. list-table:: :header-rows: 1 * - Value - Meaning * - WATERFALL_CLOSEBOX - Close the diagram box with three lines (1) * - WATERFALL_SHOWFRONTGRID - Display a front grid(2) * - WATERFALL_REVERSORDER - Plot datasets in reverse order (4) .. seealso:: :ref:`overview-diagrams`, :ref:`LayerGetWaterfallAttrib` :sub:`id-333092`