-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Stop axis labels duplicating. #315 [Pending squash and cleanup] #640
Conversation
adding MaximumScaleX
* 'master' of https://github.com/noais/ios-charts: adding MaximumScaleX Repeated line removed from example
* commit 'bf7d7ff729c417b414059933c8b44b877e365743': Update README.md be explicit on how to install 'Charts' when using CocoaPods since there is another Pod called 'ios-charts'
there is another Pod called 'ios-charts'
adding MaximumScaleX
# By Daniel Cohen Gindi (1) and david ferreira (1) # Via david ferreira * 'master' of https://github.com/noais/ios-charts: Bug fix setMaximumScaleY should be setMaximumScaleX Update README.md
* commit '3f88894f31683888862cf14312db74b05c1a0101': (84 commits) Bar chart tests Make getBarBounds callable from Objective-C code (Fixes #570) round the float value before we cast to Int Update README.md Bumped to 2.1.6 Fixed possible out-of-bounds exception when no ranges are present fix Scroll issue when the graph is in a UITableView Fixed (again...) the highlight vs. drag issue (Closes #520, closes #521) Update README.md Updated test snapshots for latest x-axis label offset changes A comment on how to record in tests Removed extraneous "y" (#512) Carthage folders should be ignored Implemented support for rotated labels on the x-axis Support for customizing description text position (Fixed #512) Match code styling to new-line brackets Adds test support without cocoapods Fixed conditions for hasNoDragOffset (Fixes #499, fixes #498) update targets to build framework with same name Fixed drag offset panning bug ...
@@ -70,6 +70,9 @@ public class ChartYAxisRenderer: ChartAxisRendererBase | |||
|
|||
let rawInterval = range / Double(labelCount) | |||
var interval = ChartUtils.roundToNextSignificant(number: Double(rawInterval)) | |||
if(!_yAxis.allowRepeatedValues){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please match the code styling of the library
Friend, all of this should be in a single commit, there's too much noise. Please squash it :-) |
@danielgindi I made the changes you ask,
In the source tree is:
|
I think you can click on "Merge pull request #605 from skywinder/add-change-log-file" from your screen shot to rebase/squash interactively using sourceTree. Just create a test project to pratice some. copy-past code sometimes will have unexpected errors. If you are using SourceTree, you could right click the latest commit, Rebase, and let it rebase the code on the latest commit. |
The problem was my master wasn't synchronised with the origin. |
No description provided.