8000 Axis origin jumps around once nsPerPx approaches 1 · Issue #174 · dominikh/gotraceui · GitHub
[go: up one dir, main page]

Skip to content
  • Axis origin jumps around once nsPerPx approaches 1 #174

    Open

    Description

    @dominikh

    We represent timestamps as 64 bit integer nanoseconds. Axis tick marks and the origin can only fall on timestamps. As we draw the axis starting from x=0, once we have fewer nanoseconds to display than we have pixels it is generally not possible to display the origin at exactly the pixel we wish to, as it won't correspond to a timestamp.

    We should probably draw the axis around the origin instead.

    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

      bugSomething isn't working

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions

        0