-
public class MapSettings extends VisualBase
Map axes settings class.
-
-
Constructor Summary
Constructors Constructor Description MapSettings(String jsChart)
-
Method Summary
Modifier and Type Method Description static MapSettingsinstantiate()StringgetJsBase()Mapbottom()Getter for the bottom axis. MapSettingsbottom(Boolean settings)Setter for the bottom axis. MapSettingsbottom(String settings)Setter for the bottom axis. voiddrawFirstLabel()Getter for the first label drawing flag. MapSettingsdrawFirstLabel(Boolean enabled)Setter for the first label drawing flag. voiddrawLastLabel()Getter for the last label drawing flag. MapSettingsdrawLastLabel(Boolean enabled)Setter for the last label drawing flag. voidenabled()Getter for the axis enabled state. MapSettingsenabled(Boolean enabled)Setter for the axis enabled state. LabelsFactorylabels()Getter for axis labels. MapSettingslabels(String settings)Setter for axis labels. MapSettingslabels(Boolean settings)Setter for axis labels. Mapleft()Getter for the left axis. MapSettingsleft(Boolean settings)Setter for the left axis. MapSettingsleft(String settings)Setter for the left axis. LabelsFactoryminorLabels()Getter for axis minor labels. MapSettingsminorLabels(String settings)Setter for axis minor labels. MapSettingsminorLabels(Boolean settings)Setter for axis minor labels. MapTicksminorTicks()Getter for minor axis ticks. MapSettingsminorTicks(String settings)Setter for minor axis ticks. MapSettingsminorTicks(Boolean settings)Setter for minor axis ticks. voidoverlapMode()Getter for labels overlap mode. MapSettingsoverlapMode(LabelsOverlapMode mode)Setter for labels overlap mode. MapSettingsoverlapMode(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. Mapright()Getter for the right axis. MapSettingsright(Boolean settings)Setter for the right axis. MapSettingsright(String settings)Setter for the right axis. voidstroke()Getter for axis stroke settings. MapSettingsstroke(Stroke value, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for axis stroke settings. MapSettingsstroke(Stroke value, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for axis stroke settings. MapSettingsstroke(Stroke value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for axis stroke settings. MapSettingsstroke(Stroke value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for axis stroke settings. MapSettingsstroke(ColoredFill value, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for axis stroke settings. MapSettingsstroke(ColoredFill value, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for axis stroke settings. MapSettingsstroke(ColoredFill value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for axis stroke settings. MapSettingsstroke(ColoredFill value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for axis stroke settings. MapSettingsstroke(String value, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for axis stroke settings. MapSettingsstroke(String value, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for axis stroke settings. MapSettingsstroke(String value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for axis stroke settings. MapSettingsstroke(String value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for axis stroke settings. MapSettingsstroke(String settings)Setter for axis stroke settings using an object. MapTicksticks()Getter for axis ticks. MapSettingsticks(String settings)Setter for axis ticks. MapSettingsticks(Boolean settings)Setter for axis ticks. Titletitle()Getter for the axis title. MapSettingstitle(Boolean settings)Setter for the axis title. MapSettingstitle(String settings)Setter for the axis title. Maptop()Getter for the top axis. MapSettingstop(Boolean settings)Setter for the top axis. MapSettingstop(String settings)Setter for the top axis. 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. MapSettingszIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. MapSettingscontainer(Layer element)Setter for the container. MapSettingscontainer(Stage element)Setter for the container. MapSettingscontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. MapSettingsparentBounds(Rect bounds)Setter for the parent bounds using single value. MapSettingsparentBounds(String bounds)Setter for the parent bounds using single value. MapSettingsparentBounds(Number bounds)Setter for the parent bounds using single value. MapSettingsparentBounds(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
-
MapSettings
MapSettings(String jsChart)
-
-
Method Detail
-
instantiate
static MapSettings instantiate()
-
bottom
MapSettings bottom(Boolean settings)
Setter for the bottom axis.
-
bottom
MapSettings bottom(String settings)
Setter for the bottom axis.
-
drawFirstLabel
void drawFirstLabel()
Getter for the first label drawing flag.
-
drawFirstLabel
MapSettings drawFirstLabel(Boolean enabled)
Setter for the first label drawing flag.
-
drawLastLabel
void drawLastLabel()
Getter for the last label drawing flag.
-
drawLastLabel
MapSettings drawLastLabel(Boolean enabled)
Setter for the last label drawing flag.
-
enabled
void enabled()
Getter for the axis enabled state.
-
enabled
MapSettings enabled(Boolean enabled)
Setter for the axis enabled state.
-
labels
LabelsFactory labels()
Getter for axis labels.
-
labels
MapSettings labels(String settings)
Setter for axis labels.
-
labels
MapSettings labels(Boolean settings)
Setter for axis labels.
-
left
MapSettings left(Boolean settings)
Setter for the left axis.
-
left
MapSettings left(String settings)
Setter for the left axis.
-
minorLabels
LabelsFactory minorLabels()
Getter for axis minor labels.
-
minorLabels
MapSettings minorLabels(String settings)
Setter for axis minor labels.
-
minorLabels
MapSettings minorLabels(Boolean settings)
Setter for axis minor labels.
-
minorTicks
MapTicks minorTicks()
Getter for minor axis ticks.
-
minorTicks
MapSettings minorTicks(String settings)
Setter for minor axis ticks.
-
minorTicks
MapSettings minorTicks(Boolean settings)
Setter for minor axis ticks.
-
overlapMode
void overlapMode()
Getter for labels overlap mode.
-
overlapMode
MapSettings overlapMode(LabelsOverlapMode mode)
Setter for labels overlap mode.
-
overlapMode
MapSettings 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.
-
right
MapSettings right(Boolean settings)
Setter for the right axis.
-
right
MapSettings right(String settings)
Setter for the right axis.
-
stroke
void stroke()
Getter for axis stroke settings.
-
stroke
MapSettings stroke(Stroke value, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for axis stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
MapSettings stroke(Stroke value, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for axis stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
MapSettings stroke(Stroke value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for axis stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
MapSettings stroke(Stroke value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for axis stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
MapSettings stroke(ColoredFill value, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for axis stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
MapSettings stroke(ColoredFill value, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for axis stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
MapSettings stroke(ColoredFill value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for axis stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
MapSettings stroke(ColoredFill value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for axis stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
MapSettings stroke(String value, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for axis stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
MapSettings stroke(String value, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for axis stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
MapSettings stroke(String value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for axis stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
MapSettings stroke(String value, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for axis stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
MapSettings stroke(String settings)
Setter for axis stroke settings using an object.
-
ticks
MapSettings ticks(String settings)
Setter for axis ticks.
-
ticks
MapSettings ticks(Boolean settings)
Setter for axis ticks.
-
title
MapSettings title(Boolean settings)
Setter for the axis title.
-
title
MapSettings title(String settings)
Setter for the axis title.
-
top
MapSettings top(Boolean settings)
Setter for the top axis.
-
top
MapSettings top(String settings)
Setter for the top axis.
-
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
MapSettings zIndex(Number zIndex)
Setter for the Z-index of the element.
-
container
MapSettings container(Layer element)
Setter for the container.
-
container
MapSettings container(Stage element)
Setter for the container.
-
container
MapSettings 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
MapSettings 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
MapSettings 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
MapSettings 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
MapSettings 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.
-
-
-
-