-
-
Method Summary
Modifier and Type Method Description static RangeBarinstantiate()StringgetJsBase()voidcolor()Getter for the pointer color. RangeBarcolor(String color)Setter for the pointer color. Viewdata(List<DataEntry> data)voiddataIndex()Getter for the data index. RangeBardataIndex(Number index)Setter for the data index. voidenabled()Getter for the element state (enabled or disabled). RangeBarenabled(Boolean enabled)Setter for the element enabled state. voidfill()Getter for the pointer fill color. RangeBarfill(Fill color)Setter for fill settings using an array, an object or a string. RangeBarfill(GradientKey color)Setter for fill settings using an array, an object or a string. RangeBarfill(Array<String> color)Setter for fill settings using an array, an object or a string. RangeBarfill(String color, Number opacity)Fill color with opacity. RangeBarfill(GradientKey keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. RangeBarfill(GradientKey keys, Number angle, Rect mode, Number opacity)Linear gradient fill. RangeBarfill(GradientKey keys, Number angle, String mode, Number opacity)Linear gradient fill. RangeBarfill(Array<String> keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. RangeBarfill(Array<String> keys, Number angle, Rect mode, Number opacity)Linear gradient fill. RangeBarfill(Array<String> keys, Number angle, String mode, Number opacity)Linear gradient fill. RangeBarfill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill. RangeBarfill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill. LinearGaugegetGauge()Getter for the gauge. PatternFillhatchFill()Getter for pointer hatch fill settings. RangeBarhatchFill(HatchFillType type, String color, Number thickness, Number size)Setter for hatch fill settings. RangeBarhatchFill(String type, String color, Number thickness, Number size)Setter for hatch fill settings. RangeBarhatchFill(String hatchFillFunction)Setter for hatch fill settings using function. RangeBarhatchFill(PatternFill patternFill)Setter for hatch fill settings using pattern fill. RangeBarhatchFill(HatchFill settings)Setter for hatch fill settings using an instance. RangeBarhatchFill(Boolean enabled)Setter for hatch fill using boolean. RangeBarhover()Hovers a pointer. StateSettingshovered()Getter for hovered state settings. RangeBarhovered(String settings)Setter for hovered state settings. Baseid()Getter for the pointer id. Baseid(String id)Setter for the pointer id. Baseid(Number id)Setter for the pointer id. LabelsFactorylabels()Getter for the pointer labels. RangeBarlabels(LabelsFactory settings)Setter for the pointer labels. RangeBarlabels(String settings)Setter for the pointer labels. RangeBarlabels(Boolean settings)Setter for the pointer labels. LegendItemSettingslegendItem()Getter for the legend item settings. RangeBarlegendItem(String settings)Setter for the legend item settings. voidname()Getter for the pointer name. RangeBarname(String name)Setter for the pointer name. StateSettingsnormal()Getter for normal state settings. RangeBarnormal(String settings)Setter for normal state settings. voidoffset()Getter for the pointer offset. RangeBaroffset(String offset)Setter for the pointer offset. RangeBaroffset(Number offset)Setter for the pointer offset. 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. Basescale()Getter for the pointer scale. RangeBarscale(Base scale)Setter for the pointer scale. StateSettingsselected()Getter for selected state settings. RangeBarselected(String settings)Setter for selected state settings. voidstroke()Getter for the pointer stroke. RangeBarstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the pointer stroke using several parameters. RangeBarstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the pointer stroke using several parameters. RangeBarstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the pointer stroke using several parameters. RangeBarstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the pointer stroke using several parameters. RangeBarstroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the pointer stroke using several parameters. RangeBarstroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the pointer stroke using several parameters. RangeBarstroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the pointer stroke using several parameters. RangeBarstroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the pointer stroke using several parameters. RangeBarstroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for the pointer stroke using several parameters. RangeBarstroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the pointer stroke using several parameters. RangeBarstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for the pointer stroke using several parameters. RangeBarstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the pointer stroke using several parameters. RangeBarstroke(String settings)Setter for the pointer stroke using an object. RangeBarunhover()Removes hover from the pointer. 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(). RangeBarunselect()Deselects a pointer. voidwidth()Getter for the pointer width. RangeBarwidth(String width)Setter for the pointer width. voidzIndex()Getter for the Z-index of the element. RangeBarzIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. RangeBarcontainer(Layer element)Setter for the container. RangeBarcontainer(Stage element)Setter for the container. RangeBarcontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. RangeBarparentBounds(Rect bounds)Setter for the parent bounds using single value. RangeBarparentBounds(String bounds)Setter for the parent bounds using single value. RangeBarparentBounds(Number bounds)Setter for the parent bounds using single value. RangeBarparentBounds(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)RangeBarfill(String value)-
Methods inherited from class com.anychart.core.lineargauge.pointers.Bar
color, container, container, container, dataIndex, enabled, fill, fill, fill, fill, fill, fill, fill, fill, fill, fill, fill, fill, fill, hatchFill, hatchFill, hatchFill, hatchFill, hatchFill, hatchFill, hover, hovered, instantiate, labels, labels, labels, legendItem, name, normal, offset, offset, parentBounds, parentBounds, parentBounds, parentBounds, scale, selected, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, unhover, unselect, width, zIndex -
Methods inherited from class com.anychart.core.lineargauge.pointers.Base
color, container, container, container, dataIndex, enabled, fill, fill, fill, fill, fill, fill, fill, fill, fill, fill, fill, fill, fill, hatchFill, hatchFill, hatchFill, hatchFill, hatchFill, hatchFill, hover, hovered, instantiate, labels, labels, labels, legendItem, name, normal, offset, offset, parentBounds, parentBounds, parentBounds, parentBounds, scale, selected, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, stroke, unhover, unselect, 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
-
RangeBar
RangeBar(String jsChart)
-
-
Method Detail
-
instantiate
static RangeBar instantiate()
-
color
void color()
Getter for the pointer color.
-
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
RangeBar fill(Fill color)
Setter for fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
RangeBar fill(GradientKey color)
Setter for fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
RangeBar fill(Array<String> color)
Setter for fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
RangeBar fill(String color, Number opacity)
Fill color with opacity. Fill as a string or an object.
-
fill
RangeBar fill(GradientKey keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
RangeBar fill(GradientKey keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
RangeBar fill(GradientKey keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
RangeBar fill(Array<String> keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
RangeBar fill(Array<String> keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
RangeBar fill(Array<String> keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
RangeBar fill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)
Radial gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
RangeBar fill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)
Radial gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
getGauge
LinearGauge getGauge()
Getter for the gauge.
-
hatchFill
PatternFill hatchFill()
Getter for pointer hatch fill settings.
-
hatchFill
RangeBar hatchFill(HatchFillType type, String color, Number thickness, Number size)
Setter for hatch fill settings.
-
hatchFill
RangeBar hatchFill(String type, String color, Number thickness, Number size)
Setter for hatch fill settings.
-
hatchFill
RangeBar hatchFill(String hatchFillFunction)
Setter for hatch fill settings using function. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
hatchFill
RangeBar hatchFill(PatternFill patternFill)
Setter for hatch fill settings using pattern fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
hatchFill
RangeBar hatchFill(HatchFill settings)
Setter for hatch fill settings using an instance. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
hatchFill
RangeBar hatchFill(Boolean enabled)
Setter for hatch fill using boolean. {docs:Graphics/Hatch_Fill_Settings}Learn more about hatch fill settings.{docs}
-
hovered
StateSettings hovered()
Getter for hovered state settings.
-
labels
LabelsFactory labels()
Getter for the pointer labels.
-
labels
RangeBar labels(LabelsFactory settings)
Setter for the pointer labels.
-
legendItem
LegendItemSettings legendItem()
Getter for the legend item settings.
-
legendItem
RangeBar legendItem(String settings)
Setter for the legend item settings.
-
name
void name()
Getter for the pointer name.
-
normal
StateSettings normal()
Getter for normal state settings.
-
offset
void offset()
Getter for the pointer offset.
-
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.
-
selected
StateSettings selected()
Getter for selected state settings.
-
stroke
void stroke()
Getter for the pointer stroke.
-
stroke
RangeBar stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the pointer stroke using several parameters. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
RangeBar stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the pointer stroke using several parameters. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
RangeBar stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the pointer stroke using several parameters. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
RangeBar stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the pointer stroke using several parameters. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
RangeBar stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the pointer stroke using several parameters. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
RangeBar stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the pointer stroke using several parameters. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
RangeBar stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the pointer stroke using several parameters. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
RangeBar stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the pointer stroke using several parameters. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
RangeBar stroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for the pointer stroke using several parameters. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
RangeBar stroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the pointer stroke using several parameters. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
RangeBar stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for the pointer stroke using several parameters. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
RangeBar stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the pointer stroke using several parameters. {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 pointer 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
RangeBar 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
RangeBar 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
RangeBar 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
RangeBar 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)
-
-
-
-