-
-
Method Summary
Modifier and Type Method Description static Knobinstantiate()StringgetJsBase()voidaxisIndex()Getter for the axis index. KnobaxisIndex(Number index)Setter for the axis index. voidbottomRadius()Getter for the bottom radius. KnobbottomRadius(Number radius)Setter for the bottom radius. KnobbottomRadius(String radius)Setter for the bottom radius. voidbottomRatio()Getter for the bottom ratio. KnobbottomRatio(Number ratio)Setter for the bottom ratio. Viewdata(List<DataEntry> data)voiddataIndex()Getter for the data index. KnobdataIndex(Number index)Setter for the data index. voidenabled()Getter for the element state (enabled or disabled). Knobenabled(Boolean enabled)Setter for the element enabled state. voidfill()Getter for the pointer fill color. Knobfill(Fill color)Sets pointer fill settings using an array or a string. Knobfill(GradientKey color)Sets pointer fill settings using an array or a string. Knobfill(Array<String> color)Sets pointer fill settings using an array or a string. Knobfill(String color, Number opacity)Pointer fill color with opacity. Knobfill(GradientKey keys, Number angle, Boolean mode, Number opacity)Linear gradient pointer fill. Knobfill(GradientKey keys, Number angle, Rect mode, Number opacity)Linear gradient pointer fill. Knobfill(GradientKey keys, Number angle, String mode, Number opacity)Linear gradient pointer fill. Knobfill(Array<String> keys, Number angle, Boolean mode, Number opacity)Linear gradient pointer fill. Knobfill(Array<String> keys, Number angle, Rect mode, Number opacity)Linear gradient pointer fill. Knobfill(Array<String> keys, Number angle, String mode, Number opacity)Linear gradient pointer fill. Knobfill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient pointer fill. Knobfill(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. KnobhatchFill(HatchFillType type, String color, Number thickness, Number size)Setter for hatch fill settings. KnobhatchFill(String type, String color, Number thickness, Number size)Setter for hatch fill settings. KnobhatchFill(PatternFill patternFill)Setter for hatch fill settings using pattern fill. KnobhatchFill(HatchFill settings)Setter for hatch fill settings using an instance. KnobhatchFill(Boolean enabled)Setter for hatch fill using boolean. Knobid()Getter for the pointer id. Knobid(String id)Setter for the pointer id. Knobid(Number id)Setter for the pointer id. 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. voidstroke()Getter for the pointer stroke. Knobstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for stroke settings. Knobstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Knobstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for stroke settings. Knobstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Knobstroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for stroke settings. Knobstroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Knobstroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for stroke settings. Knobstroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Knobstroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for stroke settings. Knobstroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Knobstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for stroke settings. Knobstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Knobstroke(String settings)Setter for the stroke using an object. voidtopRadius()Getter for the top radius. KnobtopRadius(Number radius)Setter for the top radius. KnobtopRadius(String radius)Setter for the top radius. voidtopRatio()Getter for the top ratio. KnobtopRatio(Number ratio)Setter for the top ratio. 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(). voidverticesCount()Getter for vertices count. KnobverticesCount(Number count)Setter for vertices count. voidverticesCurvature()Getter for vertices curvature. KnobverticesCurvature(Number curvature)Setter for vertices curvature. voidzIndex()Getter for the Z-index of the element. KnobzIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. Knobcontainer(Layer element)Setter for the container. Knobcontainer(Stage element)Setter for the container. Knobcontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. KnobparentBounds(Rect bounds)Setter for the parent bounds using single value. KnobparentBounds(String bounds)Setter for the parent bounds using single value. KnobparentBounds(Number bounds)Setter for the parent bounds using single value. KnobparentBounds(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)Knobfill(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
-
Knob
Knob(String jsChart)
-
-
Method Detail
-
instantiate
static Knob instantiate()
-
axisIndex
void axisIndex()
Getter for the axis index.
-
bottomRadius
void bottomRadius()
Getter for the bottom radius.
-
bottomRadius
Knob bottomRadius(Number radius)
Setter for the bottom radius.
-
bottomRadius
Knob bottomRadius(String radius)
Setter for the bottom radius.
-
bottomRatio
void bottomRatio()
Getter for the bottom ratio.
-
bottomRatio
Knob bottomRatio(Number ratio)
Setter for the bottom ratio.
-
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
Knob fill(Fill color)
Sets pointer fill settings using an array or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Knob fill(GradientKey color)
Sets pointer fill settings using an array or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Knob fill(Array<String> color)
Sets pointer fill settings using an array or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Knob fill(String color, Number opacity)
Pointer fill color with opacity. Fill as a string or an object.
-
fill
Knob fill(GradientKey keys, Number angle, Boolean mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Knob fill(GradientKey keys, Number angle, Rect mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Knob fill(GradientKey keys, Number angle, String mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Knob fill(Array<String> keys, Number angle, Boolean mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Knob fill(Array<String> keys, Number angle, Rect mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Knob fill(Array<String> keys, Number angle, String mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Knob 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
Knob 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
Knob 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
Knob 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
Knob hatchFill(PatternFill patternFill)
Setter for hatch fill settings using pattern fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
hatchFill
Knob hatchFill(HatchFill settings)
Setter for hatch fill settings using an instance. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
hatchFill
Knob hatchFill(Boolean enabled)
Setter for hatch fill using boolean. {docs:Graphics/Hatch_Fill_Settings}Learn more about hatch fill settings.{docs}
-
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.
-
stroke
void stroke()
Getter for the pointer stroke.
-
stroke
Knob 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
Knob 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
Knob 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
Knob 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
Knob 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
Knob 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
Knob 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
Knob 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
Knob 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
Knob 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
Knob 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
Knob 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}
-
topRadius
void topRadius()
Getter for the top radius.
-
topRatio
void topRatio()
Getter for the top ratio.
-
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().
-
verticesCount
void verticesCount()
Getter for vertices count.
-
verticesCount
Knob verticesCount(Number count)
Setter for vertices count.
-
verticesCurvature
void verticesCurvature()
Getter for vertices curvature.
-
verticesCurvature
Knob verticesCurvature(Number curvature)
Setter for vertices curvature.
-
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
Knob 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
Knob 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
Knob 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
Knob 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)
-
-
-
-