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

Stacked bar chart panning performance issue #1418

Closed
4 tasks done
sezginriggs opened this issue Oct 27, 2019 · 6 comments
Closed
4 tasks done

Stacked bar chart panning performance issue #1418

sezginriggs opened this issue Oct 27, 2019 · 6 comments

Comments

@sezginriggs
Copy link

sezginriggs commented Oct 27, 2019

Bugs and Questions

Checklist

  • This is not a victory-native specific issue. (Issues that only appear in victory-native should be opened here)

  • I have read through the FAQ and Guides before asking a question

  • I am using the latest version of Victory

  • I've searched open issues to make sure I'm not opening a duplicate issue

The Problem

I'm using VictoryZoomContainer as containerComponent of VictoryChart but panning is too slow on iOS and Android.

I only have one Victory Stack and 3 VictoryBar (with only 12 items as data) in it but it's still hard to drag and too slow.

Reproduction

Here you can find and run the code: https://snack.expo.io/SJhMSjQqH

@hntddt123
Copy link

I gave up on VictoryZoomContainer and render a Victorychart with off-screen width and wrapped with Scrollview which works perfectly!

@sezginriggs
Copy link
Author

@hntddt123 how did you set the off-screen width? May you please share a code example if possible?

@taromorimoto
Copy link

Are there any plans to improve Victory chart panning performance on React Native?

@Critically
Copy link

Are there any plans to improve Victory chart panning performance on React Native?

  • Same question

@grean
Copy link

grean commented Jan 12, 2022

Same question

@becca-bailey
Copy link
Contributor

Apologies for the late response, but we are currently starting to plan out a re-write of some of Victory's pan and zoom behavior that should address some of these performance issues. I'm going to close this ticket and move the discussion to #2111.

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

6 participants