peity icon indicating copy to clipboard operation
peity copied to clipboard

way to only show part of line graph?

Open Zxurian opened this issue 10 years ago • 3 comments

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?

Zxurian avatar Feb 25 '15 14:02 Zxurian

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.

benpickles avatar Feb 25 '15 15:02 benpickles

thanks or the heads up.

Zxurian avatar Feb 25 '15 15:02 Zxurian

o this would be usefull for me aswell

WilliamStam avatar Feb 01 '17 07:02 WilliamStam