Skip to content
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

Update ChartData.swift #4822

Merged
merged 2 commits into from
May 25, 2022

Conversation

truongtho1603
Copy link

Fix the wrong implementation of max function

Issue Link πŸ”—

#4821

Goals ⚽

Fix the wrong implementation

Implementation Details 🚧

In order to find the data set with max entry, we should sort ascending by ( $0.entryCount < $1.entryCount }.

Testing Details πŸ”

testMaxEntryCountSet

Tho Do added 2 commits May 13, 2022 14:46
Fix the wrong implementation of max function
@pmairoldi pmairoldi added the bug label May 25, 2022
Copy link
Collaborator

@pmairoldi pmairoldi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great. Thanks!

@pmairoldi pmairoldi merged commit d2ae284 into ChartsOrg:master May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants