Non-overlapping trackball tooltips not working with extra y-axis.

Dear team,

The trackball tooltips (still) overlap each other when TooltipDisplayMode is set to FloatAllPoints and there are more than two axes.

This is a minimal sample that recreates the issue (check screenshot to see the issue in action):

SfCartesianChart(
primaryXAxis: NumericAxis(),
primaryYAxis: NumericAxis(),
axes: <ChartAxis>[
NumericAxis(
name: 'yAxis2',
),
],
// Chart title
title: ChartTitle(text: 'Half yearly sales analysis'),
// Enable trackball
trackballBehavior: TrackballBehavior(
activationMode: ActivationMode.singleTap,
shouldAlwaysShow: true,
enable: true,
),
series: <CartesianSeries>[
LineSeries<_SalesData, double>(
dataSource: data,
xValueMapper: (_SalesData sales, _) => sales.second,
yValueMapper: (_SalesData sales, _) => sales.sales,
name: 'Sales',
),
LineSeries<_SalesData, double>(
dataSource: data,
xValueMapper: (_SalesData sales, _) => sales.second,
yValueMapper: (_SalesData sales, _) => sales.sales + 50,
name: 'Sales2',
color: Colors.red,
),
],
),

Attachment: Simulator_Screen_Shot__iPhone_11_Pro__20210513_at_12.09.36.png_7b9af7ec.zip

3 Replies 1 reply marked as answer

LU Luca May 13, 2021 11:12 AM UTC

small clarification:  sales.sales + 50 should be set to whatever makes the lines close enough for the tooltips to overlap (depending on the data).

Thanks in advance!


DP Dharanitharan Palanisamy Syncfusion Team May 14, 2021 01:49 PM UTC

Hi Luca, 
 
We have looked over your question and the code, and we are happy to inform you that the reported issue has been resolved on our end, and it will be included in the next weekly patch release on May 18th, 2021. We appreciate your patience until then. 
 
Thanks, 
Dharanitharan. P 



DD Dharanidharan Dharmasivam Syncfusion Team May 19, 2021 03:30 PM UTC

Hi Luca, 
 
Thanks for being patience. We are glad to let you know that the reported issue got fixed and the release has been rolled out with the reported bug fix. To resolve the issue, kindly upgrade to the latest version of chart package from below. 
 
Thanks, 
Dharani. 


Marked as answer
Loader.
Up arrow icon