-
-
Method Summary
Modifier and Type Method Description static Lineinstantiate()StringgetJsBase()voidallowPointSettings()Getter for the allowPointSettings flag. LineallowPointSettings(Boolean enabled)Setter for the allowPointSettings flag. voidbottom()Getter for element bottom bound settings. Linebottom(Number bottom)Setter for element bottom bound settings. Linebottom(String bottom)Setter for element bottom bound settings. Boundsbounds()Getter for element bounds settings. Linebounds(RectObj bounds)Setter for bounds of the element using one parameter. Linebounds(Rect bounds)Setter for bounds of the element using one parameter. Linebounds(Bounds bounds)Setter for bounds of the element using one parameter. Linebounds(Number x, Number y, Number width, Number height)Setter for element bounds settings. Linebounds(Number x, Number y, Number width, String height)Setter for element bounds settings. Linebounds(Number x, Number y, String width, Number height)Setter for element bounds settings. Linebounds(Number x, Number y, String width, String height)Setter for element bounds settings. Linebounds(Number x, String y, Number width, Number height)Setter for element bounds settings. Linebounds(Number x, String y, Number width, String height)Setter for element bounds settings. Linebounds(Number x, String y, String width, Number height)Setter for element bounds settings. Linebounds(Number x, String y, String width, String height)Setter for element bounds settings. Linebounds(String x, Number y, Number width, Number height)Setter for element bounds settings. Linebounds(String x, Number y, Number width, String height)Setter for element bounds settings. Linebounds(String x, Number y, String width, Number height)Setter for element bounds settings. Linebounds(String x, Number y, String width, String height)Setter for element bounds settings. Linebounds(String x, String y, Number width, Number height)Setter for element bounds settings. Linebounds(String x, String y, Number width, String height)Setter for element bounds settings. Linebounds(String x, String y, String width, Number height)Setter for element bounds settings. Linebounds(String x, String y, String width, String height)Setter for element bounds settings. LinearColorcolorScale()Getter for the color scale. LinecolorScale(LinearColor settings)Setter for the color scale. LinecolorScale(OrdinalColor settings)Setter for the color scale. LinecolorScale(String settings)Setter for the color scale. LinecolorScale(ScaleTypes settings)Setter for the color scale. TableMappingdata(List<DataEntry> data)voidenabled()Getter for the element state (enabled or disabled). Lineenabled(Boolean enabled)Setter for the element enabled state. voidgetIndex()Returns series index. RectgetPixelBounds()Returns pixel bounds of the element due to parent bounds and self bounds settings. voidheight()Getter for element height settings. Lineheight(Number height)Setter for element height setting. Lineheight(String height)Setter for element height setting. LabelsFactorylabels()Getter for chart labels. Linelabels(String settings)Setter for chart labels. Linelabels(Boolean settings)Setter for chart labels. voidleft()Getter for element left bound settings. Lineleft(Number left)Setter for element left bound settings. Lineleft(String left)Setter for element left bound settings. voidmaxHeight()Getter for the maximum height. LinemaxHeight(Number height)Setter for the maximum height. LinemaxHeight(String height)Setter for the maximum height. LabelsFactorymaxLabels()Getter for maximum labels. BasemaxLabels(String settings)Setter for maximum labels. BasemaxLabels(Boolean settings)Setter for maximum labels. voidmaxWidth()Getter for the maximum width. LinemaxWidth(Number width)Setter for the maximum width. LinemaxWidth(String width)Setter for the maximum width. voidminHeight()Getter for the minimum height. LineminHeight(Number height)Setter for the minimum height. LineminHeight(String height)Setter for the minimum height. LabelsFactoryminLabels()Getter for minimum labels. LineminLabels(String settings)Setter for minimum labels. LineminLabels(Boolean settings)Setter for minimum labels. voidminWidth()Getter for the minimum width. LineminWidth(Number width)Setter for the minimum width. LineminWidth(String width)Setter for the minimum width. StateSettingsnormal()Getter for normal state settings. Linenormal(String settings)Setter for normal state settings. 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. RenderingSettingsrendering()Getter for the series rendering. Linerendering(String settings)Setter for the series rendering settings. voidright()Getter for element right bound settings. Lineright(Number right)Setter for element right bound setting. Lineright(String right)Setter for element right bound setting. StateSettingsselected()Getter for selected state settings. Lineselected(String settings)Setter for selected state settings. voidseriesType()Getter for switching of the series type. LineseriesType(String type)Setter for switching of the series type. voidstroke()Getter for the line stroke settings. Linestroke(Stroke value, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for line stroke settings. Linestroke(Stroke value, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for line stroke settings. Linestroke(Stroke value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for line stroke settings. Linestroke(Stroke value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for line stroke settings. Linestroke(ColoredFill value, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for line stroke settings. Linestroke(ColoredFill value, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for line stroke settings. Linestroke(ColoredFill value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for line stroke settings. Linestroke(ColoredFill value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for line stroke settings. Linestroke(String value, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for line stroke settings. Linestroke(String value, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for line stroke settings. Linestroke(String value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for line stroke settings. Linestroke(String value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for line stroke settings. Linestroke(String settings)Setter for stroke using an object. voidtop()Getter for element top bound settings. Linetop(Number top)Setter for element top bound settings. Linetop(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. Linewidth(Number width)Setter for element width setting. Linewidth(String width)Setter for element width setting. ScatterBaseyScale()Getter for the Y-scale. LineyScale(ScatterBase settings)Setter for the Y-scale. LineyScale(String settings)Setter for the Y-scale. LineyScale(ScaleTypes settings)Setter for the Y-scale. voidzIndex()Getter for the Z-index of the element. LinezIndex(Number zIndex)Setter for the Z-index of the element. voidmaxPointWidth()Getter for the maximum point width. LinemaxPointWidth(Number width)Setter for the maximum point width. LinemaxPointWidth(String width)Setter for the maximum point width. voidminPointLength()Getter for the minimum point length. LineminPointLength(Number length)Setter for the minimum point length. LineminPointLength(String length)Setter for the minimum point length. voidpointWidth()Getter for the point width settings. LinepointWidth(Number width)Setter for the point width settings. LinepointWidth(String width)Setter for the point width settings. Layercontainer()Getter for the container. Linecontainer(Layer element)Setter for the container. Linecontainer(Stage element)Setter for the container. Linecontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. LineparentBounds(Rect bounds)Setter for the parent bounds using single value. LineparentBounds(String bounds)Setter for the parent bounds using single value. LineparentBounds(Number bounds)Setter for the parent bounds using single value. LineparentBounds(Number left, Number top, Number width, Number height)Setter for the parent bounds using several values. TableMappingdata(View data)TableMappingdata(List<DataEntry> data, TreeFillingMethod fillMethod)TableMappingdata(List<DataEntry> data, String fillMethod)ObjectyScale(Class scaleClass)-
Methods inherited from class com.anychart.core.stock.scrollerseries.Base
allowPointSettings, bottom, bottom, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, colorScale, colorScale, colorScale, colorScale, container, container, container, enabled, height, height, instantiate, labels, labels, left, left, maxHeight, maxHeight, maxPointWidth, maxPointWidth, maxWidth, maxWidth, minHeight, minHeight, minLabels, minLabels, minPointLength, minPointLength, minWidth, minWidth, normal, parentBounds, parentBounds, parentBounds, parentBounds, pointWidth, pointWidth, rendering, right, right, selected, seriesType, top, top, width, width, 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
-
Line
Line(String jsChart)
-
-
Method Detail
-
instantiate
static Line instantiate()
-
allowPointSettings
void allowPointSettings()
Getter for the allowPointSettings flag.
-
allowPointSettings
Line allowPointSettings(Boolean enabled)
Setter for the allowPointSettings flag.
-
bottom
void bottom()
Getter for element bottom bound settings.
-
bounds
Line bounds(Number x, Number y, Number width, Number height)
Setter for element bounds settings.
-
bounds
Line bounds(Number x, Number y, Number width, String height)
Setter for element bounds settings.
-
bounds
Line bounds(Number x, Number y, String width, Number height)
Setter for element bounds settings.
-
bounds
Line bounds(Number x, Number y, String width, String height)
Setter for element bounds settings.
-
bounds
Line bounds(Number x, String y, Number width, Number height)
Setter for element bounds settings.
-
bounds
Line bounds(Number x, String y, Number width, String height)
Setter for element bounds settings.
-
bounds
Line bounds(Number x, String y, String width, Number height)
Setter for element bounds settings.
-
bounds
Line bounds(Number x, String y, String width, String height)
Setter for element bounds settings.
-
bounds
Line bounds(String x, Number y, Number width, Number height)
Setter for element bounds settings.
-
bounds
Line bounds(String x, Number y, Number width, String height)
Setter for element bounds settings.
-
bounds
Line bounds(String x, Number y, String width, Number height)
Setter for element bounds settings.
-
bounds
Line bounds(String x, Number y, String width, String height)
Setter for element bounds settings.
-
bounds
Line bounds(String x, String y, Number width, Number height)
Setter for element bounds settings.
-
bounds
Line bounds(String x, String y, Number width, String height)
Setter for element bounds settings.
-
bounds
Line bounds(String x, String y, String width, Number height)
Setter for element bounds settings.
-
bounds
Line bounds(String x, String y, String width, String height)
Setter for element bounds settings.
-
colorScale
LinearColor colorScale()
Getter for the color scale.
-
colorScale
Line colorScale(LinearColor settings)
Setter for the color scale.
-
colorScale
Line colorScale(OrdinalColor settings)
Setter for the color scale.
-
colorScale
Line colorScale(String settings)
Setter for the color scale.
-
colorScale
Line colorScale(ScaleTypes settings)
Setter for the color scale.
-
data
TableMapping data(List<DataEntry> data)
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
getIndex
void getIndex()
Returns series index.
-
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.
-
labels
LabelsFactory labels()
Getter for chart labels.
-
left
void left()
Getter for element left bound settings.
-
maxHeight
void maxHeight()
Getter for the maximum height.
-
maxLabels
LabelsFactory maxLabels()
Getter for maximum labels.
-
maxWidth
void maxWidth()
Getter for the maximum width.
-
minHeight
void minHeight()
Getter for the minimum height.
-
minLabels
LabelsFactory minLabels()
Getter for minimum labels.
-
minWidth
void minWidth()
Getter for the minimum width.
-
normal
StateSettings normal()
Getter for normal state settings.
-
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.
-
rendering
RenderingSettings rendering()
Getter for the series rendering.
-
right
void right()
Getter for element right bound settings.
-
selected
StateSettings selected()
Getter for selected state settings.
-
seriesType
void seriesType()
Getter for switching of the series type.
-
seriesType
Line seriesType(String type)
Setter for switching of the series type.
-
stroke
void stroke()
Getter for the line stroke settings.
-
stroke
Line stroke(Stroke value, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for line stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Line stroke(Stroke value, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for line stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Line stroke(Stroke value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for line stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Line stroke(Stroke value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for line stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Line stroke(ColoredFill value, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for line stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Line stroke(ColoredFill value, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for line stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Line stroke(ColoredFill value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for line stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Line stroke(ColoredFill value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for line stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Line stroke(String value, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for line stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Line stroke(String value, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for line stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Line stroke(String value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for line stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Line stroke(String value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for line stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
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.
-
yScale
ScatterBase yScale()
Getter for the Y-scale.
-
yScale
Line yScale(ScatterBase settings)
Setter for the Y-scale.
-
yScale
Line yScale(ScaleTypes settings)
Setter for the Y-scale.
-
zIndex
void zIndex()
Getter for the Z-index of the element.
-
maxPointWidth
void maxPointWidth()
Getter for the maximum point width.
-
maxPointWidth
Line maxPointWidth(Number width)
Setter for the maximum point width.
-
maxPointWidth
Line maxPointWidth(String width)
Setter for the maximum point width.
-
minPointLength
void minPointLength()
Getter for the minimum point length.
-
minPointLength
Line minPointLength(Number length)
Setter for the minimum point length.
-
minPointLength
Line minPointLength(String length)
Setter for the minimum point length.
-
pointWidth
void pointWidth()
Getter for the point width settings.
-
pointWidth
Line pointWidth(Number width)
Setter for the point width settings.
-
pointWidth
Line pointWidth(String width)
Setter for the point width settings.
-
parentBounds
Rect parentBounds()
Getter for the parent bounds. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
Line 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
Line 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
Line 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
Line 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.
-
data
TableMapping data(View data)
-
data
TableMapping data(List<DataEntry> data, TreeFillingMethod fillMethod)
-
data
TableMapping data(List<DataEntry> data, String fillMethod)
-
-
-
-