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

Chart not scale Y axis on pan. Scale for Y axis works only on panend #692

Open
1 task done
OkuruchiDan opened this issue Aug 23, 2023 · 1 comment
Open
1 task done

Comments

@OkuruchiDan
Copy link

OkuruchiDan commented Aug 23, 2023

I'm submitting a...

  • bug

What is the current behavior

I'm using react 17 and latest version of this lib.
When I start brush the chart canvas candle do not scales by Y Axis. Scale by Y happened when pen is ended.
Also this Y scale, works correctly when you try to zoom in zoom out.

What is the expected behavior

In the latest versions all works correct, for example:
https://codesandbox.io/s/trade-chart-v2mdfo?file=/package.json

Please tell us about your environment

I have checked different envs, react versions, and found that with latest react(18.2) charts are flickering on brush or zoom.
And with rect v17 it's works pretty well, except this bug with new version and Run time ResizebleObserver error.

  • Version: 1.1.0
  • Browser: [all | Chrome XX | Firefox XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari ]

Other information

@riyazpanarwala
Copy link

image

please change "chartConfig" to "chartConfigs" as per above image in "packages\core\src\GenericChartComponent.tsx" file

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

No branches or pull requests

2 participants