Skip to main content
Version: 7.9


Component Palette Icon:


The Line component displays a straight line. It can run north-south, east-west, or diagonally. You can add arrows to either side. The line can be dashed using any pattern you want. You can even draw the line like a sinusoidal wave.

Reporting Line Component

If you are looking for the Line component used in Reporting, refer to Reporting Line.


NameDescriptionProperty TypeScriptingCategory
Anti AliasDraw with antialias on? Makes text smoother.boolean.antiAliasAppearance
ColorSet the color of the line.Color.foregroundAppearance
CursorThe mouse cursor to use when hovering over this
Dash PatternEnter a string of comma-delimited numbers which indicate the stroke pattern for a dashed line. For instance, "3,5" means three pixels on, five pixels off.String.strokePatternAppearance
Data QualityThe data quality code for any tag bindings on this
Left ArrowDraw an arrow head on the left/top of the line?boolean.leftArrowAppearance
Left Arrow SizeThe size of the left arrow, if
Line ModeThe line mode determines where in the rectangle the line is
Line StyleThe line style determines how the shape of the line
Line WidthSet the width of the line in
Mouseover TextThe text that is displayed in the tooltip which pops up on mouseover of this component.String.toolTipTextCommon
NameThe name of this component.String.nameCommon
Right ArrowDraw an arrow head on the right/bottom of the line?boolean.rightArrowAppearance
Right Arrow SizeThe size of the right arrow, if
Sine HeightSets the 'amplitude' of the sine wave to be
Sine LengthSets the 'wavelength' of the sine wave to be
StylesContains the component's styles.Dataset.stylesAppearance
VisibleIf disabled, the component will be hidden.boolean.visibleCommon


Scripting Functions

This component does not have scripting functions associated with it.

Extension Functions

This component does not have extension functions associated with it.

Event Handlers

Event handlers allow you to run a script based off specific triggers. See the full list of available event handlers on the Component Events page