To Insert Expressions Into Label Styles as Properties

Expressions are listed in the Properties list of the Text Component Editor. You can insert them into label styles like any other property.

  1. Set up an expression for a label style type.
  2. Open an existing label style in the Label Style Composer or create a new label style. The type of this label style must match the type of the expression you created.

    For example, if you created an expression for a plot line, you can only add that expression to a plot line label style.

  3. In the Label Style Composer dialog box, click the Layout tab and select or create a text, line, tick, or block component to which you want to add the expression.
  4. Under Text, click the Value column for Contents click
  5. In the Text Component Editor, on the Properties tab, click the Down arrow on the Properties list.

    This list contains a set of properties and expressions applicable to each label style type.

  6. Select the expression and click . This inserts the expression into the Text Component Editor window.
  7. Add any descriptive label text before or after the expression as needed. For example, add descriptive information about the expression, such as units, that will distinguish it in the label.
    Important: Expressions have the same editing restrictions as property fields. If you alter anything about the expression, such as using the context menu to change capitalization, the expression will not function correctly.
  8. Click OK to close the Text Component Editor and the Label Style Composer dialog boxes.

Tutorial Exercise: Inserting an Expression into a Label Style