Conditional properties

Top  Previous  Next

Many properties of controls have the option of being conditional properties.  Conditional properties are properties that can change depending on conditions you specify.  For example, you can make the background of a text control change to red when a value goes over 100.  You can recognize conditional properties because there is a button with a plus next to them.  Styling is a common conditional property that demonstrates this:

clip0056

Until you click on the +, the parameters listed will be used in all cases.  If you want different parameters to apply under different conditions, click on the +.  The area will expand:

clip0057

Now, in addition to the properties, there is an error where you can enter a condition, that when true (evaluates to a non-zero value), the specified parameters are used.  Along the bottom is navigation that allows you to move among the options.  The final one is always the fall back properties that are applied if none of the conditions pass:

clip0058

From here you can also click + to add more conditions.

For some controls, such as the graph, the same user interface is used to add multiple traces.  The difference, however, is that there isn't a condition specified.  All parameters are used to create different traces.