Skip to content

SP4: LegendViewer is throwing an unmanaged exception error. #2895

@LapinFou

Description

@LapinFou

Bug Report

Issue:
Index out of limit error occurs when playing with the detached legend viewer.

Reproducing:

  1. Download the Windows Forms demo from here: https://scottplot.net/demo/
  2. Click on the Launch ScottPlot Cookbook button
  3. Choose the Legend Orientation demo from the Legend category
  4. Right click on choose the Detach Legend option
  5. Left click into the Legend Viewer to unselect the sin and cos plots
  6. Left click in the empty interactive plot windows
  7. Left click into the Legend Viewer on the sin or cos plot

System Details

  • ScottPlot Version: 4.1.67
  • Operating System: Windows 10 Pro
  • Application Type: WinForms

Metadata

Metadata

Assignees

No one assigned

    Labels

    BUGunexpected behaviorHelp WantedScott won't do this soon, but PRs from the community are welcome!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions