Static Functions
Root static functions of SvgTooltip Component
| Name | Parameters | Returns | Description |
|---|---|---|---|
| calculateShapes | location : TooltipLocationsize : Sizeshape : stringoptions : PathOption | Object | Calculates the shape rendering options for a tooltip marker based on shape type. Params: |
| createPathOption | id : stringfill : stringopacity : numberstroke : stringstrokeWidth : numberdashArray : string | null | Creates a PathOption object for path rendering. Params: | |
| createRect | x : numbery : numberwidth : numberheight : number | Creates a Rect object with specified position and dimensions. Params: | |
| createSize | width : numberheight : number | Creates a Size object with specified width and height. Params: | |
| createTooltipLocation | x : numbery : number | Creates a TooltipLocation object with specified coordinates. Params: | |
| findDirection | rX : numberrY : numberrect : RectarrowLocation : TooltipLocationarrowPadding : numbertop : booleanbottom : booleanleft : booleantipX : numbertipY : number | string | Determines the path direction for tooltip rendering based on positioning parameters. Params: |
| getTooltipThemeColor | theme : TooltipTheme | Determines the appropriate theme styles for tooltips based on the specified theme. Params: | |
| measureText | - | Measures the dimensions of text with specified font styles. | |
| withInAreaBounds | - | boolean | Checks if the provided coordinates are within the bounds of the area. |
| calculateShapes | location : TooltipLocationsize : Sizeshape : stringoptions : PathOption | Object | Calculates the shape rendering options for a tooltip marker based on shape type. Params: |
| createPathOption | id : stringfill : stringopacity : numberstroke : stringstrokeWidth : numberdashArray : string | null | Creates a PathOption object for path rendering. Params: | |
| createRect | x : numbery : numberwidth : numberheight : number | Creates a Rect object with specified position and dimensions. Params: | |
| createSize | width : numberheight : number | Creates a Size object with specified width and height. Params: | |
| createTooltipLocation | x : numbery : number | Creates a TooltipLocation object with specified coordinates. Params: | |
| findDirection | rX : numberrY : numberrect : RectarrowLocation : TooltipLocationarrowPadding : numbertop : booleanbottom : booleanleft : booleantipX : numbertipY : number | string | Determines the path direction for tooltip rendering based on positioning parameters. Params: |
| getTooltipThemeColor | theme : TooltipTheme | Determines the appropriate theme styles for tooltips based on the specified theme. Params: | |
| measureText | - | Measures the dimensions of text with specified font styles. | |
| withInAreaBounds | - | boolean | Checks if the provided coordinates are within the bounds of the area. |