Embedding WinForms Graph in WPF Window

前端 未结 4 1552
你的背包
你的背包 2020-12-17 18:42

I\'ve tried to embed a .NET WinForms graph (Stephan Zimmermann\'s Graph Display) in a WPF window, under a WindowsFormsHost (I\'ve referenced both System.Windows.Forms and Wi

4条回答
  •  眼角桃花
    2020-12-17 19:26

    I had the same issue in WPF. Luckily I got the solution.

    I observed that chart areas and series are being reset once the data source is set. It looks like a bug for me.

    So, the workaround/solution is to set the data source at very first place before adding the things like chart areas and series.

提交回复
热议问题