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

Incorrect PriceScale calculation leading to few values not visible in chart by default #570

Closed
Rishabh-Streak opened this issue Sep 16, 2020 · 1 comment

Comments

@Rishabh-Streak
Copy link

Lightweight Charts Version:

Steps/code to reproduce:
https://jsfiddle.net/n53h21pe/ <- this is demo of the issue

Actual behavior:

Expected all values to be visible in chart
Screenshot 2020-09-16 at 12 34 08 PM

Expected behavior:

This is after i adjust the priceScale manually
Screenshot 2020-09-16 at 12 34 30 PM

@timocov
Copy link
Contributor

timocov commented Sep 16, 2020

That's because your values are strings, not numbers "value": "0.00". Related to #315

@timocov timocov closed this as completed Sep 16, 2020
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