oxyplot / oxyplot-sharpdx

MIT License
16 stars 10 forks source link

Resizing plot to 0 dimension causes crash #14

Closed Dunkhan closed 6 years ago

Dunkhan commented 6 years ago

Steps to reproduce

  1. Start the demo program
  2. Resize the application window, making it smaller until it reaches minimum size
  3. Observe that the application crashes

Platform: Windows 10 WPF .NET version: 4.5.2

Expected behaviour

The application should not crash when resized

Actual behaviour

The application crashes when resized so that the plot has one or more zero sized dimensions