Example: Linear Evaluation
Scenario: You have an element on the canvas representing water in a tank. You want the color of the water to represent the current temperature. The water temperature range and color is:
- Dark Blue at the minimum range (-50), when it is the coldest.
-Light Blue at the maximum range (100), when it is the warmest.
Steps:
- Select the Symbol instance on the canvas.
- In the Evaluation Editor, do the following:
a. From the Property drop-down menu, select: Fill
b. From the Type drop-down menu, select: Linear
- From System Browser, drag the associated data point and drop it over the Expression field.
- To specify values for the Min and Max values, uncheck the Auto Range checkbox
- Enter the following Min / Max and Value pairs:
Min: -50 and Value: DarkBlue
Max: 100 and Value: LightBlue
- To test the evaluation, from the Ribbon, on the Home tab, and in the Modes group, the click .
- The colors gradually change according to the condition values.