Error in 18.1.0.46 creating SmithChart with Template Studio

Hi,

  creating a (ServerSide) SmithChart with Template Studio in VS Microsoft Visual Studio Community 2019 Preview
Version 16.6.0 Preview 4.0 I get the following error:

Severity Code Description Project File Line Suppression State
Error CS1503 Argument 1: cannot convert from 'System.Collections.Generic.List<BlazorTest.Pages.SmithChartFeatures.SmithDataSource>' to 'System.Collections.Generic.List<Syncfusion.Blazor.Charts.ISmithChartPoint>' BlazorTest J:\__Blazor_Core_3.2_SP5\killme\BlazorTest\Pages\SmithChartFeatures.razor 17 Active

The same happens with the code of the github blazor samples.

   regards

       Uwe


1 Reply

DG Durga Gopalakrishnan Syncfusion Team May 1, 2020 01:40 PM UTC

Hi Uwe, 
 
Greetings from Syncfusion. 
 
We have checked the reported scenario. We were able to reproduce the reported issue. We are checking on it. Meanwhile, we suggest you to create list as ISmithChartPoint class and assign the Reactance and Resistance value. We have prepared sample for your reference. Please check with the below code snippet and sample. 
 
<SfSmithchart RenderType="RenderType.Impedance"> 
   <SmithchartSeriesCollection> 
       <SmithchartSeries Points="@FirstTransmissionData"> 
      </SmithchartSeries> 
   </SmithchartSeriesCollection> 
</SfSmithchart> 
@code { 
public List<ISmithChartPoint> FirstTransmissionData = new List<ISmithChartPoint> { 
     new ISmithChartPoint { Resistance= 10, Reactance= 25 }, new ISmithChartPoint { Resistance= 8, Reactance= 6 }, 
   }; 
} 
 
 
 
 
Kindly revert us, if you have any concerns. 
 
Regards, 
Durga G 


Loader.
Up arrow icon