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

Duplicate Y-axis values while pitching the graph moving up #3475

Closed
gopikrishnacse55 opened this issue May 31, 2018 · 2 comments
Closed

Duplicate Y-axis values while pitching the graph moving up #3475

gopikrishnacse55 opened this issue May 31, 2018 · 2 comments

Comments

@gopikrishnacse55
Copy link

Hi,
Graph showed duplicate y-axis values while pitching the graph moving up.Please resolve this issue.
I am attached the screenshot of the given scenario.
simulator screen shot - iphone 5s - 2018-05-31 at 09 58 55

@liuxuan30
Copy link
Member

seems you don't specify granularity.

@liuxuan30
Copy link
Member

please read

    /// When true, axis labels are controlled by the `granularity` property.
    /// When false, axis values could possibly be repeated.
    /// This could happen if two adjacent axis values are rounded to same value.
    /// If using granularity this could be avoided by having fewer axis values visible.
    @objc open var granularityEnabled = false
    /// The minimum interval between axis values.
    /// This can be used to avoid label duplicating when zooming in.
    ///
    /// **default**: 1.0
    @objc open var granularity: Double

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants