0

Panel Control (version 22)

Properties

  • Name - a unique name used to reference the control in script *
  • AggregateInterval - the amount of time within each interval over which the data is processed using an 'AggregateKind' (e.g. 15 minutes, 15m, 00:15:00)
  • AggregateKind - the aggregate used to process the data over a given 'AggregateInterval'
  • AggregateStartTime - retrieves the value at a specific actual or relative time (e.g. now, day + 6h, 6:00 AM)
  • SourceTag - opens the 'ADD TRENDS' menu to link the control to a tag
  • ValueTransform - transform data using the keyword, "value", as the variable tag within an expression (e.g. 3.14*Pow(value,2)). Calculations are performed using C# NCalc library. For more information on NCalc functions, click here.
  • Color - sets the color of the panel
  • Height - the height of the control in pixels
  • IsBackgroundTransparent - a checkbox to show/hide the background
  • IsVisible - a checkbox to show or hide the control
  • Limit - used to set a limit(s) on the control
    • Value - sets the limit to a static number or other 'SourceTag'
    • Comparison - choose between <, >, >=, <=, or =
    • Color - sets the color for the configured limit
  • Width - the width of the control in pixels
  • X - the horizontal coordinate of the top-left corner in relation to its parent container
  • Y - the vertical coordinate of the top-left corner in relation to its parent container
  • AssetBranchCount - specifies the number of branches displayed in the asset picker
  • AssetInstance - sets the panel to an asset instance
  • AssetPickerInlineWidth - specifies the width (pixels) of the inline asset picker
  • AssetPickerMode
    • Modal - the asset icon will appear in the top-right corner of the panel to switch between assets 
    • Inline - a column of asset instances will appear on the left-hand side of the panel to switch between assets
    • None - no picker is presented
  • OnBeginAssetChange - used to trigger a script to run before the asset is changed *
  • OnBeginValueChange - used to trigger a script that runs immediately before the tag value changes *
  • OnClick - used to trigger a script that runs when the panel is clicked *
  • OnEndAssetChange - used to trigger a script to run after the asset has changed *
  • OnEndValueChange - used to trigger a script that runs immediately after the tag value changes *

* These properties are only available to admin users.

Reply

null