-
-
Method Summary
Modifier and Type Method Description static Polarinstantiate()StringgetJsBase()Polaraxis()Getter for the polar grid axis. Polaraxis(Polar axis)Setter for the polar grid axis. Polaraxis(Radial axis)Setter for the polar grid axis. 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. voiddrawLastLine()Getter for the first line drawing flag. PolardrawLastLine(Boolean enabled)Setter for the first line drawing flag. voidenabled()Getter for the element state (enabled or disabled). Polarenabled(Boolean enabled)Setter for the element enabled state. voidfill()Getter for the grid fill settings. 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. voidinnerRadius()Getter for the inner radius. PolarinnerRadius(String radius)Setter for the inner radius. PolarinnerRadius(Number radius)Setter for the inner radius. voidisMinor()Getter for the minor grid state flag. PolarisMinor(Boolean enabled)Setter for the minor grid state flag. voidisRadial()Whether a grid has the radial layout. voidlayout()Getter for the grid layout. Polarlayout(Layout value)Setter for the grid layout. Polarlayout(String value)Setter for the grid layout. RangeColorspalette()Getter for the colors palette. Mappalette(RangeColors settings)Setter for the grid colors palette. Mappalette(DistinctColors settings)Setter for the grid colors palette. Mappalette(String settings)Setter for the grid colors palette. Mappalette(Array<String> settings)Setter for the grid colors palette. 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. 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. voidstroke()Getter for the grid stroke line. Polarstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the grid stroke settings. Polarstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the grid stroke settings. Polarstroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the grid stroke settings. Polarstroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the grid stroke settings. Polarstroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for the grid stroke settings. Polarstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the grid stroke settings. Polarstroke(String settings)Setter for the grid 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(). LinearxScale()Getter for the grid X-scale. PolarxScale(Base settings)Setter for the grid X-scale. PolarxScale(ScaleTypes settings)Setter for the grid X-scale. PolarxScale(String settings)Setter for the grid X-scale. BaseyScale()PolaryScale(Base settings)PolaryScale(ScaleTypes settings)PolaryScale(String settings)voidzIndex()Getter for the Z-index of the element. PolarzIndex(Number zIndex)Setter for the Z-index of the element. ObjectxScale(Class scaleClass)ObjectyScale(Class scaleClass)Polarfill(String value)-
-
Constructor Detail
-
Polar
Polar(String jsChart)
-
-
Method Detail
-
instantiate
static Polar instantiate()
-
drawLastLine
void drawLastLine()
Getter for the first line drawing flag.
-
drawLastLine
Polar drawLastLine(Boolean enabled)
Setter for the first line drawing flag.
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
fill
void fill()
Getter for the grid fill settings.
-
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(String color, Number opacity)
Fill color with opacity. Fill as a string or an object.
-
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}
-
innerRadius
void innerRadius()
Getter for the inner radius.
-
innerRadius
Polar innerRadius(String radius)
Setter for the inner radius.
-
innerRadius
Polar innerRadius(Number radius)
Setter for the inner radius.
-
isMinor
void isMinor()
Getter for the minor grid state flag.
-
isRadial
void isRadial()
Whether a grid has the radial layout.
-
layout
void layout()
Getter for the grid layout.
-
palette
RangeColors palette()
Getter for the colors palette.
-
palette
Map palette(RangeColors settings)
Setter for the grid colors palette.
-
palette
Map palette(DistinctColors settings)
Setter for the grid colors palette.
-
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.
-
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.
-
stroke
void stroke()
Getter for the grid stroke line.
-
stroke
Polar stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for the grid 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 the grid 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 the grid 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 the grid 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 the grid 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 the grid 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().
-
xScale
Polar xScale(ScaleTypes settings)
Setter for the grid X-scale.
-
yScale
Polar yScale(ScaleTypes settings)
-
zIndex
void zIndex()
Getter for the Z-index of the element.
-
-
-
-