RangeTooltipModel

23 Sep 20251 minute to read

Interface for a class RangeTooltip

Properties

border BorderModel

Sets and gets the options to customize the border for range tooltip.

enableAnimation boolean

Enables or disables the animation for the range tooltip when moved from one place to another.

fill string

Sets and gets the fill color of the range tooltip, which accepts the value in hex code, rgba string as a valid CSS color string.

format string

Sets and gets the format for the tooltip content of the range. Use “{start}” and “{end}” as a placeholder
text to display the corresponding start and end value of the range in the tooltip.

position TooltipPosition

Sets and gets the position type to place the tooltip in the axis .

showAtMousePosition boolean

Enables and disables to show the tooltip of the range at mouse position. When set as false which is the default value, the tooltip will be displayed over the axis line.

template string|Function

Sets and gets the custom template to format the tooltip content.

textStyle FontModel

Sets and gets the options to customize the tooltip text of range in axis.