Working with Graphic Elements > Classes > LegendToolTip > LegendToolTip.setMargin
setMargin(value: PP.Thickness);
value - Tooltip item margin.
The setMargin method sets tooltip item margins.
The example of use is given on the page with description of the SpectrumLegend.showToolTip method.
See also: