Add a trend pen toggle

Add a switch or checkbox that toggles the visibility of a trend pen.

Prerequisites

To add a trend pen toggle
  1. Create a Boolean variable. See Create a variable.
  2. Create a Switch or Checkbox object. See Create a graphic object from a type.
  3. Select the Switch object and create a dynamic link between Checked and the Boolean variable. See Create dynamic links.
  4. Select the Trend object, and under the desired TrendPen# , create a dynamic link between Enabled and the Boolean variable. See Create dynamic links.