-
public class Group extends VisualBase
Event markers group class. Settings of the separate markers group.
-
-
Method Summary
Modifier and Type Method Description static Groupinstantiate()StringgetJsBase()voidadjustFontSize()Getter for the adjusting font size. GroupadjustFontSize(Boolean adjustOrAdjustByWidth, Boolean adjustByHeight)Setter for the adjusting font size. GroupadjustFontSize(Array<Boolean> adjustOrAdjustByWidth, Boolean adjustByHeight)Setter for the adjusting font size. GroupadjustFontSize(String adjustOrAdjustByWidth, Boolean adjustByHeight)Setter for the adjusting font size. Connectorconnector()Getter for connector settings. Groupconnector(String settings)Setter for the connector length. voiddata(List<DataEntry> data)voiddirection()Getter for the direction. Groupdirection(EventMarkerDirection direction)Setter for the direction. Groupdirection(String direction)Setter for the direction. voiddisablePointerEvents()Getter for the pointer events settings. GroupdisablePointerEvents(Boolean enabled)Setter for the pointer events setting. voidenabled()Getter for the element state (enabled or disabled). Groupenabled(Boolean enabled)Setter for the element enabled state. voidfieldName()Getter for the fieldName. GroupfieldName(String name)Setter for the fieldName. voidfill()Getter for the fill color. Groupfill(Fill color)Setter for fill settings using an array, an object or a string. Groupfill(GradientKey color)Setter for fill settings using an array, an object or a string. Groupfill(Array<String> color)Setter for fill settings using an array, an object or a string. Groupfill(String color, Number opacity)Fill color with opacity. Groupfill(GradientKey keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. Groupfill(GradientKey keys, Number angle, Rect mode, Number opacity)Linear gradient fill. Groupfill(GradientKey keys, Number angle, String mode, Number opacity)Linear gradient fill. Groupfill(Array<String> keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. Groupfill(Array<String> keys, Number angle, Rect mode, Number opacity)Linear gradient fill. Groupfill(Array<String> keys, Number angle, String mode, Number opacity)Linear gradient fill. Groupfill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill. Groupfill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill. voidfontColor()Getter for font color settings. GroupfontColor(String color)Setter for font color settings. voidfontDecoration()Getter for font decoration settings. GroupfontDecoration(Decoration type)Setter for font decoration settings. GroupfontDecoration(String type)Setter for font decoration settings. voidfontFamily()Getter for font family settings. GroupfontFamily(String family)Setter for font family settings. voidfontOpacity()Getter for font opacity settings. GroupfontOpacity(Number opacity)Setter for font opacity settings. voidfontPadding()Getter for the font padding. GroupfontPadding(Number padding)Setter for the font padding. GroupfontPadding(String padding)Setter for the font padding. voidfontSize()Getter for font size settings. GroupfontSize(Number size)Setter for font size settings. GroupfontSize(String size)Setter for font size settings. voidfontStyle()Getter for font style settings. GroupfontStyle(String style)Setter for font style settings. GroupfontStyle(FontStyle style)Setter for font style settings. voidfontVariant()Getter for font variant settings. GroupfontVariant(String value)Setter for font variant settings. GroupfontVariant(FontVariant value)Setter for font variant settings. voidfontWeight()Getter for font weight settings. GroupfontWeight(String weight)Setter for font weight settings. GroupfontWeight(Number weight)Setter for font weight settings. voidformat()Getter for the function content text for the tooltip. Groupformat(String format)Setter for function content text for the tooltip. ContextgetMarker(Number index)Gets group marker by index. voidhAlign()Getter for horizontal align settings. GrouphAlign(String align)Setter for the horizontal align settings. GrouphAlign(HAlign align)Setter for the horizontal align settings. voidheight()Getter for the markers height. Groupheight(String height)Setter for the markers height. Groupheight(Number height)Setter for the markers height. Grouphovered()Getter for hovered state settings. Grouphovered(String settings)Setter for hovered state settings. voidletterSpacing()Getter for text letter spacing settings. GroupletterSpacing(Number spacing)Setter for text letter spacing settings. voidlineHeight()Getter for line height settings. GrouplineHeight(Number height)Setter for line height settings. GrouplineHeight(String height)Setter for line height settings. voidmaxFontSize()Getter for maximum font size settings for adjust text from. GroupmaxFontSize(Number size)Setter for maximum font size settings for adjust text from. GroupmaxFontSize(String size)Setter for maximum font size settings for adjust text from. voidminFontSize()Getter for minimum font size settings for adjust text from. GroupminFontSize(Number size)Setter for minimum font size settings for adjust text from. GroupminFontSize(String size)Setter for minimum font size settings for adjust text from. Groupnormal()Getter for normal state settings. Groupnormal(String settings)Setter for normal state settings. voidposition()Getter for the position. Groupposition(EventMarkerPosition position)Setter for the position. Groupposition(String position)Setter for the position. 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. voidselectable()Getter for the text selectable option. Groupselectable(Boolean enabled)Setter for the text selectable option. Groupselected()Getter for selected state settings. Groupselected(String settings)Setter for selected state settings. voidseriesId()Getter for the seriesId. GroupseriesId(String id)Setter for the seriesId. voidstickToLeft()Getter for sticking event markers to left value. GroupstickToLeft(Boolean enabled)Setter for sticking event markers to left value. voidstroke()Getter for stroke settings. Basestroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for series stroke settings. Basestroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for series stroke settings. Basestroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for series stroke settings. Basestroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for series stroke settings. Basestroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for series stroke settings. Basestroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for series stroke settings. Basestroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for series stroke settings. Basestroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for series stroke settings. Groupstroke(String settings)Setter for stroke using an object. voidtextDirection()Getter for the text direction settings. GrouptextDirection(String type)Setter for text direction settings. GrouptextDirection(Direction type)Setter for text direction settings. voidtextIndent()Getter for text-indent settings. GrouptextIndent(Number indent)Setter for text-indent settings. voidtextOverflow()Getter for text overflow settings. GrouptextOverflow(TextOverflow value)Setter for text overflow settings. GrouptextOverflow(String value)Setter for text overflow settings. Grouptooltip()Getter for tooltip settings. Pietooltip(String settings)Setter for tooltip settings. Pietooltip(Boolean settings)Setter for tooltip settings. voidtype()Getter for the marker type. Grouptype(String type)Setter for the marker type. Grouptype(EventMarkerType type)Setter for the marker type. 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(). voiduseHtml()Getter for the useHTML flag. GroupuseHtml(Boolean enabled)Setter for the useHTML flag. voidvAlign()Getter for text vertical align settings. GroupvAlign(String align)Setter for text vertical align settings. GroupvAlign(VAlign align)Setter for text vertical align settings. voidwidth()Getter for the markers width. Groupwidth(String width)Setter for the markers width. Groupwidth(Number width)Setter for the markers width. voidwordBreak()Getter for the word-break mode. GroupwordBreak(WordBreak mode)Setter for the word-break mode. GroupwordBreak(String mode)Setter for the word-break mode. voidwordWrap()Getter for the word-wrap mode. GroupwordWrap(WordWrap mode)Setter for the word-wrap mode. GroupwordWrap(String mode)Setter for the word-wrap mode. voidzIndex()Getter for the Z-index of the element. GroupzIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. Groupcontainer(Layer element)Setter for the container. Groupcontainer(Stage element)Setter for the container. Groupcontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. GroupparentBounds(Rect bounds)Setter for the parent bounds using single value. GroupparentBounds(String bounds)Setter for the parent bounds using single value. GroupparentBounds(Number bounds)Setter for the parent bounds using single value. GroupparentBounds(Number left, Number top, Number width, Number height)Setter for the parent bounds using several values. Groupdata(View data)Groupdata(List<DataEntry> data, TreeFillingMethod fillMethod)Groupdata(List<DataEntry> data, String fillMethod)Groupfill(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
-
Group
Group(String jsChart)
-
-
Method Detail
-
instantiate
static Group instantiate()
-
adjustFontSize
void adjustFontSize()
Getter for the adjusting font size.
-
adjustFontSize
Group adjustFontSize(Boolean adjustOrAdjustByWidth, Boolean adjustByHeight)
Setter for the adjusting font size.
-
adjustFontSize
Group adjustFontSize(Array<Boolean> adjustOrAdjustByWidth, Boolean adjustByHeight)
Setter for the adjusting font size.
-
adjustFontSize
Group adjustFontSize(String adjustOrAdjustByWidth, Boolean adjustByHeight)
Setter for the adjusting font size.
-
direction
void direction()
Getter for the direction.
-
direction
Group direction(EventMarkerDirection direction)
Setter for the direction.
-
disablePointerEvents
void disablePointerEvents()
Getter for the pointer events settings.
-
disablePointerEvents
Group disablePointerEvents(Boolean enabled)
Setter for the pointer events setting.
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
fieldName
void fieldName()
Getter for the fieldName.
-
fieldName
Group fieldName(String name)
Setter for the fieldName.Note: Sets a series field name for all position values with exception of "axis" value.
-
fill
void fill()
Getter for the fill color.
-
fill
Group 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
Group 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
Group 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
Group fill(String color, Number opacity)
Fill color with opacity. Fill as a string or an object.
-
fill
Group fill(GradientKey keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Group fill(GradientKey keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Group fill(GradientKey keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Group fill(Array<String> keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Group fill(Array<String> keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Group fill(Array<String> keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Group 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
Group 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}
-
fontColor
void fontColor()
Getter for font color settings.
-
fontDecoration
void fontDecoration()
Getter for font decoration settings.
-
fontDecoration
Group fontDecoration(Decoration type)
Setter for font decoration settings.
-
fontDecoration
Group fontDecoration(String type)
Setter for font decoration settings.
-
fontFamily
void fontFamily()
Getter for font family settings.
-
fontFamily
Group fontFamily(String family)
Setter for font family settings.
-
fontOpacity
void fontOpacity()
Getter for font opacity settings.
-
fontOpacity
Group fontOpacity(Number opacity)
Setter for font opacity settings.
-
fontPadding
void fontPadding()
Getter for the font padding.
-
fontPadding
Group fontPadding(Number padding)
Setter for the font padding.
-
fontPadding
Group fontPadding(String padding)
Setter for the font padding.
-
fontSize
void fontSize()
Getter for font size settings.
-
fontStyle
void fontStyle()
Getter for font style settings.
-
fontVariant
void fontVariant()
Getter for font variant settings.
-
fontVariant
Group fontVariant(String value)
Setter for font variant settings.
-
fontVariant
Group fontVariant(FontVariant value)
Setter for font variant settings.
-
fontWeight
void fontWeight()
Getter for font weight settings.
-
fontWeight
Group fontWeight(String weight)
Setter for font weight settings.
-
fontWeight
Group fontWeight(Number weight)
Setter for font weight settings.
-
format
void format()
Getter for the function content text for the tooltip.
-
getMarker
Context getMarker(Number index)
Gets group marker by index.Note: Works only after draw is called.
-
hAlign
void hAlign()
Getter for horizontal align settings.
-
height
void height()
Getter for the markers height.
-
letterSpacing
void letterSpacing()
Getter for text letter spacing settings.
-
letterSpacing
Group letterSpacing(Number spacing)
Setter for text letter spacing settings.
-
lineHeight
void lineHeight()
Getter for line height settings.
-
lineHeight
Group lineHeight(Number height)
Setter for line height settings.
-
lineHeight
Group lineHeight(String height)
Setter for line height settings.
-
maxFontSize
void maxFontSize()
Getter for maximum font size settings for adjust text from.
-
maxFontSize
Group maxFontSize(Number size)
Setter for maximum font size settings for adjust text from.
-
maxFontSize
Group maxFontSize(String size)
Setter for maximum font size settings for adjust text from.
-
minFontSize
void minFontSize()
Getter for minimum font size settings for adjust text from.
-
minFontSize
Group minFontSize(Number size)
Setter for minimum font size settings for adjust text from.
-
minFontSize
Group minFontSize(String size)
Setter for minimum font size settings for adjust text from.
-
position
void position()
Getter for the position.
-
position
Group position(EventMarkerPosition position)
Setter for the position.
-
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.
-
selectable
void selectable()
Getter for the text selectable option.
-
selectable
Group selectable(Boolean enabled)
Setter for the text selectable option.
-
seriesId
void seriesId()
Getter for the seriesId.
-
seriesId
Group seriesId(String id)
Setter for the seriesId.Note: Sets a series by id for all position values with exception of "axis" value.
-
stickToLeft
void stickToLeft()
Getter for sticking event markers to left value.
-
stickToLeft
Group stickToLeft(Boolean enabled)
Setter for sticking event markers to left value.
-
stroke
void stroke()
Getter for stroke settings.
-
stroke
Base stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for series stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for series stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for series stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for series stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for series stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for series stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for series stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for series stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
textDirection
void textDirection()
Getter for the text direction settings.
-
textDirection
Group textDirection(String type)
Setter for text direction settings.
-
textDirection
Group textDirection(Direction type)
Setter for text direction settings.
-
textIndent
void textIndent()
Getter for text-indent settings.
-
textIndent
Group textIndent(Number indent)
Setter for text-indent settings.
-
textOverflow
void textOverflow()
Getter for text overflow settings.
-
textOverflow
Group textOverflow(TextOverflow value)
Setter for text overflow settings.
-
textOverflow
Group textOverflow(String value)
Setter for text overflow settings.
-
type
void type()
Getter for the marker type.
-
type
Group type(EventMarkerType type)
Setter for the marker type.
-
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().
-
useHtml
void useHtml()
Getter for the useHTML flag.
-
vAlign
void vAlign()
Getter for text vertical align settings.
-
width
void width()
Getter for the markers width.
-
wordBreak
void wordBreak()
Getter for the word-break mode.
-
wordWrap
void wordWrap()
Getter for the word-wrap mode.
-
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
Group 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
Group 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
Group 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
Group 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.
-
data
Group data(List<DataEntry> data, TreeFillingMethod fillMethod)
-
-
-
-