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

way to only show part of line graph? #57

Open
Zxurian opened this issue Feb 25, 2015 · 3 comments
Open

way to only show part of line graph? #57

Zxurian opened this issue Feb 25, 2015 · 3 comments
Labels

Comments

@Zxurian
Copy link

Zxurian commented Feb 25, 2015

lets say with the following two elements, <span>1, 2, 3, 4, 5</span> and <span>null, null, 3, 4, 5</span> is there a way to run peity on both, and have the second graph only plot the 3, 4, 5, but leave space for the two null values? The net effect would be if you layered the second over the first, they lines would be identical, however the second graph would just not have any plot points.

Use Case: showing a trend of last 4 weeks of data for several items, but some items may only have 3 or 2 weeks of data, so instead of having the graph look skewed since it's stretching a smaller data set to teh same width, it would keep the same width, but just not plot the missing points.

Doable?

@benpickles
Copy link
Owner

Good question, though unfortunately there isn't a way of doing this with Peity at the moment. However, I will keep this in mind for the future.

@Zxurian
Copy link
Author

Zxurian commented Feb 25, 2015

thanks or the heads up.

@WilliamStam
Copy link

o this would be usefull for me aswell

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

No branches or pull requests

3 participants