-
public class Polar extends VisualBase
Polar axis class.
-
-
Method Summary
Modifier and Type Method Description static Polarinstantiate()StringgetJsBase()voidenabled()Getter for the element state (enabled or disabled). Polarenabled(Boolean enabled)Setter for the element enabled state. voidfill()Getter for the fill. Polarfill(Fill color)Setter for fill settings using an array, an object or a string. Polarfill(GradientKey color)Setter for fill settings using an array, an object or a string. Polarfill(Array<String> color)Setter for fill settings using an array, an object or a string. Polarfill(String color, Number opacity)Fill color with opacity. Polarfill(GradientKey keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. Polarfill(GradientKey keys, Number angle, Rect mode, Number opacity)Linear gradient fill. Polarfill(GradientKey keys, Number angle, String mode, Number opacity)Linear gradient fill. Polarfill(Array<String> keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. Polarfill(Array<String> keys, Number angle, Rect mode, Number opacity)Linear gradient fill. Polarfill(Array<String> keys, Number angle, String mode, Number opacity)Linear gradient fill. Polarfill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill. Polarfill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill. RectgetRemainingBounds()Returns remaining parent bounds to use elsewhere. LabelsFactorylabels()Getter for axis labels. Polarlabels(String settings)Setter for axis labels. Polarlabels(Boolean settings)Setter for axis labels. LabelsFactoryminorLabels()Getter for axis minor labels. PolarminorLabels(String settings)Setter for axis minor labels. PolarminorLabels(Boolean settings)Setter for axis minor labels. TicksminorTicks()Getter for minor axis ticks. PolarminorTicks(String settings)Setter for minor axis ticks. PolarminorTicks(Boolean settings)Setter for minor axis ticks. voidoverlapMode()Getter for labels overlap mode for. PolaroverlapMode(LabelsOverlapMode mode)Setter for labels overlap mode. PolaroverlapMode(String mode)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. voidremoveAllListeners(String type)Removes all listeners from an object. ScatterBasescale()Getter for the axis scale. Polarscale(ScatterBase settings)Setter for the axis scale. Polarscale(ScaleTypes settings)Setter for the axis scale. Polarscale(String settings)Setter for the axis scale. voidstroke()Getter for axis stroke settings. Polarstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for axis stroke settings. Polarstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for axis stroke settings. Polarstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for axis stroke settings. Polarstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for axis stroke settings. Polarstroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for axis stroke settings. Polarstroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for axis stroke settings. Polarstroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for axis stroke settings. Polarstroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for axis stroke settings. Polarstroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for axis stroke settings. Polarstroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for axis stroke settings. Polarstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for axis stroke settings. Polarstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for axis stroke settings. Polarstroke(String settings)Setter for axis stroke settings using an object. Ticksticks()Getter for axis ticks. Polarticks(String settings)Setter for axis ticks. Polarticks(Boolean settings)Setter for axis 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(). voidzIndex()Getter for the Z-index of the element. PolarzIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. Polarcontainer(Layer element)Setter for the container. Polarcontainer(Stage element)Setter for the container. Polarcontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. PolarparentBounds(Rect bounds)Setter for the parent bounds using single value. PolarparentBounds(String bounds)Setter for the parent bounds using single value. PolarparentBounds(Number bounds)Setter for the parent bounds using single value. PolarparentBounds(Number left, Number top, Number width, Number height)Setter for the parent bounds using several values. Polarfill(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
-
Polar
Polar(String jsChart)
-
-
Method Detail
-
instantiate
static Polar instantiate()
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
fill
void fill()
Getter for the fill.
-
fill
Polar 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
Polar 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
Polar 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
Polar fill(GradientKey keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Polar fill(GradientKey keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Polar fill(GradientKey keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Polar fill(Array<String> keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Polar fill(Array<String> keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Polar fill(Array<String> keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Polar 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
Polar 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}
-
getRemainingBounds
Rect getRemainingBounds()
Returns remaining parent bounds to use elsewhere.
-
labels
LabelsFactory labels()
Getter for axis labels.
-
labels
Polar labels(String settings)
Setter for axis labels. Labels layout can be changed using the position method.
-
labels
Polar labels(Boolean settings)
Setter for axis labels. Labels layout can be changed using the position method.
-
minorLabels
LabelsFactory minorLabels()
Getter for axis minor labels.
-
minorLabels
Polar minorLabels(String settings)
Setter for axis minor labels.
-
minorLabels
Polar minorLabels(Boolean settings)
Setter for axis minor labels.
-
minorTicks
Ticks minorTicks()
Getter for minor axis ticks.
-
minorTicks
Polar minorTicks(String settings)
Setter for minor axis ticks.
-
minorTicks
Polar minorTicks(Boolean settings)
Setter for minor axis ticks.
-
overlapMode
void overlapMode()
Getter for labels overlap mode for.
-
overlapMode
Polar overlapMode(LabelsOverlapMode mode)
Setter for labels overlap mode.
-
overlapMode
Polar overlapMode(String mode)
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.
-
removeAllListeners
void removeAllListeners(String type)
Removes all listeners from an object. You can also optionally remove listeners of some particular type.
-
scale
ScatterBase scale()
Getter for the axis scale.
-
scale
Polar scale(ScatterBase settings)
Setter for the axis scale.
-
scale
Polar scale(ScaleTypes settings)
Setter for the axis scale.
-
stroke
void stroke()
Getter for axis stroke settings.
-
stroke
Polar stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for axis stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Polar stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for axis stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Polar stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for axis stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Polar stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for axis stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Polar stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for axis stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Polar stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for axis stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Polar stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for axis stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Polar stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for axis stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Polar stroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for axis stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Polar stroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for axis stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Polar stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for axis stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Polar stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for axis 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().
-
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
Polar 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
Polar 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
Polar 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
Polar 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.
-
-
-
-