Skip to content

Update ChartData.swift#4822

Merged
pmairoldi merged 2 commits intoChartsOrg:masterfrom
truongtho1603:fix/crash-maxEntryCountSet
May 25, 2022
Merged

Update ChartData.swift#4822
pmairoldi merged 2 commits intoChartsOrg:masterfrom
truongtho1603:fix/crash-maxEntryCountSet

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