Open shatanikmahanty opened 1 week ago
I've got the same problem.And i found when series property length is 1,the problem is no more continue. anyone find solution?
Hi @PlusWong | @shatanikmahanty,
The reported issue is scheduled to be fixed in our upcoming weekly release which is scheduled on May 21, 2024. We have also shared root cause for your reference below. Thank you for your understanding and patience in the meantime.
Root cause: Tooltip was raised from both hover and tap callbacks, so it shows two times while having multiple series with same x and y position.
Regards, Lokesh P.
Bug description
It happened for me on latest flutter stable channel. I tried syncfusion charts version from 25.1.39 up to the latest.
Overlapping line charts causes the tooltip to show up twice. I've also tried
TooltipBehavior( enable: true, shared: true, )
. But even using shared causes the same issue.Although using
ActivationMode.doubleTap or ActivationMode.longPress
fixes thisSteps to reproduce
Code sample
Code sample
```dart SfCartesianChart _buildDefaultLineChart(GrowthGraphBloc ggb) { return SfCartesianChart( plotAreaBorderWidth: 0, title: const ChartTitle(text: 'Growth Per Month', textStyle: TextStyle(color: Colors.white)), zoomPanBehavior: ZoomPanBehavior( enablePanning: true, ), legend: const Legend(isVisible: true, position: LegendPosition.top, textStyle: TextStyle(color: Colors.white)), primaryXAxis: const CategoryAxis( labelRotation: 45, interval: 1, labelStyle: TextStyle( color: Colors.white, fontSize: 12, ), majorGridLines: MajorGridLines(width: 0)), primaryYAxis: const NumericAxis( axisLine: AxisLine(width: 0), interval: 25, labelStyle: TextStyle(color: Colors.white, fontSize: 13), majorTickLines: MajorTickLines(color: Colors.transparent)), series: _getDefaultLineSeries(ggb), tooltipBehavior: TooltipBehavior( enable: true, ), ); } ListScreenshots or Video
Screenshots / Video demonstration
https://github.com/syncfusion/flutter-widgets/assets/67138059/d972e374-992c-41a1-9fed-6b301a552475Stack Traces
Stack Traces
No errors or Stack Traces were generatedOn which target platforms have you observed this bug?
Android
Flutter Doctor output
Doctor output
```console Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 3.19.6, on Microsoft Windows [Version 10.0.22631.3447], locale en-IN) [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [√] Chrome - develop for the web [√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.6) [√] Android Studio (version 2023.3) [√] VS Code (version 1.89.0) [√] Connected device (4 available) [√] Network resources • No issues found! ```