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

Charting fractional values #91

Closed
rlightner opened this issue Jan 30, 2017 · 1 comment
Closed

Charting fractional values #91

rlightner opened this issue Jan 30, 2017 · 1 comment

Comments

@rlightner
Copy link

I'm trying to use this for charting Specific Gravity for beer brewing.

I'd like to see the following values in a line chart or even bar, but for some reason its just showing a flat-ish line.

1.053,1.052,1.045,1.032,1.023,1.017,1.014,1.010,1.008

image

Thoughts?

@benpickles
Copy link
Owner

Peity defaults to a minimum value of zero but you can pass in your own minimum like so:

$('span').peity('line', {
  min: 1,
})

Here's an example: https://jsbin.com/godoni/edit?html,js,output

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

2 participants