Closed btrautmann closed 1 week ago
Hi @btrautmann,
We can replicate the reported issue regarding the trackball display mode as groupAllPoints with empty points. This issue is scheduled to be fixed in our upcoming weekly release which is scheduled on April 30, 2024. We will update you here once the release is rolled out and we appreciate your patience until then.
Regards,
Preethika Selvam.
Hi @btrautmann,
We would like to let you know that the reported issue is fixed and rolled out in our patch release. We kindly request you to upgrade the syncfusion_flutter_charts package to the latest version below.
Version: https://pub.dev/packages/syncfusion_flutter_charts/versions/25.1.41+1
Root cause: Missed to ensure the length of the trackball info list before getting list of index value.
If you have any further queries, please feel free to reach out to us.
Regards, Lokesh P.
Thanks @LokeshPalani, I'm confirming that this did fix the issue.
Hi @btrautmann,
Most Welcome. Kindly get back to us if you have further queries. We are always happy to assist you.
Regards, Lokesh P.
Bug description
When dragging finger across chart while using
trackballBehavior
the following is thrown:See below for full stacktrace.
Steps to reproduce
trackballBehavior
. Note that the issue seems to be specific to usingTrackballDisplayMode.groupAllPoints
.Code sample
https://github.com/btrautmann/syncfusion_charts_repros has a reproduction case on
main
.Is uses version 25.1.40.
Screenshots or Video
Screenshots / Video demonstration
https://github.com/syncfusion/flutter-widgets/assets/8343465/aac2c0ce-d86b-49ac-b31e-f519ccdc7afdStack Traces
Stack Traces
```dart The following RangeError was thrown while dispatching a pointer event: RangeError (index): Invalid value: Valid value range is empty: 0 When the exception was thrown, this was the stack: #0 List.[] (dart:core-patch/growable_array.dart:264:36) growable_array.dart:264 #1 SfCartesianChartState._buildTrackballWidget.On which target platforms have you observed this bug?
Android, iOS
Flutter Doctor output
Doctor output
```console [✓] Flutter (Channel stable, 3.19.3, on macOS 14.4.1 23E224 darwin-arm64, locale en-US) • Flutter version 3.19.3 on channel stable at /Users/brandontrautmann/fvm/versions/3.19.3 • Upstream repository https://github.com/flutter/flutter.git • Framework revision ba39319843 (6 weeks ago), 2024-03-07 15:22:21 -0600 • Engine revision 2e4ba9c6fb • Dart version 3.3.1 • DevTools version 2.31.1 [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/brandontrautmann/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • ANDROID_HOME = /Users/brandontrautmann/Library/Android/sdk • ANDROID_SDK_ROOT = /Users/brandontrautmann/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874) • 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.14.3 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2023.2) • 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.9+0-17.0.9b1087.7-11185874) [✓] IntelliJ IDEA Community Edition (version 2023.2.6) • IntelliJ at /Applications/IntelliJ IDEA CE.app • 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 [✓] 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) • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 14 (API 34) (emulator) • iPhone 15 Plus (mobile) • B4AF1ED9-73A2-4B6E-A3CB-D472DB8F8D99 • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-4 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 14.4.1 23E224 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 123.0.6312.124 ! Error: Browsing on the local area network for Brandon Trautmann’s iPad. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac. The device must be opted into Developer Mode to connect wirelessly. (code -27) [✓] Network resources • All expected network resources are available. • No issues found! ```