.. highlightlang:: us .. index:: y^threshold-dataset .. _data-threshold: Data=>Threshold (Range) ----------------------- This command can modify a threshold datset. Double click on a threshold dataset to open this dialog. To create a theshold dataset right click in a diagram and choose the *Threshold* command. .. image:: S:/uniplot-obj/images/DataThreshold-en.* .. us.dialog .. us.dlgitem **Threshold** Is the threshold value. The value will be displayed as a line. ** Range** Defines a a threshold range. It will be displayed as a horizontal or vertical bar. The fill color can be selected. **Type** Is one of the following options: .. list-table:: :header-rows: 1 * - Value - Description * - Threshold Line y=const. (Horizontal) - Horizontal line * - Threshold Line x=const. (Vertical) - Vertical line .. us.dlgitem **Legend Text** Is the legend text. .. us.dlgitem **Display threshold dataset in legend** If enabled, the legend text will be displayed in the legend. .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - R2018.2 - Threshold range added. .. seealso:: :ref:`data`, :ref:`XYThresholdCreate`, :ref:`auto_xy_Peaks`, :ref:`LayerAddDataset`, :ref:`LayerMoveDataset` :sub:`id-2100470`