-
Notifications
You must be signed in to change notification settings - Fork 78
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
Scaling issue #5
Comments
Hi, Awesome lib!!!! Anything about this bug? |
Hey, @vesakk is right, this lib is Awesome ! Anything new about this bug ? More simple exemple : https://jsfiddle.net/fegcxg6p/ Here is a temporary solution, normalize your datas between 0 and 1. function(val, max, min) { return (val - min) / (max - min); } e.g : for [120, 149, 193.4, 200] use [0,0.3625,0.9175000000000001,1] |
Hi @olivbau , I like your temp solution! |
Normalizing the data works sometimes but not always. I found that adding a dummy value at the front that was outside the range of other values always fixed the issue, but now you're plotting a fake piece of data. |
I have the same issue. When three values are similar in a row, the chart won't load. |
Hi,
there seems to be a scaling issue if you have too similar values. In this case you line is shown: https://jsfiddle.net/o8q2jeu6/1/
If you just replace one data point with a value that differs much more from the average, then the line is shown properly (I replaced the first "22" with "1"): https://jsfiddle.net/o8q2jeu6/2/
Could you please have look into this?
The text was updated successfully, but these errors were encountered: