Skip to main content
Version: 7.9

Line

Component Palette Icon:

Description

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.

Properties

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 component.int.cursorCodeCommon
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 component.int.dataQualityData
Left ArrowDraw an arrow head on the left/top of the line?boolean.leftArrowAppearance
Left Arrow SizeThe size of the left arrow, if present.int.leftArrowSizeAppearance
Line ModeThe line mode determines where in the rectangle the line is drawn.int.lineModeAppearance
Line StyleThe line style determines how the shape of the line looks.int.lineStyleAppearance
Line WidthSet the width of the line in pixels.int.lineWidthAppearance
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 present.int.rightArrowSizeAppearance
Sine HeightSets the 'amplitude' of the sine wave to be drawn.int.sineHeightAppearance
Sine LengthSets the 'wavelength' of the sine wave to be drawn.int.sineLengthAppearance
StylesContains the component's styles.Dataset.stylesAppearance
VisibleIf disabled, the component will be hidden.boolean.visibleCommon

Scripting

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

Customizers