-
public class InfiniteLine extends Base
Infinite Line annotation.
-
-
Constructor Summary
Constructors Constructor Description InfiniteLine(String jsChart)
-
Method Summary
Modifier and Type Method Description static InfiniteLineinstantiate()StringgetJsBase()voidallowEdit()Getter for an interactivity in the annotation. InfiniteLineallowEdit(String value)Setter for an interactivity in the annotation. voidcolor()Getter for the annotation color. InfiniteLinecolor(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. InfiniteLinehoverGap(String value)Setter for the hover gap. StateSettingshovered()Getter for hovered state settings. InfiniteLinehovered(String settings)Setter for hovered state settings. MarkersFactorymarkers()Getter for data markers. InfiniteLinemarkers(String settings)Setter for data markers. InfiniteLinemarkers(Boolean settings)Setter for data markers. StateSettingsnormal()Getter for normal state settings. InfiniteLinenormal(String settings)Setter for normal state settings. voidsecondValueAnchor()Getter for the second value anchor. InfiniteLinesecondValueAnchor(String value)Setter for the second value anchor. voidsecondXAnchor()Getter for the second X anchor. InfiniteLinesecondXAnchor(String value)Setter for the second X anchor. voidselect()Selects current annotation. StateSettingsselected()Getter for selected state settings. InfiniteLineselected(String settings)Setter for selected state settings. voidstroke()Getter for stroke settings. InfiniteLinestroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for annotations stroke settings. InfiniteLinestroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for annotations stroke settings. InfiniteLinestroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for annotations stroke settings. InfiniteLinestroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for annotations stroke settings. InfiniteLinestroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for annotations stroke settings. InfiniteLinestroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for annotations stroke settings. InfiniteLinestroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for annotations stroke settings. InfiniteLinestroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for annotations stroke settings. InfiniteLinestroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for annotations stroke settings. InfiniteLinestroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for annotations stroke settings. InfiniteLinestroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for annotations stroke settings. InfiniteLinestroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for annotations stroke settings. InfiniteLinestroke(String settings)Setter for annotation stroke settings using an object. voidvalueAnchor()Getter for the value anchor. InfiniteLinevalueAnchor(String value)Setter for the value anchor. voidxAnchor()Getter for the X anchor. InfiniteLinexAnchor(String value)Setter for the X anchor. OrdinalxScale()Getter for the X-scale. InfiniteLinexScale(Base settings)Setter for the X-scale. InfiniteLinexScale(StockScatterDateTime settings)Setter for the X-scale. InfiniteLinexScale(String settings)Setter for the X-scale. InfiniteLinexScale(ScaleTypes settings)Setter for the X-scale. BaseyScale()Getter for the Y-scale. InfiniteLineyScale(Base settings)Setter for the Y-scale. InfiniteLineyScale(String settings)Setter for the Y-scale. InfiniteLineyScale(ScaleTypes settings)Setter for the Y-scale. voidbottom()Getter for element bottom bound settings. InfiniteLinebottom(Number bottom)Setter for element bottom bound settings. InfiniteLinebottom(String bottom)Setter for element bottom bound settings. Boundsbounds()Getter for element bounds settings. InfiniteLinebounds(RectObj bounds)Setter for bounds of the element using one parameter. InfiniteLinebounds(Rect bounds)Setter for bounds of the element using one parameter. InfiniteLinebounds(Bounds bounds)Setter for bounds of the element using one parameter. InfiniteLinebounds(Number x, Number y, Number width, Number height)Setter for element bounds settings. InfiniteLinebounds(Number x, Number y, Number width, String height)Setter for element bounds settings. InfiniteLinebounds(Number x, Number y, String width, Number height)Setter for element bounds settings. InfiniteLinebounds(Number x, Number y, String width, String height)Setter for element bounds settings. InfiniteLinebounds(Number x, String y, Number width, Number height)Setter for element bounds settings. InfiniteLinebounds(Number x, String y, Number width, String height)Setter for element bounds settings. InfiniteLinebounds(Number x, String y, String width, Number height)Setter for element bounds settings. InfiniteLinebounds(Number x, String y, String width, String height)Setter for element bounds settings. InfiniteLinebounds(String x, Number y, Number width, Number height)Setter for element bounds settings. InfiniteLinebounds(String x, Number y, Number width, String height)Setter for element bounds settings. InfiniteLinebounds(String x, Number y, String width, Number height)Setter for element bounds settings. InfiniteLinebounds(String x, Number y, String width, String height)Setter for element bounds settings. InfiniteLinebounds(String x, String y, Number width, Number height)Setter for element bounds settings. InfiniteLinebounds(String x, String y, Number width, String height)Setter for element bounds settings. InfiniteLinebounds(String x, String y, String width, Number height)Setter for element bounds settings. InfiniteLinebounds(String x, String y, String width, String height)Setter for element bounds settings. voidenabled()Getter for the element state (enabled or disabled). InfiniteLineenabled(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. InfiniteLineheight(Number height)Setter for element height setting. InfiniteLineheight(String height)Setter for element height setting. voidleft()Getter for element left bound settings. InfiniteLineleft(Number left)Setter for element left bound settings. InfiniteLineleft(String left)Setter for element left bound settings. voidmaxHeight()Getter for the maximum height. InfiniteLinemaxHeight(Number height)Setter for the maximum height. InfiniteLinemaxHeight(String height)Setter for the maximum height. voidmaxWidth()Getter for the maximum width. InfiniteLinemaxWidth(Number width)Setter for the maximum width. InfiniteLinemaxWidth(String width)Setter for the maximum width. voidminHeight()Getter for the minimum height. InfiniteLineminHeight(Number height)Setter for the minimum height. InfiniteLineminHeight(String height)Setter for the minimum height. voidminWidth()Getter for the minimum width. InfiniteLineminWidth(Number width)Setter for the minimum width. InfiniteLineminWidth(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. InfiniteLineright(Number right)Setter for element right bound setting. InfiniteLineright(String right)Setter for element right bound setting. voidtop()Getter for element top bound settings. InfiniteLinetop(Number top)Setter for element top bound settings. InfiniteLinetop(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. InfiniteLinewidth(Number width)Setter for element width setting. InfiniteLinewidth(String width)Setter for element width setting. voidzIndex()Getter for the Z-index of the element. InfiniteLinezIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. InfiniteLinecontainer(Layer element)Setter for the container. InfiniteLinecontainer(Stage element)Setter for the container. InfiniteLinecontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. InfiniteLineparentBounds(Rect bounds)Setter for the parent bounds using single value. InfiniteLineparentBounds(String bounds)Setter for the parent bounds using single value. InfiniteLineparentBounds(Number bounds)Setter for the parent bounds using single value. InfiniteLineparentBounds(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
-
InfiniteLine
InfiniteLine(String jsChart)
-
-
Method Detail
-
instantiate
static InfiniteLine instantiate()
-
allowEdit
void allowEdit()
Getter for an interactivity in the annotation.
-
allowEdit
InfiniteLine allowEdit(String value)
Setter for an interactivity in the annotation.
-
color
void color()
Getter for the annotation color.
-
color
InfiniteLine 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
InfiniteLine hoverGap(String value)
Setter for the hover gap. The contour size around annotation.
-
hovered
StateSettings hovered()
Getter for hovered state settings.
-
hovered
InfiniteLine hovered(String settings)
Setter for hovered state settings.
-
markers
MarkersFactory markers()
Getter for data markers.
-
markers
InfiniteLine markers(String settings)
Setter for data markers.
-
markers
InfiniteLine markers(Boolean settings)
Setter for data markers.
-
normal
StateSettings normal()
Getter for normal state settings.
-
normal
InfiniteLine normal(String settings)
Setter for normal state settings.
-
secondValueAnchor
void secondValueAnchor()
Getter for the second value anchor.
-
secondValueAnchor
InfiniteLine secondValueAnchor(String value)
Setter for the second value anchor.
-
secondXAnchor
void secondXAnchor()
Getter for the second X anchor.
-
secondXAnchor
InfiniteLine secondXAnchor(String value)
Setter for the second X anchor.
-
select
void select()
Selects current annotation.
-
selected
StateSettings selected()
Getter for selected state settings.
-
selected
InfiniteLine selected(String settings)
Setter for selected state settings.
-
stroke
void stroke()
Getter for stroke settings.
-
stroke
InfiniteLine stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for annotations stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
InfiniteLine stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for annotations stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
InfiniteLine stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for annotations stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
InfiniteLine stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for annotations stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
InfiniteLine stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for annotations stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
InfiniteLine stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for annotations stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
InfiniteLine stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for annotations stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
InfiniteLine stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for annotations stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
InfiniteLine stroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for annotations stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
InfiniteLine stroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for annotations stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
InfiniteLine stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for annotations stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
InfiniteLine stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for annotations stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
InfiniteLine stroke(String settings)
Setter for annotation stroke settings using an object.
-
valueAnchor
void valueAnchor()
Getter for the value anchor.
-
valueAnchor
InfiniteLine valueAnchor(String value)
Setter for the value anchor.
-
xAnchor
void xAnchor()
Getter for the X anchor.
-
xAnchor
InfiniteLine xAnchor(String value)
Setter for the X anchor.
-
xScale
InfiniteLine xScale(Base settings)
Setter for the X-scale.
-
xScale
InfiniteLine xScale(StockScatterDateTime settings)
Setter for the X-scale.
-
xScale
InfiniteLine xScale(String settings)
Setter for the X-scale.
-
xScale
InfiniteLine xScale(ScaleTypes settings)
Setter for the X-scale.
-
yScale
InfiniteLine yScale(Base settings)
Setter for the Y-scale.
-
yScale
InfiniteLine yScale(String settings)
Setter for the Y-scale.
-
yScale
InfiniteLine yScale(ScaleTypes settings)
Setter for the Y-scale.
-
bottom
void bottom()
Getter for element bottom bound settings.
-
bottom
InfiniteLine bottom(Number bottom)
Setter for element bottom bound settings.
-
bottom
InfiniteLine bottom(String bottom)
Setter for element bottom bound settings.
-
bounds
InfiniteLine bounds(RectObj bounds)
Setter for bounds of the element using one parameter.
-
bounds
InfiniteLine bounds(Rect bounds)
Setter for bounds of the element using one parameter.
-
bounds
InfiniteLine bounds(Bounds bounds)
Setter for bounds of the element using one parameter.
-
bounds
InfiniteLine bounds(Number x, Number y, Number width, Number height)
Setter for element bounds settings.
-
bounds
InfiniteLine bounds(Number x, Number y, Number width, String height)
Setter for element bounds settings.
-
bounds
InfiniteLine bounds(Number x, Number y, String width, Number height)
Setter for element bounds settings.
-
bounds
InfiniteLine bounds(Number x, Number y, String width, String height)
Setter for element bounds settings.
-
bounds
InfiniteLine bounds(Number x, String y, Number width, Number height)
Setter for element bounds settings.
-
bounds
InfiniteLine bounds(Number x, String y, Number width, String height)
Setter for element bounds settings.
-
bounds
InfiniteLine bounds(Number x, String y, String width, Number height)
Setter for element bounds settings.
-
bounds
InfiniteLine bounds(Number x, String y, String width, String height)
Setter for element bounds settings.
-
bounds
InfiniteLine bounds(String x, Number y, Number width, Number height)
Setter for element bounds settings.
-
bounds
InfiniteLine bounds(String x, Number y, Number width, String height)
Setter for element bounds settings.
-
bounds
InfiniteLine bounds(String x, Number y, String width, Number height)
Setter for element bounds settings.
-
bounds
InfiniteLine bounds(String x, Number y, String width, String height)
Setter for element bounds settings.
-
bounds
InfiniteLine bounds(String x, String y, Number width, Number height)
Setter for element bounds settings.
-
bounds
InfiniteLine bounds(String x, String y, Number width, String height)
Setter for element bounds settings.
-
bounds
InfiniteLine bounds(String x, String y, String width, Number height)
Setter for element bounds settings.
-
bounds
InfiniteLine 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
InfiniteLine 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
InfiniteLine height(Number height)
Setter for element height setting.
-
height
InfiniteLine height(String height)
Setter for element height setting.
-
left
void left()
Getter for element left bound settings.
-
left
InfiniteLine left(Number left)
Setter for element left bound settings.
-
left
InfiniteLine left(String left)
Setter for element left bound settings.
-
maxHeight
void maxHeight()
Getter for the maximum height.
-
maxHeight
InfiniteLine maxHeight(Number height)
Setter for the maximum height.
-
maxHeight
InfiniteLine maxHeight(String height)
Setter for the maximum height.
-
maxWidth
void maxWidth()
Getter for the maximum width.
-
maxWidth
InfiniteLine maxWidth(Number width)
Setter for the maximum width.
-
maxWidth
InfiniteLine maxWidth(String width)
Setter for the maximum width.
-
minHeight
void minHeight()
Getter for the minimum height.
-
minHeight
InfiniteLine minHeight(Number height)
Setter for the minimum height.
-
minHeight
InfiniteLine minHeight(String height)
Setter for the minimum height.
-
minWidth
void minWidth()
Getter for the minimum width.
-
minWidth
InfiniteLine minWidth(Number width)
Setter for the minimum width.
-
minWidth
InfiniteLine 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
InfiniteLine right(Number right)
Setter for element right bound setting.
-
right
InfiniteLine right(String right)
Setter for element right bound setting.
-
top
void top()
Getter for element top bound settings.
-
top
InfiniteLine top(Number top)
Setter for element top bound settings.
-
top
InfiniteLine 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
InfiniteLine width(Number width)
Setter for element width setting.
-
width
InfiniteLine width(String width)
Setter for element width setting.
-
zIndex
void zIndex()
Getter for the Z-index of the element.
-
zIndex
InfiniteLine zIndex(Number zIndex)
Setter for the Z-index of the element.
-
container
InfiniteLine container(Layer element)
Setter for the container.
-
container
InfiniteLine container(Stage element)
Setter for the container.
-
container
InfiniteLine 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
InfiniteLine 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
InfiniteLine 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
InfiniteLine 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
InfiniteLine 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.
-
-
-
-