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.
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?
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