-
-
Method Summary
Modifier and Type Method Description static Needleinstantiate()StringgetJsBase()voidaxisIndex()Getter for the axis index. NeedleaxisIndex(Number index)Setter for the axis index. Viewdata(List<DataEntry> data)voiddataIndex()Getter for the data index. NeedledataIndex(Number index)Setter for the data index. voidenabled()Getter for the element state (enabled or disabled). Needleenabled(Boolean enabled)Setter for the element enabled state. voidendRadius()Getter for the end radius. NeedleendRadius(Number radius)Setter for the end radius. NeedleendRadius(String radius)Setter for the end radius. voidendWidth()Getter for the end width. NeedleendWidth(Number width)Setter for the end width. NeedleendWidth(String width)Setter for the end width. voidfill()Getter for the pointer fill color. Needlefill(Fill color)Sets pointer fill settings using an array or a string. Needlefill(GradientKey color)Sets pointer fill settings using an array or a string. Needlefill(Array<String> color)Sets pointer fill settings using an array or a string. Needlefill(String color, Number opacity)Pointer fill color with opacity. Needlefill(GradientKey keys, Number angle, Boolean mode, Number opacity)Linear gradient pointer fill. Needlefill(GradientKey keys, Number angle, Rect mode, Number opacity)Linear gradient pointer fill. Needlefill(GradientKey keys, Number angle, String mode, Number opacity)Linear gradient pointer fill. Needlefill(Array<String> keys, Number angle, Boolean mode, Number opacity)Linear gradient pointer fill. Needlefill(Array<String> keys, Number angle, Rect mode, Number opacity)Linear gradient pointer fill. Needlefill(Array<String> keys, Number angle, String mode, Number opacity)Linear gradient pointer fill. Needlefill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient pointer fill. Needlefill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient pointer fill. PatternFillhatchFill()Getter for hatch fill settings. NeedlehatchFill(HatchFillType type, String color, Number thickness, Number size)Setter for hatch fill settings. NeedlehatchFill(String type, String color, Number thickness, Number size)Setter for hatch fill settings. NeedlehatchFill(PatternFill patternFill)Setter for hatch fill settings using pattern fill. NeedlehatchFill(HatchFill settings)Setter for hatch fill settings using an instance. NeedlehatchFill(Boolean enabled)Setter for hatch fill using boolean. Needleid()Getter for the pointer id. Needleid(String id)Setter for the pointer id. Needleid(Number id)Setter for the pointer id. voidmiddleRadius()Getter for the middle radius. NeedlemiddleRadius(Number radius)Setter for the middle radius. NeedlemiddleRadius(String radius)Setter for the middle radius. voidmiddleWidth()Getter for the middle width. NeedlemiddleWidth(Number width)Setter for the middle width. NeedlemiddleWidth(String width)Setter for the middle 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. voidstartRadius()Getter for the start radius. NeedlestartRadius(Number radius)Setter for the start radius. NeedlestartRadius(String radius)Setter for the start radius. voidstartWidth()Getter for the start width. NeedlestartWidth(Number width)Setter for the start width. NeedlestartWidth(String width)Setter for the start width. voidstroke()Getter for the pointer stroke. Needlestroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for stroke settings. Needlestroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Needlestroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for stroke settings. Needlestroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Needlestroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for stroke settings. Needlestroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Needlestroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for stroke settings. Needlestroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Needlestroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for stroke settings. Needlestroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Needlestroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for stroke settings. Needlestroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Needlestroke(String settings)Setter for the stroke using an object. 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(). voidzIndex()Getter for the Z-index of the element. NeedlezIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. Needlecontainer(Layer element)Setter for the container. Needlecontainer(Stage element)Setter for the container. Needlecontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. NeedleparentBounds(Rect bounds)Setter for the parent bounds using single value. NeedleparentBounds(String bounds)Setter for the parent bounds using single value. NeedleparentBounds(Number bounds)Setter for the parent bounds using single value. NeedleparentBounds(Number left, Number top, Number width, Number height)Setter for the parent bounds using several values. Viewdata(View data)Viewdata(List<DataEntry> data, TreeFillingMethod fillMethod)Viewdata(List<DataEntry> data, String fillMethod)Needlefill(String value)-
Methods inherited from class com.anychart.core.gauge.pointers.Base
axisIndex, container, container, container, dataIndex, enabled, fill, fill, fill, fill, fill, fill, fill, fill, fill, fill, fill, fill, fill, hatchFill, hatchFill, hatchFill, hatchFill, hatchFill, id, id, id, instantiate, parentBounds, parentBounds, parentBounds, parentBounds, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, 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
-
Needle
Needle(String jsChart)
-
-
Method Detail
-
instantiate
static Needle instantiate()
-
axisIndex
void axisIndex()
Getter for the axis index.
-
dataIndex
void dataIndex()
Getter for the data index.
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
endRadius
void endRadius()
Getter for the end radius.
-
endWidth
void endWidth()
Getter for the end width.
-
fill
void fill()
Getter for the pointer fill color.
-
fill
Needle fill(Fill color)
Sets pointer fill settings using an array or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Needle fill(GradientKey color)
Sets pointer fill settings using an array or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Needle fill(Array<String> color)
Sets pointer fill settings using an array or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Needle fill(String color, Number opacity)
Pointer fill color with opacity. Fill as a string or an object.
-
fill
Needle fill(GradientKey keys, Number angle, Boolean mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Needle fill(GradientKey keys, Number angle, Rect mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Needle fill(GradientKey keys, Number angle, String mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Needle fill(Array<String> keys, Number angle, Boolean mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Needle fill(Array<String> keys, Number angle, Rect mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Needle fill(Array<String> keys, Number angle, String mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Needle fill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)
Radial gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Needle fill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)
Radial gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
hatchFill
PatternFill hatchFill()
Getter for hatch fill settings.
-
hatchFill
Needle hatchFill(HatchFillType type, String color, Number thickness, Number size)
Setter for hatch fill settings. {docs:Graphics/Hatch_Fill_Settings}Learn more about hatch fill settings.{docs}
-
hatchFill
Needle hatchFill(String type, String color, Number thickness, Number size)
Setter for hatch fill settings. {docs:Graphics/Hatch_Fill_Settings}Learn more about hatch fill settings.{docs}
-
hatchFill
Needle hatchFill(PatternFill patternFill)
Setter for hatch fill settings using pattern fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
hatchFill
Needle hatchFill(HatchFill settings)
Setter for hatch fill settings using an instance. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
hatchFill
Needle hatchFill(Boolean enabled)
Setter for hatch fill using boolean. {docs:Graphics/Hatch_Fill_Settings}Learn more about hatch fill settings.{docs}
-
middleRadius
void middleRadius()
Getter for the middle radius.
-
middleRadius
Needle middleRadius(Number radius)
Setter for the middle radius.
-
middleRadius
Needle middleRadius(String radius)
Setter for the middle radius.
-
middleWidth
void middleWidth()
Getter for the middle width.
-
middleWidth
Needle middleWidth(Number width)
Setter for the middle width.
-
middleWidth
Needle middleWidth(String width)
Setter for the middle 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.
-
startRadius
void startRadius()
Getter for the start radius.
-
startRadius
Needle startRadius(Number radius)
Setter for the start radius.
-
startRadius
Needle startRadius(String radius)
Setter for the start radius.
-
startWidth
void startWidth()
Getter for the start width.
-
startWidth
Needle startWidth(Number width)
Setter for the start width.
-
startWidth
Needle startWidth(String width)
Setter for the start width.
-
stroke
void stroke()
Getter for the pointer stroke.
-
stroke
Needle 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
Needle 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
Needle 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
Needle 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
Needle 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
Needle 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
Needle 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
Needle 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
Needle 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
Needle 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
Needle 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
Needle 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}
-
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().
-
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
Needle 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
Needle 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
Needle 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
Needle 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
View data(List<DataEntry> data, TreeFillingMethod fillMethod)
-
-
-
-