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

Data series (line) disappears at very large zoom-in factor (have fix) #2080

Open
pantopela opened this issue May 8, 2024 · 0 comments
Open

Comments

@pantopela
Copy link

Steps to reproduce

  1. Create a line plot
  2. Zoom (a lot) in

Platform:
.NET version: 4.8 / 6

Expected behaviour

Line in plot should still be visible

Actual behaviour

Line in plot disappears

Known fix/workaround

In CanvasRenderContext.DrawLine():

replace
streamGeometryContext.BeginFigure(firstPoint, false, false);
with
streamGeometryContext.BeginFigure(firstPoint, true, false);

This seems to work, and we have not found any negative side effects. Not sure why, though...

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