-
public class VerticalLine extends Base
Vertical Line annotation.
-
-
Constructor Summary
Constructors Constructor Description VerticalLine(String jsChart)
-
Method Summary
Modifier and Type Method Description static VerticalLineinstantiate()StringgetJsBase()voidallowEdit()Getter for an interactivity in the annotation. VerticalLineallowEdit(String value)Setter for an interactivity in the annotation. voidcolor()Getter for the annotation color. VerticalLinecolor(String color)Setter for the annotation color. SeparateChartgetChart()Returns the chart on which the annotation is drawn. PlotgetPlot()Returns the plot on which the annotation is drawn. voidgetType()Returns annotation type. voidhoverGap()Getter for the hover gap. VerticalLinehoverGap(String value)Setter for the hover gap. StateSettingshovered()Getter for hovered state settings. VerticalLinehovered(String settings)Setter for hovered state settings. MarkersFactorymarkers()Getter for data markers. VerticalLinemarkers(String settings)Setter for data markers. VerticalLinemarkers(Boolean settings)Setter for data markers. StateSettingsnormal()Getter for normal state settings. VerticalLinenormal(String settings)Setter for normal state settings. voidselect()Selects current annotation. StateSettingsselected()Getter for selected state settings. VerticalLineselected(String settings)Setter for selected state settings. voidstroke()Getter for annotation stroke settings. VerticalLinestroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for annotation stroke settings. VerticalLinestroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for annotation stroke settings. VerticalLinestroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for annotation stroke settings. VerticalLinestroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for annotation stroke settings. VerticalLinestroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for annotation stroke settings. VerticalLinestroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for annotation stroke settings. VerticalLinestroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for annotation stroke settings. VerticalLinestroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for annotation stroke settings. VerticalLinestroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for annotation stroke settings. VerticalLinestroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for annotation stroke settings. VerticalLinestroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for annotation stroke settings. VerticalLinestroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for annotation stroke settings. VerticalLinestroke(String settings)Setter for annotation stroke settings using an object. voidxAnchor()Getter for the X anchor. VerticalLinexAnchor(String value)Setter for the X anchor. OrdinalxScale()Getter for the X-scale. VerticalLinexScale(Base settings)Setter for the X-scale. VerticalLinexScale(StockScatterDateTime settings)Setter for the X-scale. VerticalLinexScale(String settings)Setter for the X-scale. VerticalLinexScale(ScaleTypes settings)Setter for the X-scale. BaseyScale()Getter for the Y-scale. VerticalLineyScale(Base settings)Setter for the Y-scale. VerticalLineyScale(String settings)Setter for the Y-scale. VerticalLineyScale(ScaleTypes settings)Setter for the Y-scale. voidbottom()Getter for element bottom bound settings. VerticalLinebottom(Number bottom)Setter for element bottom bound settings. VerticalLinebottom(String bottom)Setter for element bottom bound settings. Boundsbounds()Getter for element bounds settings. VerticalLinebounds(RectObj bounds)Setter for bounds of the element using one parameter. VerticalLinebounds(Rect bounds)Setter for bounds of the element using one parameter. VerticalLinebounds(Bounds bounds)Setter for bounds of the element using one parameter. VerticalLinebounds(Number x, Number y, Number width, Number height)Setter for element bounds settings. VerticalLinebounds(Number x, Number y, Number width, String height)Setter for element bounds settings. VerticalLinebounds(Number x, Number y, String width, Number height)Setter for element bounds settings. VerticalLinebounds(Number x, Number y, String width, String height)Setter for element bounds settings. VerticalLinebounds(Number x, String y, Number width, Number height)Setter for element bounds settings. VerticalLinebounds(Number x, String y, Number width, String height)Setter for element bounds settings. VerticalLinebounds(Number x, String y, String width, Number height)Setter for element bounds settings. VerticalLinebounds(Number x, String y, String width, String height)Setter for element bounds settings. VerticalLinebounds(String x, Number y, Number width, Number height)Setter for element bounds settings. VerticalLinebounds(String x, Number y, Number width, String height)Setter for element bounds settings. VerticalLinebounds(String x, Number y, String width, Number height)Setter for element bounds settings. VerticalLinebounds(String x, Number y, String width, String height)Setter for element bounds settings. VerticalLinebounds(String x, String y, Number width, Number height)Setter for element bounds settings. VerticalLinebounds(String x, String y, Number width, String height)Setter for element bounds settings. VerticalLinebounds(String x, String y, String width, Number height)Setter for element bounds settings. VerticalLinebounds(String x, String y, String width, String height)Setter for element bounds settings. voidenabled()Getter for the element state (enabled or disabled). VerticalLineenabled(Boolean enabled)Setter for the element enabled state. RectgetPixelBounds()Returns pixel bounds of the element due to parent bounds and self bounds settings. voidheight()Getter for element height settings. VerticalLineheight(Number height)Setter for element height setting. VerticalLineheight(String height)Setter for element height setting. voidleft()Getter for element left bound settings. VerticalLineleft(Number left)Setter for element left bound settings. VerticalLineleft(String left)Setter for element left bound settings. voidmaxHeight()Getter for the maximum height. VerticalLinemaxHeight(Number height)Setter for the maximum height. VerticalLinemaxHeight(String height)Setter for the maximum height. voidmaxWidth()Getter for the maximum width. VerticalLinemaxWidth(Number width)Setter for the maximum width. VerticalLinemaxWidth(String width)Setter for the maximum width. voidminHeight()Getter for the minimum height. VerticalLineminHeight(Number height)Setter for the minimum height. VerticalLineminHeight(String height)Setter for the minimum height. voidminWidth()Getter for the minimum width. VerticalLineminWidth(Number width)Setter for the minimum width. VerticalLineminWidth(String width)Setter for the minimum width. 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. voidright()Getter for element right bound settings. VerticalLineright(Number right)Setter for element right bound setting. VerticalLineright(String right)Setter for element right bound setting. voidtop()Getter for element top bound settings. VerticalLinetop(Number top)Setter for element top bound settings. VerticalLinetop(String top)Setter for element top bound settings. 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(). voidwidth()Getter for element width settings. VerticalLinewidth(Number width)Setter for element width setting. VerticalLinewidth(String width)Setter for element width setting. voidzIndex()Getter for the Z-index of the element. VerticalLinezIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. VerticalLinecontainer(Layer element)Setter for the container. VerticalLinecontainer(Stage element)Setter for the container. VerticalLinecontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. VerticalLineparentBounds(Rect bounds)Setter for the parent bounds using single value. VerticalLineparentBounds(String bounds)Setter for the parent bounds using single value. VerticalLineparentBounds(Number bounds)Setter for the parent bounds using single value. VerticalLineparentBounds(Number left, Number top, Number width, Number height)Setter for the parent bounds using several values. ObjectxScale(Class scaleClass)ObjectyScale(Class scaleClass)-
Methods inherited from class com.anychart.core.annotations.Base
allowEdit, bottom, bottom, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, color, container, container, container, enabled, height, height, hoverGap, hovered, instantiate, left, left, markers, markers, maxHeight, maxHeight, maxWidth, maxWidth, minHeight, minHeight, minWidth, minWidth, normal, parentBounds, parentBounds, parentBounds, parentBounds, right, right, selected, top, top, width, width, xScale, xScale, xScale, xScale, yScale, yScale, yScale, zIndex -
Methods inherited from class com.anychart.core.VisualBaseWithBounds
bottom, bottom, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, container, container, container, enabled, height, height, instantiate, left, left, maxHeight, maxHeight, maxWidth, maxWidth, minHeight, minHeight, minWidth, minWidth, parentBounds, parentBounds, parentBounds, parentBounds, right, right, top, top, width, width, zIndex -
Methods inherited from class com.anychart.core.VisualBase
container, container, container, enabled, instantiate, parentBounds, parentBounds, parentBounds, parentBounds, zIndex -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
VerticalLine
VerticalLine(String jsChart)
-
-
Method Detail
-
instantiate
static VerticalLine instantiate()
-
allowEdit
void allowEdit()
Getter for an interactivity in the annotation.
-
allowEdit
VerticalLine allowEdit(String value)
Setter for an interactivity in the annotation.
-
color
void color()
Getter for the annotation color.
-
color
VerticalLine color(String color)
Setter for the annotation color.
-
getChart
SeparateChart getChart()
Returns the chart on which the annotation is drawn.
-
getType
void getType()
Returns annotation type.
-
hoverGap
void hoverGap()
Getter for the hover gap.
-
hoverGap
VerticalLine hoverGap(String value)
Setter for the hover gap. The contour size around annotation.
-
hovered
StateSettings hovered()
Getter for hovered state settings.
-
hovered
VerticalLine hovered(String settings)
Setter for hovered state settings.
-
markers
MarkersFactory markers()
Getter for data markers.
-
markers
VerticalLine markers(String settings)
Setter for data markers.
-
markers
VerticalLine markers(Boolean settings)
Setter for data markers.
-
normal
StateSettings normal()
Getter for normal state settings.
-
normal
VerticalLine normal(String settings)
Setter for normal state settings.
-
select
void select()
Selects current annotation.
-
selected
StateSettings selected()
Getter for selected state settings.
-
selected
VerticalLine selected(String settings)
Setter for selected state settings.
-
stroke
void stroke()
Getter for annotation stroke settings.
-
stroke
VerticalLine stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for annotation stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
VerticalLine stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for annotation stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
VerticalLine stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for annotation stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
VerticalLine stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for annotation stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
VerticalLine stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for annotation stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
VerticalLine stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for annotation stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
VerticalLine stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for annotation stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
VerticalLine stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for annotation stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
VerticalLine stroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for annotation stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
VerticalLine stroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for annotation stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
VerticalLine stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for annotation stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
VerticalLine stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for annotation stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
VerticalLine stroke(String settings)
Setter for annotation stroke settings using an object.
-
xAnchor
void xAnchor()
Getter for the X anchor.
-
xAnchor
VerticalLine xAnchor(String value)
Setter for the X anchor.
-
xScale
VerticalLine xScale(Base settings)
Setter for the X-scale.
-
xScale
VerticalLine xScale(StockScatterDateTime settings)
Setter for the X-scale.
-
xScale
VerticalLine xScale(String settings)
Setter for the X-scale.
-
xScale
VerticalLine xScale(ScaleTypes settings)
Setter for the X-scale.
-
yScale
VerticalLine yScale(Base settings)
Setter for the Y-scale.
-
yScale
VerticalLine yScale(String settings)
Setter for the Y-scale.
-
yScale
VerticalLine yScale(ScaleTypes settings)
Setter for the Y-scale.
-
bottom
void bottom()
Getter for element bottom bound settings.
-
bottom
VerticalLine bottom(Number bottom)
Setter for element bottom bound settings.
-
bottom
VerticalLine bottom(String bottom)
Setter for element bottom bound settings.
-
bounds
VerticalLine bounds(RectObj bounds)
Setter for bounds of the element using one parameter.
-
bounds
VerticalLine bounds(Rect bounds)
Setter for bounds of the element using one parameter.
-
bounds
VerticalLine bounds(Bounds bounds)
Setter for bounds of the element using one parameter.
-
bounds
VerticalLine bounds(Number x, Number y, Number width, Number height)
Setter for element bounds settings.
-
bounds
VerticalLine bounds(Number x, Number y, Number width, String height)
Setter for element bounds settings.
-
bounds
VerticalLine bounds(Number x, Number y, String width, Number height)
Setter for element bounds settings.
-
bounds
VerticalLine bounds(Number x, Number y, String width, String height)
Setter for element bounds settings.
-
bounds
VerticalLine bounds(Number x, String y, Number width, Number height)
Setter for element bounds settings.
-
bounds
VerticalLine bounds(Number x, String y, Number width, String height)
Setter for element bounds settings.
-
bounds
VerticalLine bounds(Number x, String y, String width, Number height)
Setter for element bounds settings.
-
bounds
VerticalLine bounds(Number x, String y, String width, String height)
Setter for element bounds settings.
-
bounds
VerticalLine bounds(String x, Number y, Number width, Number height)
Setter for element bounds settings.
-
bounds
VerticalLine bounds(String x, Number y, Number width, String height)
Setter for element bounds settings.
-
bounds
VerticalLine bounds(String x, Number y, String width, Number height)
Setter for element bounds settings.
-
bounds
VerticalLine bounds(String x, Number y, String width, String height)
Setter for element bounds settings.
-
bounds
VerticalLine bounds(String x, String y, Number width, Number height)
Setter for element bounds settings.
-
bounds
VerticalLine bounds(String x, String y, Number width, String height)
Setter for element bounds settings.
-
bounds
VerticalLine bounds(String x, String y, String width, Number height)
Setter for element bounds settings.
-
bounds
VerticalLine bounds(String x, String y, String width, String height)
Setter for element bounds settings.
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
enabled
VerticalLine enabled(Boolean enabled)
Setter for the element enabled state.
-
getPixelBounds
Rect getPixelBounds()
Returns pixel bounds of the element due to parent bounds and self bounds settings.
-
height
void height()
Getter for element height settings.
-
height
VerticalLine height(Number height)
Setter for element height setting.
-
height
VerticalLine height(String height)
Setter for element height setting.
-
left
void left()
Getter for element left bound settings.
-
left
VerticalLine left(Number left)
Setter for element left bound settings.
-
left
VerticalLine left(String left)
Setter for element left bound settings.
-
maxHeight
void maxHeight()
Getter for the maximum height.
-
maxHeight
VerticalLine maxHeight(Number height)
Setter for the maximum height.
-
maxHeight
VerticalLine maxHeight(String height)
Setter for the maximum height.
-
maxWidth
void maxWidth()
Getter for the maximum width.
-
maxWidth
VerticalLine maxWidth(Number width)
Setter for the maximum width.
-
maxWidth
VerticalLine maxWidth(String width)
Setter for the maximum width.
-
minHeight
void minHeight()
Getter for the minimum height.
-
minHeight
VerticalLine minHeight(Number height)
Setter for the minimum height.
-
minHeight
VerticalLine minHeight(String height)
Setter for the minimum height.
-
minWidth
void minWidth()
Getter for the minimum width.
-
minWidth
VerticalLine minWidth(Number width)
Setter for the minimum width.
-
minWidth
VerticalLine minWidth(String width)
Setter for the minimum width.
-
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.
-
right
void right()
Getter for element right bound settings.
-
right
VerticalLine right(Number right)
Setter for element right bound setting.
-
right
VerticalLine right(String right)
Setter for element right bound setting.
-
top
void top()
Getter for element top bound settings.
-
top
VerticalLine top(Number top)
Setter for element top bound settings.
-
top
VerticalLine top(String top)
Setter for element top bound settings.
-
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().
-
width
void width()
Getter for element width settings.
-
width
VerticalLine width(Number width)
Setter for element width setting.
-
width
VerticalLine width(String width)
Setter for element width setting.
-
zIndex
void zIndex()
Getter for the Z-index of the element.
-
zIndex
VerticalLine zIndex(Number zIndex)
Setter for the Z-index of the element.
-
container
VerticalLine container(Layer element)
Setter for the container.
-
container
VerticalLine container(Stage element)
Setter for the container.
-
container
VerticalLine container(String element)
Setter for the container.
-
parentBounds
Rect parentBounds()
Getter for the parent bounds. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
VerticalLine parentBounds(Rect bounds)
Setter for the parent bounds using single value. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
VerticalLine parentBounds(String bounds)
Setter for the parent bounds using single value. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
VerticalLine parentBounds(Number bounds)
Setter for the parent bounds using single value. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
VerticalLine parentBounds(Number left, Number top, Number width, Number height)
Setter for the parent bounds using several values. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
-
-
-