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

calling chart functions #34

Open
peterswanson opened this issue Oct 5, 2022 · 0 comments
Open

calling chart functions #34

peterswanson opened this issue Oct 5, 2022 · 0 comments

Comments

@peterswanson
Copy link

thanks for the wrapper! How can we call the functions that come with a chart?
For example, if I wanted to reset the chart time axis, I would call:
chart.timeScale().resetTimeScale();
These docs show the functions: https://github.com/tradingview/lightweight-charts/blob/v3.3.0/docs/time-scale.md
but since kaktana is in the react wrapper, I am not sure how to access this function within the chart. Thanks!

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

1 participant