We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Overrode Default Axis Formatter
class InvertedAxisFormatter: DefaultAxisValueFormatter { @objc override func stringForValue(_ value: Double, axis: AxisBase?) -> String { return super.stringForValue(value.isAlmostZero() ? 0 : -value, axis: axis) } }
My method gets called.
The getter for the base formatter checks if the decimals match and replaces my formatter.
Charts version/Branch/Commit Number: 7ac4a05 Xcode version: 11.3.1 Swift version: 5.0 Platform(s) running Charts: iOS macOS version running Xcode: 10.15.4
The text was updated successfully, but these errors were encountered:
ff7a2fc
Merge pull request #4366 from giantramen/master
8c97cb1
Fix AxisBase Formatter Getter (Fixes #4365)
Fix AxisBase Formatter Getter (Fixes ChartsOrg#4365)
abcc049
Fixes issue where if you overrode the formatter it didn't matter because a new one would just replace it.
Merge pull request ChartsOrg#4366 from giantramen/master
71e2492
e36e90a
No branches or pull requests
What did you do?
Overrode Default Axis Formatter
What did you expect to happen?
My method gets called.
What happened instead?
The getter for the base formatter checks if the decimals match and replaces my formatter.
Charts Environment
Charts version/Branch/Commit Number: 7ac4a05
Xcode version: 11.3.1
Swift version: 5.0
Platform(s) running Charts: iOS
macOS version running Xcode: 10.15.4
The text was updated successfully, but these errors were encountered: