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

Large style->height parameter causes blank rendering #3

Open
cmdcolin opened this issue Jul 20, 2016 · 1 comment
Open

Large style->height parameter causes blank rendering #3

cmdcolin opened this issue Jul 20, 2016 · 1 comment

Comments

@cmdcolin
Copy link
Collaborator

Unknown reasons but it seems to come up totally blank sometimes with larger style->height

@cmdcolin
Copy link
Collaborator Author

cmdcolin commented Jul 20, 2016

For the 1000 genomes case, it may be running into the maximum size limit of a canvas.

http://stackoverflow.com/questions/6081483/maximum-size-of-a-canvas-element

This suggests maximum size of a canvas is around the max size of a signed short (2^15-1=32,767)

For example, for 1000 genomes, style.height=13 works but style.height=14 doesn't. With 2504 samples in the 1000 genomes, this means that 14 breaks it but 13 does not

2504*13
[1] 32552
2504*14
[1] 35056

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