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

Custom threshold for positive/negative data display #45

Merged
merged 1 commit into from
Nov 14, 2016

Conversation

algrid
Copy link
Contributor

@algrid algrid commented Nov 14, 2016

Introduces feature requested in #43
The threshold can be set by changing chartSeries.colors.zeroLevel value.

Looks like this:
screen shot 2016-11-14 at 10 54 20 pm
with one of sample chart series and

series.colors.zeroLevel = -1.5

@gpbl
Copy link
Owner

gpbl commented Nov 14, 2016

Wow thanks a lot @algrid!

@9SL9
Copy link

9SL9 commented Nov 14, 2016

This looks fantastic..thanks @algrid and @gpbl

@fadylateef
Copy link

fadylateef commented Jan 30, 2017

Cannot use it now with swift 3 ?!!
screen shot 2017-01-30 at 11 55 04 am

@algrid
Copy link
Contributor Author

algrid commented Feb 1, 2017

@fadylateef Did you update to the latest version? The colors property has now 'open' access level.

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

Successfully merging this pull request may close these issues.

4 participants