microsoft / WPF-Samples

Repository for WPF related samples
MIT License
5.1k stars 3.2k forks source link

Exception thrown when left clicking the Graphing Calulator Demo graph #260

Open davidadley opened 4 years ago

davidadley commented 4 years ago

Reproduce:

  1. Build the Graphing Calcular Demo
  2. Plot the 2D chart with the default settings
  3. Attempt to left click mouse and drag on the graph

image

Expected Outcome: The area should be selected and zoomed in.

Actual Outcome: image

Devlopment Environment image

davidadley commented 4 years ago

This problem is eliminated if a 3D object such as a torus is plotted first before attempting to plot the 2D graph as a ModelVisual3D then exists.