way to add space between track line and tooltip?

Hi, 

I'm working with StackedColumnSeries trackball.

I have a chart that uses trackball to show the tooltip, using tooltipDisplayMode: TrackballDisplayMode.groupAllPoints. Everything works fine, but one thing I noticed was that since there is a little spacing between the track line and tooltip, the user's finger would block viewing the tooltip. 

Here is my trackballBehavior part:


trackballBehavior: TrackballBehavior(
activationMode: ActivationMode.singleTap,
tooltipDisplayMode: TrackballDisplayMode.groupAllPoints,
enable: true,
lineColor: Colors.black,
lineDashArray: [5, 5],
tooltipSettings: InteractiveTooltip(
enable: true,
format: 'point.y',
),
),

Is there a future plan to add option for spacing or already a way to add spacing between the track line and the tooltip?


Thanks.


3 Replies 1 reply marked as answer

DP Dharanitharan Palanisamy Syncfusion Team July 1, 2021 06:06 AM UTC

Hi Jaehwi, 
 
Greetings from the team at Syncfusion. We have investigated your request and like to tell you that the best way to locate the group mode trackball tooltip is to use the tooltipAlignment attribute of trackballBehavior. We hope this information helps resolve your problem. We would also want to point out that there is currently no property to specify the custom spacing between the trackball and the track line, as it is determined by internal calculations. To know more about this, refer to the help document below. Please revert us if you need any further assistance on this.  
 
 
Thanks, 
Dharanitharan. P 



JK Jaehwi Kim replied to Dharanitharan Palanisamy July 5, 2021 04:06 AM UTC

thanks for the quick answer.

it seems like tooltipAlignment is used to determine where the tooltip would be placed (either left or right), rather than how far away the tooltip would be.

if there is no property for spacing between the trackball and the track line, would I be able to use builder property to customize the tooltip (eg. setting margin) to set the distance between them?



DP Dharanitharan Palanisamy Syncfusion Team July 7, 2021 03:57 AM UTC

Hi Jaehwi,


Most welcome and as said in the previous update, there is no property to specify the space between the trackball and tooltip. Since you are using the group mode, can use the margin widget to add space between the track line and tooltip with the help of the builder property.


Please revert us if you need any further assistance on this.


Thanks,

Dharanitharan. P



Marked as answer
Loader.
Up arrow icon