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

How do I use fitcontent() in this library? #20

Open
KAEN7 opened this issue Oct 6, 2022 · 0 comments
Open

How do I use fitcontent() in this library? #20

KAEN7 opened this issue Oct 6, 2022 · 0 comments

Comments

@KAEN7
Copy link

KAEN7 commented Oct 6, 2022

You want all the cans to be visible on one screen based on the x-axis.
I used fitContent() as follows, but it doesn't work.
What should I do?

스크린샷 2022-10-06 오후 6 42 49

<Chart
        options={options}
        candlestickSeries={[{ data: candleSeries }]}
        autoWidth
        height={380}
        onCrosshairMove={handleCrosshairMoved}
        chartRef={(chart) => {
	        chart.timeScale().fitContent();
        }}
/>

and more There is Korean on the marker, can I change it to English?

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