Getting Started example doesnt seem to be working

Hi, 


I have tried to use the "Panels with components" example from the dashboard layout / getting started documentation (https://blazor.syncfusion.com/documentation/dashboard-layout/getting-started/)


When I run this code I get a large number of exceptions.

Client-Side application, Syncfusion.Blazor v19.1.0.69, .NET 5.0


I have attached a copy of the code (which is just copy and paste of the syncfusion example) and also a txt file with the exceptions.


Thanks,

Jeremy




Attachment: DashboardTestPage_a9f36a06.zip

1 Reply

IL Indhumathy Loganathan Syncfusion Team June 25, 2021 02:51 PM UTC

Hi Jeremy, 
 
Greetings from Syncfusion support. 
 
We have validated your reported query in Dashboard component and able to reproduce the issue. This issue can be resolved by providing the get; set; in ChartData model class. Refer to the below code. 
 
public class ChartData 
{ 
    public DateTime XValue { get; set; } 
    public double YValue { get; set; } 
    public string X { get; set; } 
    public double Y { get; set; } 
    public string Country { get; set; } 
    public string X1 { get; set; } 
    public double Y1 { get; set; } 
    public double Y2 { get; set; } 
    public double Y3 { get; set; } 
    public double Y4 { get; set; } 
} 
 
You can find the sample demonstrating the solution from below link. 
 
 
We will refresh the document in any of our upcoming release. Meanwhile we suggest you to use the above sample. 
 
Please let us know if you need any further assistance. 
 
Regards, 
Indhumathy L

Loader.
Up arrow icon