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

Left inset & a option to hide highlight line when touched #83

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

IeuanTudurPeace
Copy link

No description provided.

@IeuanTudurPeace IeuanTudurPeace changed the title Improvements Left inset & a option to hide highlight line when touched Nov 16, 2017
Copy link
Owner

@gpbl gpbl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi thanks a lot for your pull request. It's OK to add a leftInset, could you provide a screenshot showing with the intended result?
Also, to merge the PR I need you to remove the part related to the highlight line since this feature has been already added with #79

Thanks!



/**
Height of the area at the left of the chart, acting a padding to make place for the left x-axis label.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uhm is it height or width ? :)

context.strokePath()


if leftInset < 20 {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this this magic number?

@IeuanTudurPeace
Copy link
Author

Hi @gpbl, sorry for the delay.

I have also made changes to fix the issues raised and remove the part related to the highlight. Let me know what you think. I'm happy to make more changes if you think it is needed 😊.

Yes here is a screen shot of the intended result:
screen shot 2018-01-20 at 15 34 42

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.

None yet

2 participants