Skip to content

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