Skip to content

NullReferenceException when rendering annotations #47

@colejohnson66

Description

@colejohnson66

Cross post from oxyplot/oxyplot#1904

Appears to be an issue specifically with OxyPlot.Avalonia. @VisualMelon suggests two changes:

  • Calling InvalidatePlot off-thread should set a dirty-flag immediately, and schedule an update on the UI thread (not just crash)
  • UpdateVisuals should check the dirty-flag and perform an update if necessary before rendering

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