-
public class CircularRange extends VisualBase
Circular range.
-
-
Constructor Summary
Constructors Constructor Description CircularRange(String jsChart)
-
Method Summary
Modifier and Type Method Description static CircularRangeinstantiate()StringgetJsBase()voidaxisIndex()Getter for the axis index. CircularRangeaxisIndex(Number index)Setter for the axis index. voidcornersRounding()Getter for the rounding of circular ranges. CircularRangecornersRounding(Number value)Setter for the rounding of circular ranges. CircularRangecornersRounding(String value)Setter for the rounding of circular ranges. voidenabled()Getter for the element state (enabled or disabled). CircularRangeenabled(Boolean enabled)Setter for the element enabled state. voidendSize()Getter for the range end size. CircularRangeendSize(Number value)Setter for the range end size. CircularRangeendSize(String value)Setter for the range end size. voidfill()Getter for the range fill. CircularRangefill(Fill color)Setter for range fill settings using an array, an object or a string. CircularRangefill(GradientKey color)Setter for range fill settings using an array, an object or a string. CircularRangefill(Array<String> color)Setter for range fill settings using an array, an object or a string. voidfrom()Getter for the starting range value. CircularRangefrom(Number fromValue)Setter for the starting range value. voidposition()Getter for the range position. CircularRangeposition(GaugeSidePosition positionType)Setter for the range position. CircularRangeposition(String positionType)Setter for the range 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 range radius. CircularRangeradius(Number value)Setter for the range radius. CircularRangeradius(String value)Setter for the range radius. voidremoveAllListeners(String type)Removes all listeners from an object. voidstartSize()Getter for the range start size. CircularRangestartSize(Number value)Setter for the range start size. CircularRangestartSize(String value)Setter for the range start size. voidto()Getter for the ending range value. CircularRangeto(Number toValue)Setter for the ending range value. 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. CircularRangezIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. CircularRangecontainer(Layer element)Setter for the container. CircularRangecontainer(Stage element)Setter for the container. CircularRangecontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. CircularRangeparentBounds(Rect bounds)Setter for the parent bounds using single value. CircularRangeparentBounds(String bounds)Setter for the parent bounds using single value. CircularRangeparentBounds(Number bounds)Setter for the parent bounds using single value. CircularRangeparentBounds(Number left, Number top, Number width, Number height)Setter for the parent bounds using several values. CircularRangefill(String value)-
Methods inherited from class com.anychart.core.VisualBase
container, container, container, enabled, instantiate, parentBounds, parentBounds, parentBounds, parentBounds, zIndex -
Methods inherited from class com.anychart.core.Base
instantiate -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
CircularRange
CircularRange(String jsChart)
-
-
Method Detail
-
instantiate
static CircularRange instantiate()
-
axisIndex
void axisIndex()
Getter for the axis index.
-
axisIndex
CircularRange axisIndex(Number index)
Setter for the axis index.
-
cornersRounding
void cornersRounding()
Getter for the rounding of circular ranges.
-
cornersRounding
CircularRange cornersRounding(Number value)
Setter for the rounding of circular ranges. Round off the ends of circular ranges to the specified radius.
-
cornersRounding
CircularRange cornersRounding(String value)
Setter for the rounding of circular ranges. Round off the ends of circular ranges to the specified radius.
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
enabled
CircularRange enabled(Boolean enabled)
Setter for the element enabled state.
-
endSize
void endSize()
Getter for the range end size.
-
endSize
CircularRange endSize(Number value)
Setter for the range end size.
-
endSize
CircularRange endSize(String value)
Setter for the range end size.
-
fill
void fill()
Getter for the range fill.
-
fill
CircularRange fill(Fill color)
Setter for range fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
CircularRange fill(GradientKey color)
Setter for range fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
CircularRange fill(Array<String> color)
Setter for range fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
from
void from()
Getter for the starting range value.
-
from
CircularRange from(Number fromValue)
Setter for the starting range value.
-
position
void position()
Getter for the range position.
-
position
CircularRange position(GaugeSidePosition positionType)
Setter for the range position.
-
position
CircularRange position(String positionType)
Setter for the range 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 range radius.
-
radius
CircularRange radius(Number value)
Setter for the range radius.
-
radius
CircularRange radius(String value)
Setter for the range radius.
-
removeAllListeners
void removeAllListeners(String type)
Removes all listeners from an object. You can also optionally remove listeners of some particular type.
-
startSize
void startSize()
Getter for the range start size.
-
startSize
CircularRange startSize(Number value)
Setter for the range start size.
-
startSize
CircularRange startSize(String value)
Setter for the range start size.
-
to
void to()
Getter for the ending range value.
-
to
CircularRange to(Number toValue)
Setter for the ending range value.
-
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.
-
zIndex
CircularRange zIndex(Number zIndex)
Setter for the Z-index of the element.
-
container
CircularRange container(Layer element)
Setter for the container.
-
container
CircularRange container(Stage element)
Setter for the container.
-
container
CircularRange container(String element)
Setter for the container.
-
parentBounds
Rect parentBounds()
Getter for the parent bounds. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
CircularRange 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
CircularRange 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
CircularRange 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
CircularRange 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.
-
fill
CircularRange fill(String value)
-
-
-
-