-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot remove pie chart entries on Android #3262
Comments
Hello @ewpatton, |
Do you have the app loaded on the Companion, either on a physical device or emulator? Do It requires access to the Companion to work. |
Hello everyone, I wanted to provide additional clarification and confirm the steps I followed: I replicated the issue using the latest version of the Companion on an Android device. Update the ChartData2D.RemoveEntry logic to correctly distinguish between numeric values and string labels. Thank you! |
@ShreyashN16 That sounds roughly correct but in theory people may still want to be able to use numeric labels, they will just have to be converted to strings first. |
@ewpatton int numericLabel = 123;
String label = Integer.toString(numericLabel;
// Add the label to the chart This approach maintains flexibility while conforming to the current requirements. It might also be worth considering an enhancement where the system internally handles such conversions for better usability. |
Describe the bug
Affects
Expected behavior
Trying to remove an existing entry in the pie chart gives the following error:
Steps to reproduce
The text was updated successfully, but these errors were encountered: