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
is it possible to have discontinuous line graphs? #38
Comments
I am also wondering this... Frequently when graphing data it is useful to have a gap when data is not present. Right now I am looking at modifying the graphael source to see if I can change some of the path "L"s to "M"s, but it seems like a useful thing to add... |
I changed line 193 of g.line.js to:
... and I'm testing it now.... If passed a null y value it skips that point (so far!)... |
Changed it again to account for null x values:
|
g.line.js v. 0.51 that is... Sorry to be leaving so many comments... |
Line 193 should be this, so the line graph won't start from a y-datapoint which is null Adding correct me, if i'm wrong |
I'd like to use the line graphing for a sports tracker type web app, and when a workout has a break in it (e.g. paused at one spot, and resumed at another), i would like to represent the break as a discontinuity in the line graph, e.g. the two endpoints on either side of the 'break' as open circles joined by a straight dashed line, whereas the normal continuous line would be solid.
The text was updated successfully, but these errors were encountered: