new shape()
shape is a default implementation of a CIQ.Drawing.BaseTwoPoint drawing which places a "shape" on the canvas. It can be rotated and/or stretched. It is meant to be overridden with specific shape designs, such as arrows....
- Version:
-
- ChartIQ Advanced Package
- Since:
-
2015-11-1
Members
-
setRotationOnInitialDraw :boolean
-
If true, enables rotation when the drawing is initially drawn.
Type:
- boolean
- Since:
-
7.4.0
Methods
-
reconstruct(stx [, obj])
-
Reconstruct a shape.
Parameters:
Name Type Argument Description stxCIQ.ChartEngine The chart object.
objobject <optional>
A drawing descriptor.
Properties
Name Type Argument Description colstring <optional>
The border color.
fcstring <optional>
The fill color.
pnlstring <optional>
The panel name.
ptrnstring <optional>
Pattern for line "solid", "dotted", or "dashed". Defaults to solid.
lwnumber <optional>
Line width. Defaults to 1.
v0number <optional>
Value (price) for the center point.
d0number <optional>
Date (string form) for the center point
tzo0number <optional>
Offset of UTC from d0 in minutes.
anumber <optional>
Angle of the rotation in degrees.
sxnumber <optional>
Horizontal scale factor.
synumber <optional>
Vertical scale factor.
fldstring <optional>
Field to which drawing is associated.
vernumber <optional>
Version number of the shape.
- Since:
-
8.4.0 Added
fldproperty toobjparameter.
