-
-
Method Summary
Modifier and Type Method Description static Lineinstantiate()StringgetJsBase()Linearaxis()Getter for the line marker axis. Lineaxis(Linear axis)Setter for the line marker axis. Layercontainer()Getter for the line marker container. Linecontainer(Layer element)Setter for the line marker container. Linecontainer(Stage element)Setter for the line marker container. Linecontainer(String element)Setter for the line marker container. Linedraw()Drawing of the line marker. voidenabled()Getter for the element state (enabled or disabled). Lineenabled(Boolean enabled)Setter for the element enabled state. voidisHorizontal()Whether a line marker has horizontal layout. voidlayout()Getter for the line marker layout. Linelayout(Layout layout)Setter for the line marker layout. Linelayout(String layout)Setter for the line marker layout. RectparentBounds()Getter for the line marker bounds. LineparentBounds(Rect bounds)Setter for bounds using single value. LineparentBounds(String bounds)Setter for bounds using single value. LineparentBounds(Number left, Number top, Number width, Number height)Setter for bounds using several values. voidprint(PaperSize paperSizeOrOptions, Boolean landscape)Prints all elements on related stage. voidprint(String paperSizeOrOptions, Boolean landscape)Prints all elements on related stage. voidremoveAllListeners(String type)Removes all listeners from an object. Basescale()Getter for the line marker scale. Linescale(Base settings)Setter for the line marker scale. Linescale(String settings)Setter for the line marker scale. Linescale(ScaleTypes settings)Setter for the line marker scale. voidscaleRangeMode()Getter for the scale range mode. LinescaleRangeMode(String mode)Setter for the scale range mode. LinescaleRangeMode(ScaleRangeMode mode)Setter for the scale range mode. voidstroke()Getter for the line marker stroke. Linestroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the line marker stroke. Linestroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the line marker stroke. Linestroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the line marker stroke. Linestroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the line marker stroke. Linestroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the line marker stroke. Linestroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the line marker stroke. Linestroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the line marker stroke. Linestroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the line marker stroke. Linestroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the line marker stroke. Linestroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the line marker stroke. Linestroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the line marker stroke. Linestroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the line marker stroke. Linestroke(String settings)Setter for price indicator stroke settings using an object. voidsetOnClickListener(ListenersInterface.OnClickListener listener)voidsetOnClickListener(ListenersInterface.OnClickListener listener, String type, String ePath)voidunlistenByKey(String key)Removes an event listener which was added with listen() by the key returned by listen() or listenOnce(). voidvalue()Getter for the line marker value. Linevalue(Number newValue)Setter for the line marker value. voidzIndex()Getter for the Z-index of the element. LinezIndex(Number zIndex)Setter for the Z-index of the element. -
-
Constructor Detail
-
Line
Line(String jsChart)
-
-
Method Detail
-
instantiate
static Line instantiate()
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
isHorizontal
void isHorizontal()
Whether a line marker has horizontal layout. Layout is define by layout method.
-
layout
void layout()
Getter for the line marker layout.
-
parentBounds
Rect parentBounds()
Getter for the line marker bounds.
-
parentBounds
Line parentBounds(Rect bounds)
Setter for bounds using single value.
-
parentBounds
Line parentBounds(String bounds)
Setter for bounds using single value.
-
parentBounds
Line parentBounds(Number left, Number top, Number width, Number height)
Setter for bounds using several values.
-
print
void print(PaperSize paperSizeOrOptions, Boolean landscape)
Prints all elements on related stage.
-
print
void print(String paperSizeOrOptions, Boolean landscape)
Prints all elements on related stage.
-
removeAllListeners
void removeAllListeners(String type)
Removes all listeners from an object. You can also optionally remove listeners of some particular type.
-
scale
Line scale(ScaleTypes settings)
Setter for the line marker scale.
-
scaleRangeMode
void scaleRangeMode()
Getter for the scale range mode.
-
scaleRangeMode
Line scaleRangeMode(String mode)
Setter for the scale range mode. Whether to consider the line marker value in the scale calculation or not. The 'consider' mode consideres the marker value in the scale.
-
scaleRangeMode
Line scaleRangeMode(ScaleRangeMode mode)
Setter for the scale range mode. Whether to consider the line marker value in the scale calculation or not. The 'consider' mode consideres the marker value in the scale.
-
stroke
void stroke()
Getter for the line marker stroke.
-
stroke
Line stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the line marker stroke.
-
stroke
Line stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the line marker stroke.
-
stroke
Line stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the line marker stroke.
-
stroke
Line stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the line marker stroke.
-
stroke
Line stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the line marker stroke.
-
stroke
Line stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the line marker stroke.
-
stroke
Line stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the line marker stroke.
-
stroke
Line stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the line marker stroke.
-
stroke
Line stroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the line marker stroke.
-
stroke
Line stroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the line marker stroke.
-
stroke
Line stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the line marker stroke.
-
stroke
Line stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the line marker stroke.
-
setOnClickListener
void setOnClickListener(ListenersInterface.OnClickListener listener)
-
setOnClickListener
void setOnClickListener(ListenersInterface.OnClickListener listener, String type, String ePath)
-
unlistenByKey
void unlistenByKey(String key)
Removes an event listener which was added with listen() by the key returned by listen() or listenOnce().
-
value
void value()
Getter for the line marker value.
-
zIndex
void zIndex()
Getter for the Z-index of the element.
-
-
-
-