MPAndroidChart icon indicating copy to clipboard operation
MPAndroidChart copied to clipboard

Fix issue #4214

Open deividasstr opened this issue 6 years ago • 2 comments

setting xAxis label count with data set changes results in old dataset values passed to formatter

PR Checklist:

  • [ x] I have tested this extensively and it does not break any existing behavior.
  • [ ] I have added/updated examples and tests for any new behavior.
  • [ ] If this is a significant change, an issue has already been created where the problem / solution was discussed: [N/A, or add link to issue here]

PR Description

Not always recreating entries array caused this bug.

It only removes if (mAxis.mEntries.length < n) { check, always recreates the array

Because it fixes the unwanted behavior.

deividasstr avatar Sep 04 '18 09:09 deividasstr

Why's no-one merging this?

damiafuentes avatar Nov 30 '22 19:11 damiafuentes

Because it's a dead repo. I at least helped myself and merged a lot of open pull requests https://github.com/AppDevNext/MPAndroidChart/pull/70

https://github.com/AppDevNext/MPAndroidChart/releases/tag/3.1.0.11

hannesa2 avatar Nov 30 '22 19:11 hannesa2