peity
peity copied to clipboard
way to only show part of line graph?
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?
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.
thanks or the heads up.
o this would be usefull for me aswell