public final class DefaultChartTooltips extends Object implements IsDefaultTooltips
| Constructor and Description |
|---|
DefaultChartTooltips(IsDefaultTooltips tooltip)
Creates the object by tooltip option element instance.
|
| Modifier and Type | Method and Description |
|---|---|
IsDefaultAnimation |
getAnimation()
Returns the animation element.
|
IsDefaultAnimations |
getAnimations()
Returns the animations collection element.
|
String |
getBackgroundColorAsString()
Returns the background color of the tooltip.
|
TextAlign |
getBodyAlign()
Returns the body alignment.
|
String |
getBodyColorAsString()
Returns the body font color as string.
|
IsDefaultFont |
getBodyFont()
Returns the body line font.
|
int |
getBodySpacing()
Returns the spacing to add to top and bottom of each tooltip item.
|
String |
getBorderColorAsString()
Returns the color of the border.
|
int |
getBorderWidth()
Returns the size of the border.
|
int |
getBoxHeight()
Returns the height of colored box.
|
int |
getBoxWidth()
Returns the width of colored box.
|
int |
getCaretPadding()
Returns the extra distance to move the end of the tooltip arrow away from the tooltip point.
|
int |
getCaretSize()
Returns the size, in px, of the tooltip arrow.
|
int |
getCornerRadius()
Returns the radius of tooltip corner curves.
|
Set<Event> |
getEvents()
Returns the browser events that the tooltip should listen to.
|
TextAlign |
getFooterAlign()
Returns the footer alignment.
|
String |
getFooterColorAsString()
Returns the footer font color as string.
|
IsDefaultFont |
getFooterFont()
Returns the footer font.
|
int |
getFooterMarginTop()
Returns the margin to add before drawing the footer.
|
int |
getFooterSpacing()
Returns the spacing to add to top and bottom of each footer line.
|
InteractionMode |
getMode()
Returns which elements appear in the tooltip.
|
String |
getMultiKeyBackgroundAsString()
Returns the color to draw behind the colored boxes when multiple items are in the tooltip.
|
IsDefaultPadding |
getPadding()
Returns padding object defaults.
|
IsTooltipPosition |
getPosition()
Returns the mode for positioning the tooltip.
|
TextDirection |
getTextDirection()
Returns the text direction that will force on the canvas for rendering the object, regardless of the CSS specified on the canvas.
|
TextAlign |
getTitleAlign()
Returns the title alignment.
|
String |
getTitleColorAsString()
Returns the title font color as string.
|
IsDefaultFont |
getTitleFont()
Returns the title font.
|
int |
getTitleMarginBottom()
Returns the margin to add on bottom of title section.
|
int |
getTitleSpacing()
Returns the spacing to add to top and bottom of each title line.
|
IsDefaultTransitions |
getTransitions()
Returns the animation transition element.
|
TooltipAlign |
getXAlign()
Returns the alignment of the tooltip caret in the X direction.
|
TooltipAlign |
getYAlign()
Returns the alignment of the tooltip caret in the Y direction.
|
boolean |
isDisplayColors()
If true, color boxes are shown in the tooltip.
|
boolean |
isEnabled()
Returns if tooltips are enabled.
|
boolean |
isIntersect()
if true, the tooltip mode applies only when the mouse position intersects with an element.
|
boolean |
isRtl()
Returns
true for rendering the object from right to left. |
boolean |
isUsePointStyle()
Returns if to use the corresponding point style (from data set options) instead of color boxes (size is based on the minimum value between boxWidth and boxHeight).
|
public DefaultChartTooltips(IsDefaultTooltips tooltip)
tooltip - tooltip option element instance.public IsDefaultTransitions getTransitions()
IsDefaultAnimationContainergetTransitions in interface IsDefaultAnimationContainerpublic IsDefaultAnimation getAnimation()
IsDefaultAnimationTransitiongetAnimation in interface IsDefaultAnimationTransitionpublic IsDefaultAnimations getAnimations()
IsDefaultAnimationTransitiongetAnimations in interface IsDefaultAnimationTransitionpublic IsDefaultPadding getPadding()
IsDefaultTooltipsgetPadding in interface IsDefaultTooltipspublic boolean isEnabled()
IsDefaultTooltipsisEnabled in interface IsDefaultTooltipspublic Set<Event> getEvents()
IsDefaultTooltipsgetEvents in interface IsDefaultTooltipspublic InteractionMode getMode()
IsDefaultTooltipsgetMode in interface IsDefaultTooltipspublic boolean isIntersect()
IsDefaultTooltipsisIntersect in interface IsDefaultTooltipspublic IsTooltipPosition getPosition()
IsDefaultTooltipsgetPosition in interface IsDefaultTooltipspublic String getBackgroundColorAsString()
IsDefaultTooltipsgetBackgroundColorAsString in interface IsDefaultTooltipspublic IsDefaultFont getTitleFont()
IsDefaultTooltipsgetTitleFont in interface IsDefaultTooltipspublic String getTitleColorAsString()
IsDefaultTooltipsgetTitleColorAsString in interface IsDefaultTooltipspublic TextAlign getTitleAlign()
IsDefaultTooltipsgetTitleAlign in interface IsDefaultTooltipspublic int getTitleSpacing()
IsDefaultTooltipsgetTitleSpacing in interface IsDefaultTooltipspublic int getTitleMarginBottom()
IsDefaultTooltipsgetTitleMarginBottom in interface IsDefaultTooltipspublic IsDefaultFont getBodyFont()
IsDefaultTooltipsgetBodyFont in interface IsDefaultTooltipspublic String getBodyColorAsString()
IsDefaultTooltipsgetBodyColorAsString in interface IsDefaultTooltipspublic TextAlign getBodyAlign()
IsDefaultTooltipsgetBodyAlign in interface IsDefaultTooltipspublic int getBodySpacing()
IsDefaultTooltipsgetBodySpacing in interface IsDefaultTooltipspublic IsDefaultFont getFooterFont()
IsDefaultTooltipsgetFooterFont in interface IsDefaultTooltipspublic String getFooterColorAsString()
IsDefaultTooltipsgetFooterColorAsString in interface IsDefaultTooltipspublic TextAlign getFooterAlign()
IsDefaultTooltipsgetFooterAlign in interface IsDefaultTooltipspublic int getFooterSpacing()
IsDefaultTooltipsgetFooterSpacing in interface IsDefaultTooltipspublic int getFooterMarginTop()
IsDefaultTooltipsgetFooterMarginTop in interface IsDefaultTooltipspublic int getCaretPadding()
IsDefaultTooltipsgetCaretPadding in interface IsDefaultTooltipspublic int getCaretSize()
IsDefaultTooltipsgetCaretSize in interface IsDefaultTooltipspublic int getCornerRadius()
IsDefaultTooltipsgetCornerRadius in interface IsDefaultTooltipspublic String getMultiKeyBackgroundAsString()
IsDefaultTooltipsgetMultiKeyBackgroundAsString in interface IsDefaultTooltipspublic boolean isDisplayColors()
IsDefaultTooltipsisDisplayColors in interface IsDefaultTooltipspublic String getBorderColorAsString()
IsDefaultTooltipsgetBorderColorAsString in interface IsDefaultTooltipspublic int getBorderWidth()
IsDefaultTooltipsgetBorderWidth in interface IsDefaultTooltipspublic boolean isRtl()
IsDefaultTextDirectionHandlertrue for rendering the object from right to left.isRtl in interface IsDefaultTextDirectionHandlertrue for rendering the object from right to left.public TextDirection getTextDirection()
IsDefaultTextDirectionHandlergetTextDirection in interface IsDefaultTextDirectionHandlerpublic int getBoxWidth()
IsDefaultBoxHandlergetBoxWidth in interface IsDefaultBoxHandlerpublic int getBoxHeight()
IsDefaultBoxHandlergetBoxHeight in interface IsDefaultBoxHandlerpublic boolean isUsePointStyle()
IsDefaultTooltipsisUsePointStyle in interface IsDefaultTooltipstrue if to use the corresponding point style (from data set options) instead of color boxes (size is based on the minimum value between boxWidth and
boxHeight)public TooltipAlign getXAlign()
IsDefaultTooltipsgetXAlign in interface IsDefaultTooltipspublic TooltipAlign getYAlign()
IsDefaultTooltipsgetYAlign in interface IsDefaultTooltips