跳到主要内容

tooltip_offset_x

Description

当设置为正值时,调整tooltip水平偏移量,使其向右移动

tooltip_offset_x: number

Example

gantt.config.tooltip_offset_x = 30;

gantt.init("gantt_here");

Default value: 10

Details

注释

此选项属于tooltip扩展,因此请确保已启用tooltip插件。更多详情请参见Gantt 元素的工具提示文章。