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

Watch domain and range change in Epoch.Time.Plot #181

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BoolLi
Copy link

@BoolLi BoolLi commented Aug 12, 2015

Currently users are not able to change domain and range for a time plot because the variables are not watched. We need to watch option.domain and option.range and call @draw() when they are changed. Interestingly, the two variables are watched in basic.coffee, but not in time.coffee.

Currently users are not able to change domain and range for a time plot because the variables are not watched. We need to watch option.domain and option.range and call @draw() when they are changed. Interestingly, the two variables are watched in basic.coffee, but not in time.coffee.
@rsandor
Copy link
Collaborator

rsandor commented Oct 4, 2015

@BoolLi - This looks pretty good, but you should also add a test in tests/render/real-time/ to show it working. I look forward to seeing it :)

@BoolLi
Copy link
Author

BoolLi commented Oct 7, 2015

No problem! Thanks for letting me know. I will get back to it asap.

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

Successfully merging this pull request may close these issues.

2 participants