-
-
Method Summary
Modifier and Type Method Description static Markerinstantiate()StringgetJsBase()voidaxisIndex()Getter for the axis index. MarkeraxisIndex(Number index)Setter for the axis index. Viewdata(List<DataEntry> data)voiddataIndex()Getter for the data index. MarkerdataIndex(Number index)Setter for the data index. voidenabled()Getter for the element state (enabled or disabled). Markerenabled(Boolean enabled)Setter for the element enabled state. voidfill()Getter for the pointer fill color. Markerfill(Fill color)Sets pointer fill settings using an array or a string. Markerfill(GradientKey color)Sets pointer fill settings using an array or a string. Markerfill(Array<String> color)Sets pointer fill settings using an array or a string. Markerfill(String color, Number opacity)Pointer fill color with opacity. Markerfill(GradientKey keys, Number angle, Boolean mode, Number opacity)Linear gradient pointer fill. Markerfill(GradientKey keys, Number angle, Rect mode, Number opacity)Linear gradient pointer fill. Markerfill(GradientKey keys, Number angle, String mode, Number opacity)Linear gradient pointer fill. Markerfill(Array<String> keys, Number angle, Boolean mode, Number opacity)Linear gradient pointer fill. Markerfill(Array<String> keys, Number angle, Rect mode, Number opacity)Linear gradient pointer fill. Markerfill(Array<String> keys, Number angle, String mode, Number opacity)Linear gradient pointer fill. Markerfill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient pointer fill. Markerfill(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. MarkerhatchFill(HatchFillType type, String color, Number thickness, Number size)Setter for hatch fill settings. MarkerhatchFill(String type, String color, Number thickness, Number size)Setter for hatch fill settings. MarkerhatchFill(PatternFill patternFill)Setter for hatch fill settings using pattern fill. MarkerhatchFill(HatchFill settings)Setter for hatch fill settings using an instance. MarkerhatchFill(Boolean enabled)Setter for hatch fill using boolean. Markerid()Getter for the pointer id. Markerid(String id)Setter for the pointer id. Markerid(Number id)Setter for the pointer id. voidposition()Getter for the marker position. Markerposition(GaugeSidePosition position)Setter for the marker position. Markerposition(String position)Setter for the marker position. voidprint(PaperSize paperSizeOrOptions, Boolean landscape)Prints all elements on related stage. voidprint(String paperSizeOrOptions, Boolean landscape)Prints all elements on related stage. voidradius()Getter for the marker radius. Markerradius(Number radius)Setter for the marker radius. Markerradius(String radius)Setter for the marker radius. voidremoveAllListeners(String type)Removes all listeners from an object. voidsize()Getter for the marker size. Markersize(Number size)Setter for the marker size. Markersize(String size)Setter for the marker size. voidstroke()Getter for the pointer stroke. Markerstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for stroke settings. Markerstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Markerstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for stroke settings. Markerstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Markerstroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for stroke settings. Markerstroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Markerstroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for stroke settings. Markerstroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Markerstroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for stroke settings. Markerstroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Markerstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for stroke settings. Markerstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Markerstroke(String settings)Setter for the stroke using an object. voidtype()Getter for the marker type. Markertype(MarkerType type)Setter for the marker type. Markertype(String type)Setter for the marker type. 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. MarkerzIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. Markercontainer(Layer element)Setter for the container. Markercontainer(Stage element)Setter for the container. Markercontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. MarkerparentBounds(Rect bounds)Setter for the parent bounds using single value. MarkerparentBounds(String bounds)Setter for the parent bounds using single value. MarkerparentBounds(Number bounds)Setter for the parent bounds using single value. MarkerparentBounds(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)Markerfill(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
-
Marker
Marker(String jsChart)
-
-
Method Detail
-
instantiate
static Marker 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).
-
fill
void fill()
Getter for the pointer fill color.
-
fill
Marker fill(Fill color)
Sets pointer fill settings using an array or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Marker fill(GradientKey color)
Sets pointer fill settings using an array or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Marker fill(Array<String> color)
Sets pointer fill settings using an array or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Marker fill(String color, Number opacity)
Pointer fill color with opacity. Fill as a string or an object.
-
fill
Marker fill(GradientKey keys, Number angle, Boolean mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Marker fill(GradientKey keys, Number angle, Rect mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Marker fill(GradientKey keys, Number angle, String mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Marker fill(Array<String> keys, Number angle, Boolean mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Marker fill(Array<String> keys, Number angle, Rect mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Marker fill(Array<String> keys, Number angle, String mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Marker 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
Marker 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
Marker 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
Marker 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
Marker hatchFill(PatternFill patternFill)
Setter for hatch fill settings using pattern fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
hatchFill
Marker hatchFill(HatchFill settings)
Setter for hatch fill settings using an instance. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
hatchFill
Marker hatchFill(Boolean enabled)
Setter for hatch fill using boolean. {docs:Graphics/Hatch_Fill_Settings}Learn more about hatch fill settings.{docs}
-
position
void position()
Getter for the marker position.
-
position
Marker position(GaugeSidePosition position)
Setter for the marker position.
-
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.
-
radius
void radius()
Getter for the marker radius.
-
removeAllListeners
void removeAllListeners(String type)
Removes all listeners from an object. You can also optionally remove listeners of some particular type.
-
size
void size()
Getter for the marker size.
-
stroke
void stroke()
Getter for the pointer stroke.
-
stroke
Marker 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
Marker 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
Marker 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
Marker 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
Marker 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
Marker 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
Marker 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
Marker 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
Marker 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
Marker 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
Marker 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
Marker 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}
-
type
void type()
Getter for the marker type.
-
type
Marker type(MarkerType type)
Setter for the marker type.
-
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
Marker 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
Marker 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
Marker 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
Marker 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)
-
-
-
-