The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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.
DADevi Aruna Maharasi Murugan Syncfusion Team October 7, 2016 01:31 PM UTC
Hi Pavel,
Thanks for contacting Syncfusion Support.
The reported problem can be resolved by applying the ItemTemplatefor chart legend. We have modified the provided sample and it can be downloaded from below link,