2
votes

Does anyone know if the types in the .NET 4.0 release of System.Windows.Forms.DataVisualization can be used in WPF? I'm looking to develop a .NET 4.0 WPF application which will create 2D plots and cannot tell from if the WPF toolkit is now necessary in .NET 4.0.

1
They can be used with the control WindowsFormsHost. But I haven't even tried to use these charts with wpf so I can be wrong.vortexwolf

1 Answers

1
votes

The charts in System.Windows.Forms.DataVisualization are Winforms charts, but they can still be used in WPF if you use a WindowsFormsHost. See MSDN.