-
public class Stick extends DiscreteBase
Stick Series Class. {docs:Stock_Charts/Series/Stick}Learn more about Stick series{docs}
-
-
Method Summary
Modifier and Type Method Description static Stickinstantiate()StringgetJsBase()voidallowPointSettings()Getter for the allowPointSettings flag. StickallowPointSettings(Boolean enabled)Setter for the allowPointSettings flag. voidbottom()Getter for element bottom bound settings. Stickbottom(Number bottom)Setter for element bottom bound settings. Stickbottom(String bottom)Setter for element bottom bound settings. Boundsbounds()Getter for element bounds settings. Stickbounds(RectObj bounds)Setter for bounds of the element using one parameter. Stickbounds(Rect bounds)Setter for bounds of the element using one parameter. Stickbounds(Bounds bounds)Setter for bounds of the element using one parameter. Stickbounds(Number x, Number y, Number width, Number height)Setter for element bounds settings. Stickbounds(Number x, Number y, Number width, String height)Setter for element bounds settings. Stickbounds(Number x, Number y, String width, Number height)Setter for element bounds settings. Stickbounds(Number x, Number y, String width, String height)Setter for element bounds settings. Stickbounds(Number x, String y, Number width, Number height)Setter for element bounds settings. Stickbounds(Number x, String y, Number width, String height)Setter for element bounds settings. Stickbounds(Number x, String y, String width, Number height)Setter for element bounds settings. Stickbounds(Number x, String y, String width, String height)Setter for element bounds settings. Stickbounds(String x, Number y, Number width, Number height)Setter for element bounds settings. Stickbounds(String x, Number y, Number width, String height)Setter for element bounds settings. Stickbounds(String x, Number y, String width, Number height)Setter for element bounds settings. Stickbounds(String x, Number y, String width, String height)Setter for element bounds settings. Stickbounds(String x, String y, Number width, Number height)Setter for element bounds settings. Stickbounds(String x, String y, Number width, String height)Setter for element bounds settings. Stickbounds(String x, String y, String width, Number height)Setter for element bounds settings. Stickbounds(String x, String y, String width, String height)Setter for element bounds settings. LinearColorcolorScale()Getter for the color scale. StickcolorScale(LinearColor settings)Setter for the color scale. StickcolorScale(OrdinalColor settings)Setter for the color scale. StickcolorScale(String settings)Setter for the color scale. StickcolorScale(ScaleTypes settings)Setter for the color scale. TableMappingdata(List<DataEntry> data)voidenabled()Getter for the element state (enabled or disabled). Stickenabled(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. Stickheight(Number height)Setter for element height setting. Stickheight(String height)Setter for element height setting. LabelsFactorylabels()Getter for chart labels. Sticklabels(String settings)Setter for chart labels. Sticklabels(Boolean settings)Setter for chart labels. voidleft()Getter for element left bound settings. Stickleft(Number left)Setter for element left bound settings. Stickleft(String left)Setter for element left bound settings. voidmaxHeight()Getter for the maximum height. StickmaxHeight(Number height)Setter for the maximum height. StickmaxHeight(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. voidmaxPointWidth()Getter for the maximum point width. StickmaxPointWidth(Number width)Setter for the maximum point width. StickmaxPointWidth(String width)Setter for the maximum point width. voidmaxWidth()Getter for the maximum width. StickmaxWidth(Number width)Setter for the maximum width. StickmaxWidth(String width)Setter for the maximum width. voidminHeight()Getter for the minimum height. StickminHeight(Number height)Setter for the minimum height. StickminHeight(String height)Setter for the minimum height. LabelsFactoryminLabels()Getter for minimum labels. StickminLabels(String settings)Setter for minimum labels. StickminLabels(Boolean settings)Setter for minimum labels. voidminPointLength()Getter for the minimum point length. StickminPointLength(Number length)Setter for the minimum point length. StickminPointLength(String length)Setter for the minimum point length. voidminWidth()Getter for the minimum width. StickminWidth(Number width)Setter for the minimum width. StickminWidth(String width)Setter for the minimum width. StateSettingsnormal()Getter for normal state settings. Sticknormal(String settings)Setter for normal state settings. voidpointWidth()Getter for point width settings. StickpointWidth(Number width)Setter for the point width settings. StickpointWidth(String width)Setter for the point width 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. Stickrendering(String settings)Setter for the series rendering settings. voidright()Getter for element right bound settings. Stickright(Number right)Setter for element right bound setting. Stickright(String right)Setter for element right bound setting. StateSettingsselected()Getter for selected state settings. Stickselected(String settings)Setter for selected state settings. voidseriesType()Getter for switching of the series type. StickseriesType(String type)Setter for switching of the series type. voidstroke()Getter for stroke settings. Stickstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for stroke settings. Stickstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Stickstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for stroke settings. Stickstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Stickstroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for stroke settings. Stickstroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Stickstroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for stroke settings. Stickstroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Stickstroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for stroke settings. Stickstroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Stickstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for stroke settings. Stickstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Stickstroke(String settings)Setter for stroke using an object. voidtop()Getter for element top bound settings. Sticktop(Number top)Setter for element top bound settings. Sticktop(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. Stickwidth(Number width)Setter for element width setting. Stickwidth(String width)Setter for element width setting. ScatterBaseyScale()Getter for the Y-scale. StickyScale(ScatterBase settings)Setter for the Y-scale. StickyScale(String settings)Setter for the Y-scale. StickyScale(ScaleTypes settings)Setter for the Y-scale. voidzIndex()Getter for the Z-index of the element. StickzIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. Stickcontainer(Layer element)Setter for the container. Stickcontainer(Stage element)Setter for the container. Stickcontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. StickparentBounds(Rect bounds)Setter for the parent bounds using single value. StickparentBounds(String bounds)Setter for the parent bounds using single value. StickparentBounds(Number bounds)Setter for the parent bounds using single value. StickparentBounds(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.DiscreteBase
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.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
-
Stick
Stick(String jsChart)
-
-
Method Detail
-
instantiate
static Stick instantiate()
-
allowPointSettings
void allowPointSettings()
Getter for the allowPointSettings flag.
-
allowPointSettings
Stick allowPointSettings(Boolean enabled)
Setter for the allowPointSettings flag.
-
bottom
void bottom()
Getter for element bottom bound settings.
-
bounds
Stick bounds(Number x, Number y, Number width, Number height)
Setter for element bounds settings.
-
bounds
Stick bounds(Number x, Number y, Number width, String height)
Setter for element bounds settings.
-
bounds
Stick bounds(Number x, Number y, String width, Number height)
Setter for element bounds settings.
-
bounds
Stick bounds(Number x, Number y, String width, String height)
Setter for element bounds settings.
-
bounds
Stick bounds(Number x, String y, Number width, Number height)
Setter for element bounds settings.
-
bounds
Stick bounds(Number x, String y, Number width, String height)
Setter for element bounds settings.
-
bounds
Stick bounds(Number x, String y, String width, Number height)
Setter for element bounds settings.
-
bounds
Stick bounds(Number x, String y, String width, String height)
Setter for element bounds settings.
-
bounds
Stick bounds(String x, Number y, Number width, Number height)
Setter for element bounds settings.
-
bounds
Stick bounds(String x, Number y, Number width, String height)
Setter for element bounds settings.
-
bounds
Stick bounds(String x, Number y, String width, Number height)
Setter for element bounds settings.
-
bounds
Stick bounds(String x, Number y, String width, String height)
Setter for element bounds settings.
-
bounds
Stick bounds(String x, String y, Number width, Number height)
Setter for element bounds settings.
-
bounds
Stick bounds(String x, String y, Number width, String height)
Setter for element bounds settings.
-
bounds
Stick bounds(String x, String y, String width, Number height)
Setter for element bounds settings.
-
bounds
Stick bounds(String x, String y, String width, String height)
Setter for element bounds settings.
-
colorScale
LinearColor colorScale()
Getter for the color scale.
-
colorScale
Stick colorScale(LinearColor settings)
Setter for the color scale.
-
colorScale
Stick colorScale(OrdinalColor settings)
Setter for the color scale.
-
colorScale
Stick colorScale(String settings)
Setter for the color scale.
-
colorScale
Stick 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.
-
maxPointWidth
void maxPointWidth()
Getter for the maximum point width.
-
maxPointWidth
Stick maxPointWidth(Number width)
Setter for the maximum point width.
-
maxPointWidth
Stick maxPointWidth(String width)
Setter for the maximum point width.
-
maxWidth
void maxWidth()
Getter for the maximum width.
-
minHeight
void minHeight()
Getter for the minimum height.
-
minLabels
LabelsFactory minLabels()
Getter for minimum labels.
-
minPointLength
void minPointLength()
Getter for the minimum point length.
-
minPointLength
Stick minPointLength(Number length)
Setter for the minimum point length.
-
minPointLength
Stick minPointLength(String length)
Setter for the minimum point length.
-
minWidth
void minWidth()
Getter for the minimum width.
-
normal
StateSettings normal()
Getter for normal state settings.
-
pointWidth
void pointWidth()
Getter for point width settings.
-
pointWidth
Stick pointWidth(Number width)
Setter for the point width settings.
-
pointWidth
Stick pointWidth(String width)
Setter for the point width 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
Stick seriesType(String type)
Setter for switching of the series type.
-
stroke
void stroke()
Getter for stroke settings.
-
stroke
Stick stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Stick stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Stick stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Stick stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Stick stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Stick stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Stick stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Stick stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Stick stroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Stick stroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Stick stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Stick stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for 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
Stick yScale(ScatterBase settings)
Setter for the Y-scale.
-
yScale
Stick yScale(ScaleTypes settings)
Setter for the Y-scale.
-
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
Stick 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
Stick 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
Stick 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
Stick 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)
-
-
-
-