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

Allow display of zero values #59

Closed
stefl opened this issue May 15, 2012 · 2 comments
Closed

Allow display of zero values #59

stefl opened this issue May 15, 2012 · 2 comments

Comments

@stefl
Copy link

stefl commented May 15, 2012

I have a series of stats data that I want to graph over time. If I use JSON like this

[{"period":"2010-12-27","screenings":0},
 {"period":"2011-01-03","screenings":10},
 {"period":"2011-01-10","screenings":0}]

I get a horizontal line rather than a line that goes from zero to ten and then back down to zero. In the text display I get "n/a" as the values for these zero points.

If I change the zero values to 0.0001 the graph draws as expected.

Perhaps a setting for "ignore zeros"?

@tankist
Copy link

tankist commented May 15, 2012

oesmith added a commit that referenced this issue May 15, 2012
@oesmith
Copy link
Contributor

oesmith commented May 15, 2012

Thanks guys - have fixed in aa67b1a and released 0.2.9.

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

3 participants