I'm using SfChart to create a PieChart in my app. Actually it is simple to do that but I want to view the chart in another Window, another one than the Main Window. My app is an Universal app, and In order to view the chart in another window I have to create it. At first run, the new window appear and it contains my Chart, but second time there is an exception like bellow
"System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component. at Windows.UI.Xaml.UIElement.Measure(Size availableSize) at Syncfusion.UI.Xaml.Charts.ChartDockPanel.MeasureOverride(Size availableSize) at Windows.UI.Xaml.FrameworkElement.MeasureOverride(Size availableSize) at Syncfusion.UI.Xaml.Charts.SfChart.MeasureOverride(Size availableSize)"
I think this is not an exception from Windows because if Im not using SfChart controller, let's say that I set Text property of a TextBox to "test" it is working every time I press the button. There is something that I'm missing? It say that the problem is from MeasureOverride method, but I don't have any solution for this. Is the any way to resolve this issue?
I attached an example to this Thread, so you can observe the problem.