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

Drawing min mix median lines #3017

Closed
tykayoshi opened this issue Nov 17, 2017 · 1 comment
Closed

Drawing min mix median lines #3017

tykayoshi opened this issue Nov 17, 2017 · 1 comment

Comments

@tykayoshi
Copy link

Is it possible to draw lines showing the min max and median value in a line graph?

An example of what i'm looking for look like this

screen shot 2017-11-17 at 11 27 39

@tykayoshi
Copy link
Author

The answer was to use limit lines

    // Top Limit Line
    let topValue = ChartLimitLine(limit: 1.1923, label: "")
    topValue.lineColor = UIColor(red: 178/255, green: 223/255, blue: 219/255, alpha: 1)
    topValue.lineWidth = 2.0
    <chartName>.rightAxis.addLimitLine(topValue)

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

1 participant