-
public class Tooltip extends VisualBase
Class for the tooltip.
-
-
Method Summary
Modifier and Type Method Description static Tooltipinstantiate()StringgetJsBase()voidadjustFontSize()Getter for the adjusting font size. TooltipadjustFontSize(Boolean adjustOrAdjustByWidth, Boolean adjustByHeight)Setter for the adjusting font size. TooltipadjustFontSize(Array<Boolean> adjustOrAdjustByWidth, Boolean adjustByHeight)Setter for the adjusting font size. TooltipadjustFontSize(String adjustOrAdjustByWidth, Boolean adjustByHeight)Setter for the adjusting font size. voidallowLeaveChart()Getter for the allowLeaveChart tooltip mode. TooltipallowLeaveChart(Boolean enabled)Setter for the allowLeaveChart tooltip mode. voidallowLeaveScreen()Getter for the allowLeaveScreen tooltip mode. TooltipallowLeaveScreen(Boolean enabled)Setter for the allowLeaveScreen tooltip mode. voidallowLeaveStage()Getter for the allowLeaveStage tooltip mode. TooltipallowLeaveStage(Boolean enabled)Setter for the allowLeaveStage tooltip mode. voidanchor()Getter for the tooltip anchor. Tooltipanchor(Anchor anchor)Setter for the tooltip anchor. Tooltipanchor(String anchor)Setter for the tooltip anchor. Backgroundbackground()Getter for tooltip background settings. Tooltipbackground(Boolean settings)Setter for tooltip background settings. Tooltipbackground(String settings)Setter for tooltip background settings. voiddisablePointerEvents()Getter for the pointer events settings. TooltipdisablePointerEvents(Boolean enabled)Setter for the pointer events setting. voiddisplayMode()Getter for display mode settings. TooltipdisplayMode(TooltipDisplayMode value)Setter for display mode settings. TooltipdisplayMode(String value)Setter for display mode settings. voidenabled()Getter for the element state (enabled or disabled). Tooltipenabled(Boolean enabled)Setter for the element enabled state. voidfontColor()Getter for font color settings. TooltipfontColor(String color)Setter for font color settings. voidfontDecoration()Getter for font decoration settings. TooltipfontDecoration(Decoration value)Setter for font decoration settings. TooltipfontDecoration(String value)Setter for font decoration settings. voidfontFamily()Getter for font family settings. TooltipfontFamily(String family)Setter for font family settings. voidfontOpacity()Getter for font opacity settings. TooltipfontOpacity(Number opacity)Setter for font opacity settings. voidfontSize()Getter for font size settings. TooltipfontSize(Number size)Setter for font size settings. TooltipfontSize(String size)Setter for font size settings. voidfontStyle()Getter for font style settings. TooltipfontStyle(String style)Setter for font style settings. TooltipfontStyle(FontStyle style)Setter for font style settings. voidfontVariant()Getter for font variant settings. TooltipfontVariant(String value)Setter for font variant settings. TooltipfontVariant(FontVariant value)Setter for font variant settings. voidfontWeight()Getter for font weight settings. TooltipfontWeight(String weight)Setter for font weight settings. TooltipfontWeight(Number weight)Setter for font weight settings. voidformat()Getter for the function content text for the tooltip. Tooltipformat(String format)Setter for function content text for the tooltip. voidhAlign()Getter for text horizontal align settings. TooltiphAlign(String align)Setter for the text horizontal align settings. TooltiphAlign(HAlign align)Setter for the text horizontal align settings. voidheight()Getter for the tooltip height. Tooltipheight(String height)Setter for the tooltip height. Tooltipheight(Number height)Setter for the tooltip height. voidhideDelay()Getter for delay in milliseconds before union tooltip item becomes hidden. TooltiphideDelay(Number delay)Setter for the delay in milliseconds before a tooltip becomes hidden. voidletterSpacing()Getter for text letter spacing settings. TooltipletterSpacing(Number spacing)Setter for text letter spacing settings. voidlineHeight()Getter for text line height settings. TooltiplineHeight(Number height)Setter for text line height settings. TooltiplineHeight(String height)Setter for text line height settings. voidmaxFontSize()Getter for maximum font size settings for adjust text from. TooltipmaxFontSize(Number size)Setter for maximum font size settings for adjust text from. TooltipmaxFontSize(String size)Setter for maximum font size settings for adjust text from. voidminFontSize()Getter for minimum font size settings for adjust text from. TooltipminFontSize(Number size)Setter for minimum font size settings for adjust text from. TooltipminFontSize(String size)Setter for minimum font size settings for adjust text from. voidoffsetX()Getter for the tooltip offset by X. TooltipoffsetX(Number offset)Setter for union tooltip offsetX. voidoffsetY()Getter for the tooltip offset by Y. TooltipoffsetY(Number offset)Setter for the tooltip offset by Y. voidonBeforeContentChange()Getter for the onBeforeContentChange handler. voidonBeforeTitleChange()Getter for the onBeforeTitleChange handler. voidonContentChanged()Getter for the onContentChanged handler. TooltiponContentChanged(String handler)Setter for the onContentChanged handler. voidonDomReady()Getter for the onDomReady handler. TooltiponDomReady(String handler)Setter for the onDomReady handler. voidonTitleChanged()Getter for the onTitleChanged handler. TooltiponTitleChanged(String handler)Setter for the onTitleChanged handler. Paddingpadding()Getter for the tooltip padding. Tooltippadding(Array<Number> padding)Setter for the tooltip padding in pixels by one value. Tooltippadding(Array<String> padding)Setter for the tooltip padding in pixels by one value. Tooltippadding(String padding)Setter for the tooltip padding in pixels by one value. Tooltippadding(String value1, String value2, String value3, String value4)Setter for the tooltip padding in pixels. Tooltippadding(String value1, String value2, String value3, Number value4)Setter for the tooltip padding in pixels. Tooltippadding(String value1, String value2, Number value3, String value4)Setter for the tooltip padding in pixels. Tooltippadding(String value1, String value2, Number value3, Number value4)Setter for the tooltip padding in pixels. Tooltippadding(String value1, Number value2, String value3, String value4)Setter for the tooltip padding in pixels. Tooltippadding(String value1, Number value2, String value3, Number value4)Setter for the tooltip padding in pixels. Tooltippadding(String value1, Number value2, Number value3, String value4)Setter for the tooltip padding in pixels. Tooltippadding(String value1, Number value2, Number value3, Number value4)Setter for the tooltip padding in pixels. Tooltippadding(Number value1, String value2, String value3, String value4)Setter for the tooltip padding in pixels. Tooltippadding(Number value1, String value2, String value3, Number value4)Setter for the tooltip padding in pixels. Tooltippadding(Number value1, String value2, Number value3, String value4)Setter for the tooltip padding in pixels. Tooltippadding(Number value1, String value2, Number value3, Number value4)Setter for the tooltip padding in pixels. Tooltippadding(Number value1, Number value2, String value3, String value4)Setter for the tooltip padding in pixels. Tooltippadding(Number value1, Number value2, String value3, Number value4)Setter for the tooltip padding in pixels. Tooltippadding(Number value1, Number value2, Number value3, String value4)Setter for the tooltip padding in pixels. Tooltippadding(Number value1, Number value2, Number value3, Number value4)Setter for the tooltip padding in pixels. voidposition()Getter for the union tooltip position. Tooltipposition(Position position)Setter for the union tooltip position. Tooltipposition(String position)Setter for the union tooltip position. voidpositionMode()Getter for all tooltips position mode. TooltippositionMode(TooltipPositionMode mode)Setter for all tooltips position mode. TooltippositionMode(String mode)Setter for all tooltips position 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. voidselectable()Getter for the text selectable option. Tooltipselectable(Boolean enabled)Setter for the text selectable option. Separatorseparator()Getter for the union tooltip separator. Tooltipseparator(Boolean settings)Setter for the union tooltip separator. Tooltipseparator(String settings)Setter for the union tooltip separator. voidtextDirection()Getter for the text direction settings. TooltiptextDirection(String value)Setter for text direction settings. TooltiptextDirection(Direction value)Setter for text direction settings. voidtextIndent()Getter for text-indent settings. TooltiptextIndent(Number indent)Setter for text-indent settings. voidtextOverflow()Getter for text overflow settings. TooltiptextOverflow(TextOverflow value)Setter for text overflow settings. TooltiptextOverflow(String value)Setter for text overflow settings. voidtextSettings()Getter for the full text appearance settings. TooltiptextSettings(String settings)Setter for the full text appearance settings. TooltiptextSettings(String name, String value)Setter for the custom text appearance settings. TooltiptextSettings(String name, Number value)Setter for the custom text appearance settings. TooltiptextSettings(String name, Boolean value)Setter for the custom text appearance settings. Titletitle()Getter for union tooltip title visual settings. Tooltiptitle(Boolean settings)Setter for union tooltip title visual settings. Tooltiptitle(String settings)Setter for union tooltip title visual settings. voidtitleFormat()Getter for the function to format title. TooltiptitleFormat(String format)Setter for the function to format title. voidunionFormat()Getter for the function content text for union tooltip. TooltipunionFormat(String unionFormat)Setter for the function content text for union tooltip. 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. TooltipuseHtml(Boolean enabled)Setter for the HTML tooltip mode. voidvAlign()Getter for text vertical align settings. TooltipvAlign(String align)Setter for text vertical align settings. TooltipvAlign(VAlign align)Setter for text vertical align settings. voidvaluePostfix()Getter for tooltip postfix value. TooltipvaluePostfix(String value)Setter for tooltip postfix value. voidvaluePrefix()Getter for tooltip prefix value. TooltipvaluePrefix(String value)Setter for tooltip prefix value. voidwidth()Getter for the tooltip width. Tooltipwidth(String width)Setter for the tooltip width. Tooltipwidth(Number width)Setter for the tooltip width. voidwordBreak()Getter for the word-break mode. TooltipwordBreak(WordBreak mode)Setter for the word-break mode. TooltipwordBreak(String mode)Setter for the word-break mode. voidwordWrap()Getter for the word-wrap mode. TooltipwordWrap(WordWrap mode)Setter for the word-wrap mode. TooltipwordWrap(String mode)Setter for the word-wrap mode. voidzIndex()Getter for the Z-index of the element. TooltipzIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. Tooltipcontainer(Layer element)Setter for the container. Tooltipcontainer(Stage element)Setter for the container. Tooltipcontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. TooltipparentBounds(Rect bounds)Setter for the parent bounds using single value. TooltipparentBounds(String bounds)Setter for the parent bounds using single value. TooltipparentBounds(Number bounds)Setter for the parent bounds using single value. TooltipparentBounds(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
-
Tooltip
Tooltip(String jsChart)
-
-
Method Detail
-
instantiate
static Tooltip instantiate()
-
adjustFontSize
void adjustFontSize()
Getter for the adjusting font size.
-
adjustFontSize
Tooltip adjustFontSize(Boolean adjustOrAdjustByWidth, Boolean adjustByHeight)
Setter for the adjusting font size.
-
adjustFontSize
Tooltip adjustFontSize(Array<Boolean> adjustOrAdjustByWidth, Boolean adjustByHeight)
Setter for the adjusting font size.
-
adjustFontSize
Tooltip adjustFontSize(String adjustOrAdjustByWidth, Boolean adjustByHeight)
Setter for the adjusting font size.
-
allowLeaveChart
void allowLeaveChart()
Getter for the allowLeaveChart tooltip mode.
-
allowLeaveChart
Tooltip allowLeaveChart(Boolean enabled)
Setter for the allowLeaveChart tooltip mode.
-
allowLeaveScreen
void allowLeaveScreen()
Getter for the allowLeaveScreen tooltip mode.
-
allowLeaveScreen
Tooltip allowLeaveScreen(Boolean enabled)
Setter for the allowLeaveScreen tooltip mode.
-
allowLeaveStage
void allowLeaveStage()
Getter for the allowLeaveStage tooltip mode.
-
allowLeaveStage
Tooltip allowLeaveStage(Boolean enabled)
Setter for the allowLeaveStage tooltip mode.
-
anchor
void anchor()
Getter for the tooltip anchor.
-
background
Background background()
Getter for tooltip background settings.
-
background
Tooltip background(Boolean settings)
Setter for tooltip background settings.
-
background
Tooltip background(String settings)
Setter for tooltip background settings.
-
disablePointerEvents
void disablePointerEvents()
Getter for the pointer events settings.
-
disablePointerEvents
Tooltip disablePointerEvents(Boolean enabled)
Setter for the pointer events setting.
-
displayMode
void displayMode()
Getter for display mode settings.
-
displayMode
Tooltip displayMode(TooltipDisplayMode value)
Setter for display mode settings. Note: Works only for the chart tooltip.
-
displayMode
Tooltip displayMode(String value)
Setter for display mode settings. Note: Works only for the chart tooltip.
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
fontColor
void fontColor()
Getter for font color settings.
-
fontDecoration
void fontDecoration()
Getter for font decoration settings.
-
fontDecoration
Tooltip fontDecoration(Decoration value)
Setter for font decoration settings.
-
fontDecoration
Tooltip fontDecoration(String value)
Setter for font decoration settings.
-
fontFamily
void fontFamily()
Getter for font family settings.
-
fontFamily
Tooltip fontFamily(String family)
Setter for font family settings.
-
fontOpacity
void fontOpacity()
Getter for font opacity settings.
-
fontOpacity
Tooltip fontOpacity(Number opacity)
Setter for font opacity settings.
-
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
Tooltip fontVariant(String value)
Setter for font variant settings.
-
fontVariant
Tooltip fontVariant(FontVariant value)
Setter for font variant settings.
-
fontWeight
void fontWeight()
Getter for font weight settings.
-
fontWeight
Tooltip fontWeight(String weight)
Setter for font weight settings.
-
fontWeight
Tooltip fontWeight(Number weight)
Setter for font weight settings.
-
format
void format()
Getter for the function content text for the tooltip.
-
format
Tooltip format(String format)
Setter for function content text for the tooltip. {docs:Common_Settings/Text_Formatters}Learn more about using the format() method.{docs}
-
hAlign
void hAlign()
Getter for text horizontal align settings.
-
height
void height()
Getter for the tooltip height.
-
hideDelay
void hideDelay()
Getter for delay in milliseconds before union tooltip item becomes hidden.
-
hideDelay
Tooltip hideDelay(Number delay)
Setter for the delay in milliseconds before a tooltip becomes hidden.
-
letterSpacing
void letterSpacing()
Getter for text letter spacing settings.
-
letterSpacing
Tooltip letterSpacing(Number spacing)
Setter for text letter spacing settings.
-
lineHeight
void lineHeight()
Getter for text line height settings.
-
lineHeight
Tooltip lineHeight(Number height)
Setter for text line height settings.
-
lineHeight
Tooltip lineHeight(String height)
Setter for text line height settings.
-
maxFontSize
void maxFontSize()
Getter for maximum font size settings for adjust text from.
-
maxFontSize
Tooltip maxFontSize(Number size)
Setter for maximum font size settings for adjust text from.
-
maxFontSize
Tooltip 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
Tooltip minFontSize(Number size)
Setter for minimum font size settings for adjust text from.
-
minFontSize
Tooltip minFontSize(String size)
Setter for minimum font size settings for adjust text from.
-
offsetX
void offsetX()
Getter for the tooltip offset by X.
-
offsetY
void offsetY()
Getter for the tooltip offset by Y.
-
onBeforeContentChange
void onBeforeContentChange()
Getter for the onBeforeContentChange handler.
-
onBeforeTitleChange
void onBeforeTitleChange()
Getter for the onBeforeTitleChange handler.
-
onContentChanged
void onContentChanged()
Getter for the onContentChanged handler.
-
onContentChanged
Tooltip onContentChanged(String handler)
Setter for the onContentChanged handler. Enable HTML-mode for the tooltip with {api:anychart.core.ui.Tooltip#useHtml}tooltip.useHtml(true){api} to work with onContentChanged(). The method informs that the content has been changed. The onContentChanged() method is called only if the {api:anychart.core.ui.Tooltip#onBeforeContentChange}onBeforeContentChange(){api} method returns true. See the structure of HTML-tooltip elements in the {api:anychart.core.ui.Tooltip#useHtml}useHtml() method{api}.
-
onDomReady
void onDomReady()
Getter for the onDomReady handler.
-
onDomReady
Tooltip onDomReady(String handler)
Setter for the onDomReady handler. Enable HTML-mode for the tooltip with {api:anychart.core.ui.Tooltip#useHtml}tooltip.useHtml(true){api} to work with onDomReady(). The handler set from the onDomReady() method is called once when all elements of the HTML-tooltip have been created. The handler set from the onDomReady() method is called for each tooltip on the chart. Setting the onDomReady() handler to a chart calls a handler for each tooltip on the chart (for example, several tooltips for separated mode). See the structure of HTML-tooltip elements in the {api:anychart.core.ui.Tooltip#useHtml}useHtml() method{api}.
-
onTitleChanged
void onTitleChanged()
Getter for the onTitleChanged handler.
-
onTitleChanged
Tooltip onTitleChanged(String handler)
Setter for the onTitleChanged handler. Enable HTML-mode for the tooltip with {api:anychart.core.ui.Tooltip#useHtml}tooltip.useHtml(true){api} to work with onTitleChanged(). The method informs that the title has been changed. The onTitleChanged() method is called only if the {api:anychart.core.ui.Tooltip#onBeforeTitleChange}onBeforeTitleChange(){api} method returns true. See the structure of HTML-tooltip elements in the {api:anychart.core.ui.Tooltip#useHtml}useHtml() method{api}.
-
padding
Tooltip padding(Array<Number> padding)
Setter for the tooltip padding in pixels by one value.
-
padding
Tooltip padding(Array<String> padding)
Setter for the tooltip padding in pixels by one value.
-
padding
Tooltip padding(String value1, String value2, String value3, String value4)
Setter for the tooltip padding in pixels.
-
padding
Tooltip padding(String value1, String value2, String value3, Number value4)
Setter for the tooltip padding in pixels.
-
padding
Tooltip padding(String value1, String value2, Number value3, String value4)
Setter for the tooltip padding in pixels.
-
padding
Tooltip padding(String value1, String value2, Number value3, Number value4)
Setter for the tooltip padding in pixels.
-
padding
Tooltip padding(String value1, Number value2, String value3, String value4)
Setter for the tooltip padding in pixels.
-
padding
Tooltip padding(String value1, Number value2, String value3, Number value4)
Setter for the tooltip padding in pixels.
-
padding
Tooltip padding(String value1, Number value2, Number value3, String value4)
Setter for the tooltip padding in pixels.
-
padding
Tooltip padding(String value1, Number value2, Number value3, Number value4)
Setter for the tooltip padding in pixels.
-
padding
Tooltip padding(Number value1, String value2, String value3, String value4)
Setter for the tooltip padding in pixels.
-
padding
Tooltip padding(Number value1, String value2, String value3, Number value4)
Setter for the tooltip padding in pixels.
-
padding
Tooltip padding(Number value1, String value2, Number value3, String value4)
Setter for the tooltip padding in pixels.
-
padding
Tooltip padding(Number value1, String value2, Number value3, Number value4)
Setter for the tooltip padding in pixels.
-
padding
Tooltip padding(Number value1, Number value2, String value3, String value4)
Setter for the tooltip padding in pixels.
-
padding
Tooltip padding(Number value1, Number value2, String value3, Number value4)
Setter for the tooltip padding in pixels.
-
padding
Tooltip padding(Number value1, Number value2, Number value3, String value4)
Setter for the tooltip padding in pixels.
-
padding
Tooltip padding(Number value1, Number value2, Number value3, Number value4)
Setter for the tooltip padding in pixels.
-
position
void position()
Getter for the union tooltip position.
-
position
Tooltip position(Position position)
Setter for the union tooltip position.Note: Do not works with position mode FLOAT.
-
position
Tooltip position(String position)
Setter for the union tooltip position.Note: Do not works with position mode FLOAT.
-
positionMode
void positionMode()
Getter for all tooltips position mode.
-
positionMode
Tooltip positionMode(TooltipPositionMode mode)
Setter for all tooltips position mode.
-
positionMode
Tooltip positionMode(String mode)
Setter for all tooltips position 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.
-
selectable
void selectable()
Getter for the text selectable option.
-
selectable
Tooltip selectable(Boolean enabled)
Setter for the text selectable option.
-
textDirection
void textDirection()
Getter for the text direction settings.
-
textDirection
Tooltip textDirection(String value)
Setter for text direction settings.
-
textDirection
Tooltip textDirection(Direction value)
Setter for text direction settings.
-
textIndent
void textIndent()
Getter for text-indent settings.
-
textIndent
Tooltip textIndent(Number indent)
Setter for text-indent settings.
-
textOverflow
void textOverflow()
Getter for text overflow settings.
-
textOverflow
Tooltip textOverflow(TextOverflow value)
Setter for text overflow settings.
-
textOverflow
Tooltip textOverflow(String value)
Setter for text overflow settings.
-
textSettings
void textSettings()
Getter for the full text appearance settings.
-
textSettings
Tooltip textSettings(String settings)
Setter for the full text appearance settings.
-
textSettings
Tooltip textSettings(String name, String value)
Setter for the custom text appearance settings.
-
textSettings
Tooltip textSettings(String name, Number value)
Setter for the custom text appearance settings.
-
textSettings
Tooltip textSettings(String name, Boolean value)
Setter for the custom text appearance settings.
-
titleFormat
void titleFormat()
Getter for the function to format title.
-
titleFormat
Tooltip titleFormat(String format)
Setter for the function to format title.Note: Use title method to set title visual settings.
-
unionFormat
void unionFormat()
Getter for the function content text for union tooltip.
-
unionFormat
Tooltip unionFormat(String unionFormat)
Setter for the function content text for union tooltip. {docs:Common_Settings/Text_Formatters}Learn more about using unionFormat() method.{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().
-
useHtml
void useHtml()
Getter for the useHTML flag.
-
useHtml
Tooltip useHtml(Boolean enabled)
Setter for the HTML tooltip mode. {docs:Common_Settings/Tooltip#html}Learn more about HTML tooltip{docs} When the HTML tooltip mode is set to true AnyChart Component installs default tooltip CSS classes. Override the CSS class of the tooltip to customize the tooltip visually. {docs:Common_Settings/Tooltip#css_classes}Learn more about CSS Classes{docs} HTML-tooltip has the following DOM structure:
The HTML text obtained from {api:anychart.core.ui.Tooltip#format}tooltip.format(){api} is rendered to the contentElement. The HTML text obtained from {api:anychart.core.ui.Tooltip#titleFormat}tooltip.titleFormat(){api} is rendered to the tltleElement.<div class="anychart-tooltip"> // The basic HTML-element. The parent DIV of the entire element. <div class="anychart-tooltip-title"></div> // The title element. <hr noshade="true" class="anychart-tooltip-separator"> // The tooltip separator element. <div></div> // The content element. </div>
-
vAlign
void vAlign()
Getter for text vertical align settings.
-
valuePostfix
void valuePostfix()
Getter for tooltip postfix value.
-
valuePostfix
Tooltip valuePostfix(String value)
Setter for tooltip postfix value.
-
valuePrefix
void valuePrefix()
Getter for tooltip prefix value.
-
valuePrefix
Tooltip valuePrefix(String value)
Setter for tooltip prefix value.
-
width
void width()
Getter for the tooltip 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
Tooltip 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
Tooltip 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
Tooltip 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.
-
-
-
-