-
-
Method Summary
Modifier and Type Method Description static Rayinstantiate()StringgetJsBase()voidallowEdit()Getter for an interactivity in the annotation. RayallowEdit(String value)Setter for an interactivity in the annotation. voidcolor()Getter for the annotation color. Raycolor(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. RayhoverGap(String value)Setter for the hover gap. StateSettingshovered()Getter for hovered state settings. Rayhovered(String settings)Setter for hovered state settings. MarkersFactorymarkers()Getter for data markers. Raymarkers(String settings)Setter for data markers. Raymarkers(Boolean settings)Setter for data markers. StateSettingsnormal()Getter for normal state settings. Raynormal(String settings)Setter for normal state settings. voidsecondValueAnchor()Getter for the second value anchor. RaysecondValueAnchor(String value)Setter for the second value anchor. voidsecondXAnchor()Getter for the second X anchor. RaysecondXAnchor(String Second)Setter for the second X anchor. voidselect()Selects current annotation. StateSettingsselected()Getter for selected state settings. Rayselected(String settings)Setter for selected state settings. voidstroke()Getter for stroke settings. Raystroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for annotations stroke settings. Raystroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for annotations stroke settings. Raystroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for annotations stroke settings. Raystroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for annotations stroke settings. Raystroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for annotations stroke settings. Raystroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for annotations stroke settings. Raystroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for annotations stroke settings. Raystroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for annotations stroke settings. Raystroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for annotations stroke settings. Raystroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for annotations stroke settings. Raystroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for annotations stroke settings. Raystroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for annotations stroke settings. Raystroke(String settings)Setter for annotation stroke settings using an object. voidvalueAnchor()Getter for the value anchor. RayvalueAnchor(String value)Setter for the value anchor. voidxAnchor()Getter for the X anchor. RayxAnchor(String value)Setter for the X anchor. OrdinalxScale()Getter for the X-scale. RayxScale(Base settings)Setter for the X-scale. RayxScale(StockScatterDateTime settings)Setter for the X-scale. RayxScale(String settings)Setter for the X-scale. RayxScale(ScaleTypes settings)Setter for the X-scale. BaseyScale()Getter for the Y-scale. RayyScale(Base settings)Setter for the Y-scale. RayyScale(String settings)Setter for the Y-scale. RayyScale(ScaleTypes settings)Setter for the Y-scale. voidbottom()Getter for element bottom bound settings. Raybottom(Number bottom)Setter for element bottom bound settings. Raybottom(String bottom)Setter for element bottom bound settings. Boundsbounds()Getter for element bounds settings. Raybounds(RectObj bounds)Setter for bounds of the element using one parameter. Raybounds(Rect bounds)Setter for bounds of the element using one parameter. Raybounds(Bounds bounds)Setter for bounds of the element using one parameter. Raybounds(Number x, Number y, Number width, Number height)Setter for element bounds settings. Raybounds(Number x, Number y, Number width, String height)Setter for element bounds settings. Raybounds(Number x, Number y, String width, Number height)Setter for element bounds settings. Raybounds(Number x, Number y, String width, String height)Setter for element bounds settings. Raybounds(Number x, String y, Number width, Number height)Setter for element bounds settings. Raybounds(Number x, String y, Number width, String height)Setter for element bounds settings. Raybounds(Number x, String y, String width, Number height)Setter for element bounds settings. Raybounds(Number x, String y, String width, String height)Setter for element bounds settings. Raybounds(String x, Number y, Number width, Number height)Setter for element bounds settings. Raybounds(String x, Number y, Number width, String height)Setter for element bounds settings. Raybounds(String x, Number y, String width, Number height)Setter for element bounds settings. Raybounds(String x, Number y, String width, String height)Setter for element bounds settings. Raybounds(String x, String y, Number width, Number height)Setter for element bounds settings. Raybounds(String x, String y, Number width, String height)Setter for element bounds settings. Raybounds(String x, String y, String width, Number height)Setter for element bounds settings. Raybounds(String x, String y, String width, String height)Setter for element bounds settings. voidenabled()Getter for the element state (enabled or disabled). Rayenabled(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. Rayheight(Number height)Setter for element height setting. Rayheight(String height)Setter for element height setting. voidleft()Getter for element left bound settings. Rayleft(Number left)Setter for element left bound settings. Rayleft(String left)Setter for element left bound settings. voidmaxHeight()Getter for the maximum height. RaymaxHeight(Number height)Setter for the maximum height. RaymaxHeight(String height)Setter for the maximum height. voidmaxWidth()Getter for the maximum width. RaymaxWidth(Number width)Setter for the maximum width. RaymaxWidth(String width)Setter for the maximum width. voidminHeight()Getter for the minimum height. RayminHeight(Number height)Setter for the minimum height. RayminHeight(String height)Setter for the minimum height. voidminWidth()Getter for the minimum width. RayminWidth(Number width)Setter for the minimum width. RayminWidth(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. Rayright(Number right)Setter for element right bound setting. Rayright(String right)Setter for element right bound setting. voidtop()Getter for element top bound settings. Raytop(Number top)Setter for element top bound settings. Raytop(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. Raywidth(Number width)Setter for element width setting. Raywidth(String width)Setter for element width setting. voidzIndex()Getter for the Z-index of the element. RayzIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. Raycontainer(Layer element)Setter for the container. Raycontainer(Stage element)Setter for the container. Raycontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. RayparentBounds(Rect bounds)Setter for the parent bounds using single value. RayparentBounds(String bounds)Setter for the parent bounds using single value. RayparentBounds(Number bounds)Setter for the parent bounds using single value. RayparentBounds(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
-
Ray
Ray(String jsChart)
-
-
Method Detail
-
instantiate
static Ray instantiate()
-
allowEdit
void allowEdit()
Getter for an interactivity in the annotation.
-
color
void color()
Getter 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.
-
hovered
StateSettings hovered()
Getter for hovered state settings.
-
markers
MarkersFactory markers()
Getter for data markers.
-
normal
StateSettings normal()
Getter for normal state settings.
-
secondValueAnchor
void secondValueAnchor()
Getter for the second value anchor.
-
secondValueAnchor
Ray secondValueAnchor(String value)
Setter for the second value anchor.
-
secondXAnchor
void secondXAnchor()
Getter for the second X anchor.
-
secondXAnchor
Ray secondXAnchor(String Second)
Setter for the second X anchor.
-
select
void select()
Selects current annotation.
-
selected
StateSettings selected()
Getter for selected state settings.
-
stroke
void stroke()
Getter for stroke settings.
-
stroke
Ray 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
Ray 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
Ray 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
Ray 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
Ray 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
Ray 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
Ray 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
Ray 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
Ray 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
Ray 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
Ray 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
Ray 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}
-
valueAnchor
void valueAnchor()
Getter for the value anchor.
-
valueAnchor
Ray valueAnchor(String value)
Setter for the value anchor.
-
xAnchor
void xAnchor()
Getter for the X anchor.
-
xScale
Ray xScale(StockScatterDateTime settings)
Setter for the X-scale.
-
xScale
Ray xScale(ScaleTypes settings)
Setter for the X-scale.
-
yScale
Ray yScale(ScaleTypes settings)
Setter for the Y-scale.
-
bottom
void bottom()
Getter for element bottom bound settings.
-
bounds
Ray bounds(Number x, Number y, Number width, Number height)
Setter for element bounds settings.
-
bounds
Ray bounds(Number x, Number y, Number width, String height)
Setter for element bounds settings.
-
bounds
Ray bounds(Number x, Number y, String width, Number height)
Setter for element bounds settings.
-
bounds
Ray bounds(Number x, Number y, String width, String height)
Setter for element bounds settings.
-
bounds
Ray bounds(Number x, String y, Number width, Number height)
Setter for element bounds settings.
-
bounds
Ray bounds(Number x, String y, Number width, String height)
Setter for element bounds settings.
-
bounds
Ray bounds(Number x, String y, String width, Number height)
Setter for element bounds settings.
-
bounds
Ray bounds(Number x, String y, String width, String height)
Setter for element bounds settings.
-
bounds
Ray bounds(String x, Number y, Number width, Number height)
Setter for element bounds settings.
-
bounds
Ray bounds(String x, Number y, Number width, String height)
Setter for element bounds settings.
-
bounds
Ray bounds(String x, Number y, String width, Number height)
Setter for element bounds settings.
-
bounds
Ray bounds(String x, Number y, String width, String height)
Setter for element bounds settings.
-
bounds
Ray bounds(String x, String y, Number width, Number height)
Setter for element bounds settings.
-
bounds
Ray bounds(String x, String y, Number width, String height)
Setter for element bounds settings.
-
bounds
Ray bounds(String x, String y, String width, Number height)
Setter for element bounds settings.
-
bounds
Ray 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).
-
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.
-
left
void left()
Getter for element left bound settings.
-
maxHeight
void maxHeight()
Getter for the maximum height.
-
maxWidth
void maxWidth()
Getter for the maximum width.
-
minHeight
void minHeight()
Getter for the minimum height.
-
minWidth
void minWidth()
Getter 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.
-
top
void top()
Getter 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.
-
zIndex
void zIndex()
Getter for the Z-index of the element.
-
parentBounds
Rect parentBounds()
Getter for the parent bounds. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
Ray 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
Ray 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
Ray 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
Ray 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.
-
-
-
-