wpf - Windows Forms Host + System.Windows.Forms.DataVisualization.Chart -


Good day all

I have the following question:

I like Due to this fact, to use the chart to use the chart from Windows Forms, it allows to create more and more graphical visualization, which is one of the WPF Toolkit.

Therefore, I'm adding chart controls for windows elements as a child element, but I am running a program when I run the application. I and all my clients only see white areas

What is wrong with chart control?

Here is the XAML code

  & lt; Window x: orbit = "wpfApplication1.Window1" xmlns = "http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns: x = "http://schemas.microsoft.com/winfx/ 2006 / Xaml "xmlns: wfi =" clr-namespace: system.windows.form.unification; assembly = windowsformaxxlation "xmlns: wf =" clr-namespace: system. Windows.fomes; assembly = system.windows.form "xmlns: CHR = "CLR-namespace: system. Windows.form.datellitevisionation charting; assembly = system. Windows.form.data visualization" title = "window1" height = "300" Width = "300" & gt; & Lt; Grid & gt; & Lt; Wfi: WindowsFormsHost x: name = "mainFGrid" & gt; & Lt; CHR: Chart X: Name = "Main chart" /> & Lt; / WFI: WindowsFormsHost & gt; & Lt; / Grid & gt; & Lt; / Window & gt;  

Kind regards,

  Anatoly Sova  

Comments