-
public class Circular extends VisualBase
Circular axis class. {docs:Gauges/Circular_Gauge#axis}Learn more about circular axis.{docs}
-
-
Method Summary
Modifier and Type Method Description static Circularinstantiate()StringgetJsBase()voidcornersRounding()Getter for the rounding of corners. CircularcornersRounding(Number value)Setter for the rounding of corners. CircularcornersRounding(String value)Setter for the rounding of corners. voiddrawFirstLabel()Getter for the first label drawing flag. CirculardrawFirstLabel(Boolean enabled)Setter for the first label drawing flag. voiddrawLastLabel()Getter for the last label drawing flag. CirculardrawLastLabel(Boolean enabled)Setter for the last label drawing flag. voidenabled()Getter for the element state (enabled or disabled). Circularenabled(Boolean enabled)Setter for the element enabled state. voidfill()Getter for the axis fill color. Circularfill(Fill color)Setter for axis fill settings using an array, an object or a string. Circularfill(GradientKey color)Setter for axis fill settings using an array, an object or a string. Circularfill(Array<String> color)Setter for axis fill settings using an array, an object or a string. Circularfill(String color, Number opacity)Axis fill color with opacity. Circularfill(GradientKey keys, Number angle, Boolean mode, Number opacity)Linear gradient axis fill. Circularfill(GradientKey keys, Number angle, Rect mode, Number opacity)Linear gradient axis fill. Circularfill(GradientKey keys, Number angle, String mode, Number opacity)Linear gradient axis fill. Circularfill(Array<String> keys, Number angle, Boolean mode, Number opacity)Linear gradient axis fill. Circularfill(Array<String> keys, Number angle, Rect mode, Number opacity)Linear gradient axis fill. Circularfill(Array<String> keys, Number angle, String mode, Number opacity)Linear gradient axis fill. Circularfill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial axis fill. Circularfill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial axis fill. LabelsFactorylabels()Getter for labels. Circularlabels(String settings)Setter for labels. Circularlabels(Boolean settings)Setter for labels. LabelsFactoryminorLabels()Getter for minor labels. CircularminorLabels(String settings)Setter for minor labels. CircularminorLabels(Boolean settings)Setter for minor labels. CircularTicksminorTicks()Getter for minor axis ticks. CircularminorTicks(String settings)Setter for minor axis ticks. CircularminorTicks(Boolean settings)Setter for minor axis ticks. voidoverlapMode()Getter for labels overlap mode. CircularoverlapMode(LabelsOverlapMode value)Setter for labels overlap mode. CircularoverlapMode(String value)Setter for labels overlap mode. CircularoverlapMode(Boolean value)Setter for labels overlap mode. 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 axis radius. Circularradius(Number value)Setter for the axis radius. Circularradius(String value)Setter for the axis radius. voidremoveAllListeners(String type)Removes all listeners from an object. Linearscale()Getter for the axis scale. Circularscale(GaugeScaleTypes settings)Setter for the axis scale. Circularscale(String settings)Setter for the axis scale. Circularscale(Linear settings)Setter for the axis scale. voidstartAngle()Getter for the start angle. CircularstartAngle(String value)Setter for the start angle. CircularstartAngle(Number value)Setter for the start angle. voidsweepAngle()Getter for the sweep angle. CircularsweepAngle(String value)Setter for the sweep angle. CircularsweepAngle(Number value)Setter for the sweep angle. CircularTicksticks()Getter for circular ticks. Circularticks(String settings)Setter for circular ticks. Circularticks(Boolean settings)Setter for circular ticks. 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 axis width. Circularwidth(Number value)Setter for the axis width. Circularwidth(String value)Setter for the axis width. voidzIndex()Getter for the Z-index of the element. CircularzIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. Circularcontainer(Layer element)Setter for the container. Circularcontainer(Stage element)Setter for the container. Circularcontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. CircularparentBounds(Rect bounds)Setter for the parent bounds using single value. CircularparentBounds(String bounds)Setter for the parent bounds using single value. CircularparentBounds(Number bounds)Setter for the parent bounds using single value. CircularparentBounds(Number left, Number top, Number width, Number height)Setter for the parent bounds using several values. Circularfill(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
-
Circular
Circular(String jsChart)
-
-
Method Detail
-
instantiate
static Circular instantiate()
-
cornersRounding
void cornersRounding()
Getter for the rounding of corners.
-
cornersRounding
Circular cornersRounding(Number value)
Setter for the rounding of corners. Round off the ends of axes to the specified radius.
-
cornersRounding
Circular cornersRounding(String value)
Setter for the rounding of corners. Round off the ends of axes to the specified radius.
-
drawFirstLabel
void drawFirstLabel()
Getter for the first label drawing flag.
-
drawFirstLabel
Circular drawFirstLabel(Boolean enabled)
Setter for the first label drawing flag.
-
drawLastLabel
void drawLastLabel()
Getter for the last label drawing flag.
-
drawLastLabel
Circular drawLastLabel(Boolean enabled)
Setter for the last label drawing flag.
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
fill
void fill()
Getter for the axis fill color.
-
fill
Circular fill(Fill color)
Setter for axis fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Circular fill(GradientKey color)
Setter for axis fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Circular fill(Array<String> color)
Setter for axis fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Circular fill(String color, Number opacity)
Axis fill color with opacity. Fill as a string or an object.
-
fill
Circular fill(GradientKey keys, Number angle, Boolean mode, Number opacity)
Linear gradient axis fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Circular fill(GradientKey keys, Number angle, Rect mode, Number opacity)
Linear gradient axis fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Circular fill(GradientKey keys, Number angle, String mode, Number opacity)
Linear gradient axis fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Circular fill(Array<String> keys, Number angle, Boolean mode, Number opacity)
Linear gradient axis fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Circular fill(Array<String> keys, Number angle, Rect mode, Number opacity)
Linear gradient axis fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Circular fill(Array<String> keys, Number angle, String mode, Number opacity)
Linear gradient axis fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Circular fill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)
Radial axis fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Circular fill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)
Radial axis fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
labels
LabelsFactory labels()
Getter for labels.
-
minorLabels
LabelsFactory minorLabels()
Getter for minor labels.
-
minorLabels
Circular minorLabels(String settings)
Setter for minor labels.
-
minorLabels
Circular minorLabels(Boolean settings)
Setter for minor labels.
-
minorTicks
CircularTicks minorTicks()
Getter for minor axis ticks.
-
minorTicks
Circular minorTicks(String settings)
Setter for minor axis ticks.
-
minorTicks
Circular minorTicks(Boolean settings)
Setter for minor axis ticks.
-
overlapMode
void overlapMode()
Getter for labels overlap mode.
-
overlapMode
Circular overlapMode(LabelsOverlapMode value)
Setter for labels overlap mode.
-
overlapMode
Circular overlapMode(String value)
Setter for labels overlap mode.
-
overlapMode
Circular overlapMode(Boolean value)
Setter for labels overlap mode.
-
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 axis radius.
-
removeAllListeners
void removeAllListeners(String type)
Removes all listeners from an object. You can also optionally remove listeners of some particular type.
-
scale
Circular scale(GaugeScaleTypes settings)
Setter for the axis scale.
-
startAngle
void startAngle()
Getter for the start angle.
-
startAngle
Circular startAngle(String value)
Setter for the start angle.
-
startAngle
Circular startAngle(Number value)
Setter for the start angle.
-
sweepAngle
void sweepAngle()
Getter for the sweep angle.
-
sweepAngle
Circular sweepAngle(String value)
Setter for the sweep angle.
-
sweepAngle
Circular sweepAngle(Number value)
Setter for the sweep angle.
-
ticks
CircularTicks ticks()
Getter for circular ticks.
-
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 axis 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
Circular 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
Circular 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
Circular 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
Circular 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.
-
-
-
-