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:

  1. Select the Symbol instance on the canvas.
  1. 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
  1. From System Browser, drag the associated data point and drop it over the Expression field.
  1. To specify values for the Min and Max values, uncheck the Auto Range checkbox
  1. Enter the following Min / Max and Value pairs:
    Min: -50 and Value: DarkBlue
    Max: 100 and Value: LightBlue
  1. 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.