new horizontal()
Horizontal line drawing tool. The horizontal line extends infinitely in both directions.
It inherits its properties from STX.Drawing.segment
Methods
-
reconstruct(stx [, obj])
-
Reconstruct a horizontal
Parameters:
Name Type Argument Description stxSTXChart The chart object
objobject <optional>
A drawing descriptor
Properties
Name Type Argument Description colstring <optional>
The line color
pnlstring <optional>
The panel name
ptrnstring <optional>
Optional pattern for line "solid","dotted","dashed". Defaults to solid.
lwnumber <optional>
Optional line width. Defaults to 1.
v0number <optional>
Value (price) for the first point
d0number <optional>
Date (string form) for the first point
alboolean <optional>
True to include an axis label
tzo0number <optional>
Offset of UTC from d0 in minutes