-
public class Map extends VisualBase
Map axis class.
-
-
Method Summary
Modifier and Type Method Description static Mapinstantiate()StringgetJsBase()voiddrawFirstLabel()Getter for the first label drawing flag. MapdrawFirstLabel(Boolean enabled)Setter for the first label drawing flag. voiddrawLastLabel()Getter for the last label drawing flag. MapdrawLastLabel(Boolean enabled)Setter for the last label drawing flag. voidenabled()Getter for the element state (enabled or disabled). Mapenabled(Boolean enabled)Setter for the element enabled state. LabelsFactorylabels()Getter for axis labels. Maplabels(String settings)Setter for axis labels. Maplabels(Boolean settings)Setter for axis labels. LabelsFactoryminorLabels()Getter for axis minor labels. MapminorLabels(String settings)Setter for axis minor labels. MapminorLabels(Boolean settings)Setter for axis minor labels. MapTicksminorTicks()Getter for minor axis ticks. MapminorTicks(String settings)Setter for minor axis ticks. MapminorTicks(Boolean settings)Setter for minor axis ticks. voidoverlapMode()Getter for labels overlap mode. MapoverlapMode(LabelsOverlapMode value)Setter for overlap mode for labels. MapoverlapMode(String value)Setter for overlap mode for labels. 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 axis stroke settings. Mapstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for axis stroke settings. Mapstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for axis stroke settings. Mapstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for axis stroke settings. Mapstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for axis stroke settings. Mapstroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for axis stroke settings. Mapstroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for axis stroke settings. Mapstroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for axis stroke settings. Mapstroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for axis stroke settings. Mapstroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for axis stroke settings. Mapstroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for axis stroke settings. Mapstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for axis stroke settings. Mapstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for axis stroke settings. Mapstroke(String settings)Setter for axis stroke settings using an object. MapTicksticks()Getter for axis ticks. Mapticks(String settings)Setter for axis ticks. Mapticks(Boolean settings)Setter for axis ticks. Titletitle()Getter for the axis title. Maptitle(Boolean settings)Setter for the axis title. Maptitle(String settings)Setter for the axis title. 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. MapzIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. Mapcontainer(Layer element)Setter for the container. Mapcontainer(Stage element)Setter for the container. Mapcontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. MapparentBounds(Rect bounds)Setter for the parent bounds using single value. MapparentBounds(String bounds)Setter for the parent bounds using single value. MapparentBounds(Number bounds)Setter for the parent bounds using single value. MapparentBounds(Number left, Number top, Number width, Number height)Setter for the parent bounds using several values. -
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
-
Map
Map(String jsChart)
-
-
Method Detail
-
instantiate
static Map instantiate()
-
drawFirstLabel
void drawFirstLabel()
Getter for the first label drawing flag.
-
drawFirstLabel
Map drawFirstLabel(Boolean enabled)
Setter for the first label drawing flag.
-
drawLastLabel
void drawLastLabel()
Getter for the last label drawing flag.
-
drawLastLabel
Map drawLastLabel(Boolean enabled)
Setter for the last label drawing flag.
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
labels
LabelsFactory labels()
Getter for axis labels.
-
minorLabels
LabelsFactory minorLabels()
Getter for axis minor labels.
-
minorLabels
Map minorLabels(String settings)
Setter for axis minor labels.
-
minorLabels
Map minorLabels(Boolean settings)
Setter for axis minor labels.
-
minorTicks
MapTicks minorTicks()
Getter for minor axis ticks.
-
minorTicks
Map minorTicks(String settings)
Setter for minor axis ticks.
-
minorTicks
Map minorTicks(Boolean settings)
Setter for minor axis ticks.
-
overlapMode
void overlapMode()
Getter for labels overlap mode.
-
overlapMode
Map overlapMode(LabelsOverlapMode value)
Setter for overlap mode for labels.
-
overlapMode
Map overlapMode(String value)
Setter for overlap mode for labels.
-
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 axis stroke settings.
-
stroke
Map 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
Map 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
Map 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
Map 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
Map 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
Map 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
Map 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
Map 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
Map 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
Map 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
Map 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
Map 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
Map 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
Map 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
Map 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.
-
-
-
-