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

fix: recalculate candle idx #129

Merged
merged 14 commits into from
Feb 8, 2024
Merged

Conversation

Keelaro1
Copy link
Contributor

No description provided.

@Keelaro1

This comment was marked as outdated.

@Keelaro1 Keelaro1 added the bug Something isn't working label Dec 29, 2023
Copy link
Contributor

@disyakidneyshot disyakidneyshot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I understood the task correctly, the thing you need to fix is drawZeroLine in grid.drawer.ts, not what you did.
There's a getBaseline method, which calculates the coordinates to draw this zero line, and it takes into account the centerUnit of the candle. And the this is, to fix this behaviour

@disyakidneyshot disyakidneyshot merged commit 47a228a into master Feb 8, 2024
2 checks passed
@disyakidneyshot disyakidneyshot deleted the candles-idx-recalculation branch February 8, 2024 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants