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

[EmulGL] 2D scatter plots have their axis displayed twice #246

Closed
Tracked by #266
jzy3d opened this issue Feb 25, 2022 · 0 comments · Fixed by #267
Closed
Tracked by #266

[EmulGL] 2D scatter plots have their axis displayed twice #246

jzy3d opened this issue Feb 25, 2022 · 0 comments · Fixed by #267
Labels
Milestone

Comments

@jzy3d
Copy link
Owner

jzy3d commented Feb 25, 2022

When drawing a 3D scatter with EmulGL in a 2D chart, X and Y axis labels appear twice

Scatter2D_EmulGL

This is triggered by View.correctCameraPositionForIncludingTextLabels at View/L1263. The heuristic that computes the text bounds for adapting camera actually performs one pre-draw to get text bounds. One may solve this by enabling a TextRender.dryDraw mode to avoid drawing and only pre-processing text occupation.

@jzy3d jzy3d added the bug label Feb 25, 2022
@jzy3d jzy3d mentioned this issue May 9, 2022
21 tasks
@jzy3d jzy3d linked a pull request May 10, 2022 that will close this issue
@jzy3d jzy3d added this to the 2.1.0 milestone May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant