-
public class HorizontalLine extends Base
Horizontal Line annotation.
-
-
Constructor Summary
Constructors Constructor Description HorizontalLine(String jsChart)
-
Method Summary
Modifier and Type Method Description static HorizontalLineinstantiate()StringgetJsBase()voidallowEdit()Getter for an interactivity in the annotation. HorizontalLineallowEdit(String value)Setter for an interactivity in the annotation. voidcolor()Getter for the annotation color. HorizontalLinecolor(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. HorizontalLinehoverGap(String value)Setter for the hover gap. StateSettingshovered()Getter for hovered state settings. HorizontalLinehovered(String settings)Setter for hovered state settings. MarkersFactorymarkers()Getter for data markers. HorizontalLinemarkers(String settings)Setter for data markers. HorizontalLinemarkers(Boolean settings)Setter for data markers. StateSettingsnormal()Getter for normal state settings. HorizontalLinenormal(String settings)Setter for normal state settings. voidselect()Selects current annotation. StateSettingsselected()Getter for selected state settings. HorizontalLineselected(String settings)Setter for selected state settings. voidstroke()Getter for stroke settings. HorizontalLinestroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for annotations stroke settings. HorizontalLinestroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for annotations stroke settings. HorizontalLinestroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for annotations stroke settings. HorizontalLinestroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for annotations stroke settings. HorizontalLinestroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for annotations stroke settings. HorizontalLinestroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for annotations stroke settings. HorizontalLinestroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for annotations stroke settings. HorizontalLinestroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for annotations stroke settings. HorizontalLinestroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for annotations stroke settings. HorizontalLinestroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for annotations stroke settings. HorizontalLinestroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for annotations stroke settings. HorizontalLinestroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for annotations stroke settings. HorizontalLinestroke(String settings)Setter for annotation stroke settings using an object. voidvalueAnchor()Getter for the value anchor. HorizontalLinevalueAnchor(String value)Setter for the value anchor. OrdinalxScale()Getter for the X-scale. HorizontalLinexScale(Base settings)Setter for the X-scale. HorizontalLinexScale(StockScatterDateTime settings)Setter for the X-scale. HorizontalLinexScale(String settings)Setter for the X-scale. HorizontalLinexScale(ScaleTypes settings)Setter for the X-scale. BaseyScale()Getter for the Y-scale. HorizontalLineyScale(Base settings)Setter for the Y-scale. HorizontalLineyScale(String settings)Setter for the Y-scale. HorizontalLineyScale(ScaleTypes settings)Setter for the Y-scale. voidbottom()Getter for element bottom bound settings. HorizontalLinebottom(Number bottom)Setter for element bottom bound settings. HorizontalLinebottom(String bottom)Setter for element bottom bound settings. Boundsbounds()Getter for element bounds settings. HorizontalLinebounds(RectObj bounds)Setter for bounds of the element using one parameter. HorizontalLinebounds(Rect bounds)Setter for bounds of the element using one parameter. HorizontalLinebounds(Bounds bounds)Setter for bounds of the element using one parameter. HorizontalLinebounds(Number x, Number y, Number width, Number height)Setter for element bounds settings. HorizontalLinebounds(Number x, Number y, Number width, String height)Setter for element bounds settings. HorizontalLinebounds(Number x, Number y, String width, Number height)Setter for element bounds settings. HorizontalLinebounds(Number x, Number y, String width, String height)Setter for element bounds settings. HorizontalLinebounds(Number x, String y, Number width, Number height)Setter for element bounds settings. HorizontalLinebounds(Number x, String y, Number width, String height)Setter for element bounds settings. HorizontalLinebounds(Number x, String y, String width, Number height)Setter for element bounds settings. HorizontalLinebounds(Number x, String y, String width, String height)Setter for element bounds settings. HorizontalLinebounds(String x, Number y, Number width, Number height)Setter for element bounds settings. HorizontalLinebounds(String x, Number y, Number width, String height)Setter for element bounds settings. HorizontalLinebounds(String x, Number y, String width, Number height)Setter for element bounds settings. HorizontalLinebounds(String x, Number y, String width, String height)Setter for element bounds settings. HorizontalLinebounds(String x, String y, Number width, Number height)Setter for element bounds settings. HorizontalLinebounds(String x, String y, Number width, String height)Setter for element bounds settings. HorizontalLinebounds(String x, String y, String width, Number height)Setter for element bounds settings. HorizontalLinebounds(String x, String y, String width, String height)Setter for element bounds settings. voidenabled()Getter for the element state (enabled or disabled). HorizontalLineenabled(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. HorizontalLineheight(Number height)Setter for element height setting. HorizontalLineheight(String height)Setter for element height setting. voidleft()Getter for element left bound settings. HorizontalLineleft(Number left)Setter for element left bound settings. HorizontalLineleft(String left)Setter for element left bound settings. voidmaxHeight()Getter for the maximum height. HorizontalLinemaxHeight(Number height)Setter for the maximum height. HorizontalLinemaxHeight(String height)Setter for the maximum height. voidmaxWidth()Getter for the maximum width. HorizontalLinemaxWidth(Number width)Setter for the maximum width. HorizontalLinemaxWidth(String width)Setter for the maximum width. voidminHeight()Getter for the minimum height. HorizontalLineminHeight(Number height)Setter for the minimum height. HorizontalLineminHeight(String height)Setter for the minimum height. voidminWidth()Getter for the minimum width. HorizontalLineminWidth(Number width)Setter for the minimum width. HorizontalLineminWidth(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. HorizontalLineright(Number right)Setter for element right bound setting. HorizontalLineright(String right)Setter for element right bound setting. voidtop()Getter for element top bound settings. HorizontalLinetop(Number top)Setter for element top bound settings. HorizontalLinetop(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. HorizontalLinewidth(Number width)Setter for element width setting. HorizontalLinewidth(String width)Setter for element width setting. voidzIndex()Getter for the Z-index of the element. HorizontalLinezIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. HorizontalLinecontainer(Layer element)Setter for the container. HorizontalLinecontainer(Stage element)Setter for the container. HorizontalLinecontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. HorizontalLineparentBounds(Rect bounds)Setter for the parent bounds using single value. HorizontalLineparentBounds(String bounds)Setter for the parent bounds using single value. HorizontalLineparentBounds(Number bounds)Setter for the parent bounds using single value. HorizontalLineparentBounds(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
-
HorizontalLine
HorizontalLine(String jsChart)
-
-
Method Detail
-
instantiate
static HorizontalLine instantiate()
-
allowEdit
void allowEdit()
Getter for an interactivity in the annotation.
-
allowEdit
HorizontalLine allowEdit(String value)
Setter for an interactivity in the annotation.
-
color
void color()
Getter for the annotation color.
-
color
HorizontalLine 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
HorizontalLine hoverGap(String value)
Setter for the hover gap. The contour size around annotation.
-
hovered
StateSettings hovered()
Getter for hovered state settings.
-
hovered
HorizontalLine hovered(String settings)
Setter for hovered state settings.
-
markers
MarkersFactory markers()
Getter for data markers.
-
markers
HorizontalLine markers(String settings)
Setter for data markers.
-
markers
HorizontalLine markers(Boolean settings)
Setter for data markers.
-
normal
StateSettings normal()
Getter for normal state settings.
-
normal
HorizontalLine normal(String settings)
Setter for normal state settings.
-
select
void select()
Selects current annotation.
-
selected
StateSettings selected()
Getter for selected state settings.
-
selected
HorizontalLine selected(String settings)
Setter for selected state settings.
-
stroke
void stroke()
Getter for stroke settings.
-
stroke
HorizontalLine 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
HorizontalLine 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
HorizontalLine 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
HorizontalLine 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
HorizontalLine 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
HorizontalLine 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
HorizontalLine 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
HorizontalLine 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
HorizontalLine 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
HorizontalLine 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
HorizontalLine 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
HorizontalLine 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
HorizontalLine stroke(String settings)
Setter for annotation stroke settings using an object.
-
valueAnchor
void valueAnchor()
Getter for the value anchor.
-
valueAnchor
HorizontalLine valueAnchor(String value)
Setter for the value anchor.
-
xScale
HorizontalLine xScale(Base settings)
Setter for the X-scale.
-
xScale
HorizontalLine xScale(StockScatterDateTime settings)
Setter for the X-scale.
-
xScale
HorizontalLine xScale(String settings)
Setter for the X-scale.
-
xScale
HorizontalLine xScale(ScaleTypes settings)
Setter for the X-scale.
-
yScale
HorizontalLine yScale(Base settings)
Setter for the Y-scale.
-
yScale
HorizontalLine yScale(String settings)
Setter for the Y-scale.
-
yScale
HorizontalLine yScale(ScaleTypes settings)
Setter for the Y-scale.
-
bottom
void bottom()
Getter for element bottom bound settings.
-
bottom
HorizontalLine bottom(Number bottom)
Setter for element bottom bound settings.
-
bottom
HorizontalLine bottom(String bottom)
Setter for element bottom bound settings.
-
bounds
HorizontalLine bounds(RectObj bounds)
Setter for bounds of the element using one parameter.
-
bounds
HorizontalLine bounds(Rect bounds)
Setter for bounds of the element using one parameter.
-
bounds
HorizontalLine bounds(Bounds bounds)
Setter for bounds of the element using one parameter.
-
bounds
HorizontalLine bounds(Number x, Number y, Number width, Number height)
Setter for element bounds settings.
-
bounds
HorizontalLine bounds(Number x, Number y, Number width, String height)
Setter for element bounds settings.
-
bounds
HorizontalLine bounds(Number x, Number y, String width, Number height)
Setter for element bounds settings.
-
bounds
HorizontalLine bounds(Number x, Number y, String width, String height)
Setter for element bounds settings.
-
bounds
HorizontalLine bounds(Number x, String y, Number width, Number height)
Setter for element bounds settings.
-
bounds
HorizontalLine bounds(Number x, String y, Number width, String height)
Setter for element bounds settings.
-
bounds
HorizontalLine bounds(Number x, String y, String width, Number height)
Setter for element bounds settings.
-
bounds
HorizontalLine bounds(Number x, String y, String width, String height)
Setter for element bounds settings.
-
bounds
HorizontalLine bounds(String x, Number y, Number width, Number height)
Setter for element bounds settings.
-
bounds
HorizontalLine bounds(String x, Number y, Number width, String height)
Setter for element bounds settings.
-
bounds
HorizontalLine bounds(String x, Number y, String width, Number height)
Setter for element bounds settings.
-
bounds
HorizontalLine bounds(String x, Number y, String width, String height)
Setter for element bounds settings.
-
bounds
HorizontalLine bounds(String x, String y, Number width, Number height)
Setter for element bounds settings.
-
bounds
HorizontalLine bounds(String x, String y, Number width, String height)
Setter for element bounds settings.
-
bounds
HorizontalLine bounds(String x, String y, String width, Number height)
Setter for element bounds settings.
-
bounds
HorizontalLine 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
HorizontalLine 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
HorizontalLine height(Number height)
Setter for element height setting.
-
height
HorizontalLine height(String height)
Setter for element height setting.
-
left
void left()
Getter for element left bound settings.
-
left
HorizontalLine left(Number left)
Setter for element left bound settings.
-
left
HorizontalLine left(String left)
Setter for element left bound settings.
-
maxHeight
void maxHeight()
Getter for the maximum height.
-
maxHeight
HorizontalLine maxHeight(Number height)
Setter for the maximum height.
-
maxHeight
HorizontalLine maxHeight(String height)
Setter for the maximum height.
-
maxWidth
void maxWidth()
Getter for the maximum width.
-
maxWidth
HorizontalLine maxWidth(Number width)
Setter for the maximum width.
-
maxWidth
HorizontalLine maxWidth(String width)
Setter for the maximum width.
-
minHeight
void minHeight()
Getter for the minimum height.
-
minHeight
HorizontalLine minHeight(Number height)
Setter for the minimum height.
-
minHeight
HorizontalLine minHeight(String height)
Setter for the minimum height.
-
minWidth
void minWidth()
Getter for the minimum width.
-
minWidth
HorizontalLine minWidth(Number width)
Setter for the minimum width.
-
minWidth
HorizontalLine 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
HorizontalLine right(Number right)
Setter for element right bound setting.
-
right
HorizontalLine right(String right)
Setter for element right bound setting.
-
top
void top()
Getter for element top bound settings.
-
top
HorizontalLine top(Number top)
Setter for element top bound settings.
-
top
HorizontalLine 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
HorizontalLine width(Number width)
Setter for element width setting.
-
width
HorizontalLine width(String width)
Setter for element width setting.
-
zIndex
void zIndex()
Getter for the Z-index of the element.
-
zIndex
HorizontalLine zIndex(Number zIndex)
Setter for the Z-index of the element.
-
container
HorizontalLine container(Layer element)
Setter for the container.
-
container
HorizontalLine container(Stage element)
Setter for the container.
-
container
HorizontalLine 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
HorizontalLine 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
HorizontalLine 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
HorizontalLine 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
HorizontalLine 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.
-
-
-
-