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

Crosshair vertLine doesn't match with tickMarkFormatter #1692

Open
TH3AL3X opened this issue Sep 11, 2024 · 2 comments
Open

Crosshair vertLine doesn't match with tickMarkFormatter #1692

TH3AL3X opened this issue Sep 11, 2024 · 2 comments

Comments

@TH3AL3X
Copy link

TH3AL3X commented Sep 11, 2024

The timezone thing it's working, but it's not matching with vertLine crosshair
chart.applyOptions({ timeScale: { timeVisible: true, tickMarkFormatter: (time, tickMarkType, locale) => { return new Date(time * 1000).toLocaleString('es-ES', { timeZone: zona_horaria, hour: '2-digit', minute: '2-digit' }); }, } });

@illetid
Copy link
Contributor

illetid commented Sep 19, 2024

@TH3AL3X could you pls provide a codesandbox example of how to reproduce the issue. I didn't able to reproduce with code snippet you've provided

@TH3AL3X
Copy link
Author

TH3AL3X commented Sep 19, 2024

@TH3AL3X could you pls provide a codesandbox example of how to reproduce the issue. I didn't able to reproduce with code snippet you've provided

I already stopped using the library, but for example if you have the timeZone in Europe WET (UTC±00:00), forcing it, it showing everything correctly in the timebar line under chart, but when you put the crosshair, it showing other timezone, not the forced one....

Also the chart is not really responsive.

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