Skip to content

If plots are small enough, sometimes there aren't enough ticks #2278

@Xerxes004

Description

@Xerxes004

Bug Report

Issue: My software sometimes creates very small plots, roughly 340 by 190 pixels. Sometimes, only a single plot tick label shows up. One label is never enough to tell what the scale of the data is, and it's hard to figure out. I tried to solve this by setting Tick Density to 2, but I still have plots with only one label (and sometimes even zero, although this is very rare).

Reproducing: Run the "Many Plots" demo, and look around. There's always a few plots in there that only have a single tick label.

missing tick bug

See #2280

System Details

  • ScottPlot Version: 4.1.59
  • Operating System: Windows 10 Pro
  • Application Type: WPF
  • .NET Version: .NET 7

Metadata

Metadata

Assignees

No one assigned

    Labels

    BUGunexpected behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions