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

Price axis width #950

Closed
amiralitaheri opened this issue Dec 21, 2021 · 2 comments
Closed

Price axis width #950

amiralitaheri opened this issue Dec 21, 2021 · 2 comments
Labels
working as intended Works as intended.

Comments

@amiralitaheri
Copy link

Lightweight Charts Version: 3.6.0

Steps/code to reproduce:
Setting custom price format will cause miscalculation in price axis width. And I think it is related to this issue #834

Screenshots:

image

CodeSandbox/JSFiddle/etc link:
https://jsfiddle.net/stf9h451/2/

@timocov
Copy link
Contributor

timocov commented Dec 29, 2021

image

This is the answer. Custom formatter should respect series' parameters and limit number of decimals.

@timocov timocov closed this as completed Dec 29, 2021
@timocov timocov added the working as intended Works as intended. label Dec 29, 2021
@zirlman
Copy link

zirlman commented Oct 27, 2024

@timocov Thank you for figuring this out 🙇‍♂️🙇‍♂️🙇‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
working as intended Works as intended.
Projects
None yet
Development

No branches or pull requests

3 participants