-
-
Method Summary
Modifier and Type Method Description static Barinstantiate()StringgetJsBase()voidaxisIndex()Getter for the axis index. BaraxisIndex(Number index)Setter for the axis index. Viewdata(List<DataEntry> data)voiddataIndex()Getter for the data index. BardataIndex(Number index)Setter for the data index. voidenabled()Getter for the element state (enabled or disabled). Barenabled(Boolean enabled)Setter for the element enabled state. voidfill()Getter for the pointer fill color. Barfill(Fill color)Sets pointer fill settings using an array or a string. Barfill(GradientKey color)Sets pointer fill settings using an array or a string. Barfill(Array<String> color)Sets pointer fill settings using an array or a string. Barfill(String color, Number opacity)Pointer fill color with opacity. Barfill(GradientKey keys, Number angle, Boolean mode, Number opacity)Linear gradient pointer fill. Barfill(GradientKey keys, Number angle, Rect mode, Number opacity)Linear gradient pointer fill. Barfill(GradientKey keys, Number angle, String mode, Number opacity)Linear gradient pointer fill. Barfill(Array<String> keys, Number angle, Boolean mode, Number opacity)Linear gradient pointer fill. Barfill(Array<String> keys, Number angle, Rect mode, Number opacity)Linear gradient pointer fill. Barfill(Array<String> keys, Number angle, String mode, Number opacity)Linear gradient pointer fill. Barfill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient pointer fill. Barfill(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. BarhatchFill(HatchFillType type, String color, Number thickness, Number size)Setter for hatch fill settings. BarhatchFill(String type, String color, Number thickness, Number size)Setter for hatch fill settings. BarhatchFill(PatternFill patternFill)Setter for hatch fill settings using pattern fill. BarhatchFill(HatchFill settings)Setter for hatch fill settings using an instance. BarhatchFill(Boolean enabled)Setter for hatch fill using boolean. Barid()Getter for the pointer id. Barid(String id)Setter for the pointer id. Barid(Number id)Setter for the pointer id. voidposition()Getter for the bar position. Barposition(GaugeSidePosition position)Setter for the bar position. Barposition(String position)Setter for the bar 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 bar pointer radius. Barradius(Number radius)Setter for the bar pointer radius. Barradius(String radius)Setter for the bar pointer radius. voidremoveAllListeners(String type)Removes all listeners from an object. voidstroke()Getter for the pointer stroke. Barstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for stroke settings. Barstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Barstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for stroke settings. Barstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Barstroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for stroke settings. Barstroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Barstroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for stroke settings. Barstroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Barstroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for stroke settings. Barstroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Barstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for stroke settings. Barstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for stroke settings. Barstroke(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(). voidwidth()Getter for the bar width. Barwidth(Number width)Setter for the bar width. Barwidth(String width)Setter for the bar width. voidzIndex()Getter for the Z-index of the element. BarzIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. Barcontainer(Layer element)Setter for the container. Barcontainer(Stage element)Setter for the container. Barcontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. BarparentBounds(Rect bounds)Setter for the parent bounds using single value. BarparentBounds(String bounds)Setter for the parent bounds using single value. BarparentBounds(Number bounds)Setter for the parent bounds using single value. BarparentBounds(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)Barfill(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
-
Bar
Bar(String jsChart)
-
-
Method Detail
-
instantiate
static Bar 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
Bar fill(Fill color)
Sets pointer fill settings using an array or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Bar fill(GradientKey color)
Sets pointer fill settings using an array or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Bar fill(Array<String> color)
Sets pointer fill settings using an array or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Bar fill(String color, Number opacity)
Pointer fill color with opacity. Fill as a string or an object.
-
fill
Bar fill(GradientKey keys, Number angle, Boolean mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Bar fill(GradientKey keys, Number angle, Rect mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Bar fill(GradientKey keys, Number angle, String mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Bar fill(Array<String> keys, Number angle, Boolean mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Bar fill(Array<String> keys, Number angle, Rect mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Bar fill(Array<String> keys, Number angle, String mode, Number opacity)
Linear gradient pointer fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Bar 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
Bar 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
Bar 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
Bar 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
Bar hatchFill(PatternFill patternFill)
Setter for hatch fill settings using pattern fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
hatchFill
Bar hatchFill(HatchFill settings)
Setter for hatch fill settings using an instance. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
hatchFill
Bar 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 bar position.
-
position
Bar position(GaugeSidePosition position)
Setter for the bar 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 bar pointer radius.
-
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
Bar 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
Bar 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
Bar 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
Bar 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
Bar 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
Bar 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
Bar 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
Bar 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
Bar 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
Bar 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
Bar 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
Bar 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().
-
width
void width()
Getter for the bar width.
-
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
Bar 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
Bar 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
Bar 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
Bar 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)
-
-
-
-