|
Add bar text.
syntax
AddBarText(
row,
bar
[, text]
[, textColor="#000000"]
[, textAlignX="CENTER"]
[, textAlignY="CENTER"]
[, textBackColor=""]
[, textBorderColor=""]
)
Parameters
row
|
|
Type:
|
Number
|
|
The row index (0-based).
|
bar
|
|
Type:
|
Number
|
|
The bar index (0-based).
|
text
|
|
Type:
|
character
|
|
The text to add.
|
textColor
|
|
Type:
|
character
|
|
Text color.
|
textAlignX
|
|
Type:
|
character
|
|
The x-position of the text.
CENTER - Center
INNER_LEFT - Inner left
INNER_RIGHT - Inner right
OUTER_LEFT - outer left
OUTER_RIGHT - Right outer
|
textAlignY
|
|
Type:
|
character
|
|
The Y position of the text.
CENTER - Center
INNER_TOP - inner top
INNER_BOTTOM - Bottom of the inner part
OUTER_TOP - Top outside
OUTER_BOTTOM - Bottom outside
|
textBackColor
|
|
Type:
|
character
|
|
Background color of the text. If empty, no drawing will be done.
|
textBorderColor
|
|
Type:
|
character
|
|
Border color of text. Specifying an empty string will not draw anything.
|
Return Value
|
|
Type:
|
Boolean
|
|
FALSE - Failure. TRUE - Success.
|
reference
DelBarText
ClearBarText
GetBarTextCount
GetBarTextProperty
SetBarTextProperty
CheckOverlapBarTime
|