Home >
Set up Values and Parameters for a Range Control
- Drag the Range Control block onto the workspace and connect it to a Query Data block.
- In the Range Control block's properties, specify the Pane in which to place the range slider.
-
Optionally, use the Prompt field to provide some text to display with the Range Control.
- Specify the Minimum and Maximum values for the range using either the fields in the Input Bindings or the manual settings. Settings in the Input Bindings will take precedence over manual entry.
- If you wish to set an initial value for the lower and upper range, click the arrow next to Initial Values (Optional) and enter the desired Initial lower range value and the Initial upper range value.
- Select from the drop-down list if you want this to be an entered value, or a percent of max.Click the Apply button.
- Then select the Query Data block and click on Input Bindings.
- In the Query section,replace the relevant portion of the SQL statement with the parameters to which the Range Control block will be passing values using @{ } as shown in the example (@{lowerCPU} and @{upperCPU}) below.
- Click the Apply button to apply the parameters. The parameters will display in the Input Bindings section for the Query Data block.
- Use the drop-down menu under the parameters displayed in the Input Bindings (lowerCPU and upperCPU in the example above) to select the range values.
NOTE: The <Range1>.values[0] = the lower range value, and <Range1>.values[1] = the upper range value where <Range1> = the name of the Range block.
- When you are done, click the Apply button.
Topics in This Section
On This Page