Skip to content

ScottPlot does not render correctly when the browser zoom !=100%. #5249

Description

@AndyG74

I have a Blazor WebApp (WASM) and using the ScottPlot control. At 100% browser zoom, everything displays correctly, however, when I zoom to 80%, the space at the bottom and right edges isn't utilized to fill the area with the ScottPlot control. At 125% zoom, the ScottPlot control extends beyond the right and bottom edges.

Is this a bug, by design?
Is there a workaround?

I use:

  • VS2026,
  • c#,
  • .net10
  • ScottPlot.Blazor v5.1.58
  • SkiaSharp.NativeAssets.WebAssembly v3.119.4

100% Browser-Zoom:
Image

80% Browser-Zoom:
Image

125% Browser-Zoom:
Image

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions