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

graph does not mask points outside of min and max #7

Open
mdford opened this issue Nov 30, 2015 · 0 comments
Open

graph does not mask points outside of min and max #7

mdford opened this issue Nov 30, 2015 · 0 comments

Comments

@mdford
Copy link

mdford commented Nov 30, 2015

Perhaps I am using the graph incorrectly, but if I have points before xmin or after xmax, the graph still draws the line off the graph in those directions. I assumed (perhaps incorrectly) that the line would start at xmin and only go to xmax regardless of the contents of the plot array (hence the ability to set those values).

It might be better to explain my use case. I am collecting temperature readings and saving each reading to the plots. I start off displaying the graph from 0 to initially 600 seconds. The user has the ability to zoom the graph in and out and move it forwards and back to display a range of these readings. So, for example, if the current 'window' is 1200 to 1800, and xmin=1200 and xmax=1800 I would expect the line to only show the values in that range. However, the line extends to the left (pre 1200) and to the right (> 1800) to the limits of the container it is in.

Am I missing a setting or something? Or do I have to go and get a range of values all the time from my readings to match the current xmin and xmax. If so, that seems counter-intuitive and different from the way most graphs work.

Regardless, I appreciate this module and all the work that went into it - just need this clarified.

Thanks!
Mark

@matham matham transferred this issue from kivy-garden/garden.graph Jun 16, 2019
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