Closed DominicOrga closed 2 weeks ago
Hi @DominicOrga,
The reported issue is already fixed, and the fix published in the below version. Therefore, we kindly request that you upgrade the syncfusion_flutter_charts package to the latest version below to avoid this issue.
Version: https://pub.dev/packages/syncfusion_flutter_charts/versions/25.1.41+1
Root cause: Series visibility is missed to consider while getting the tooltip value.
If you have any further queries, please feel free to reach out to us.
Regards, Preethika Selvam.
I can confirm that this is now fixed. Thanks!
Bug description
When a tooltip is shown on series B, then decide to hide that series, attempting to show the tooltip of series A gets overlapped by a "ghost" tooltip from series B.
Steps to reproduce
Code sample
Code sample
```dart SfCartesianChart( onActualRangeChanged: (args) => onActualRangeChanged(context: context, args: args), zoomPanBehavior: zoomPanBehavior(), primaryXAxis: primaryXAxis(chartRange: selectedChartRange), tooltipBehavior: tooltipBehavior(context: context, chartRange: selectedChartRange), legend: legend(chartRangeDataSeriesList: chartRangeDataSeriesList), series: chartRangeDataSeriesList.mapIndexed( (index, dataSeries) { return ColumnSeriesScreenshots or Video
https://github.com/syncfusion/flutter-widgets/assets/12520299/5ba0be99-bbbc-4c48-a444-e780910071b2
Stack Traces
No exception thrown.
On which target platforms have you observed this bug?
Android
Flutter Doctor output
Doctor output
```console [✓] Flutter (Channel stable, 3.19.5, on macOS 14.3.1 23D60 darwin-arm64, locale en-PH) • Flutter version 3.19.5 on channel stable at /Users/test/fvm/versions/3.19.5 • Upstream repository https://github.com/flutter/flutter.git • Framework revision 300451adae (3 weeks ago), 2024-03-27 21:54:07 -0500 • Engine revision e76c956498 • Dart version 3.3.3 • DevTools version 2.31.1 [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/test/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • ANDROID_HOME = /Users/test/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 15.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15E204a • CocoaPods version 1.15.0 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2022.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231) [✓] VS Code (version 1.88.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.86.0 [✓] Connected device (4 available) • Pixel 8 (mobile) • 3B031FDJH005H1 • android-arm64 • Android 14 (API 34) • iPhone 13 mini (mobile) • 00008110-00046C3411B8801E • ios • iOS 17.4.1 21E236 • macOS (desktop) • macos • darwin-arm64 • macOS 14.3.1 23D60 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 123.0.6312.124 [✓] Network resources • All expected network resources are available. • No issues found!```