Hi,
We tried making the name property of our TelerikChartSeries dynamic by binding it to a string value. This however seems to completely crash startup, the browser tab freezes and the console doesn't show any errors. If we just put in a simple string in the Name property the application runs without a problem.
<TelerikChartSeries Type="ChartSeriesType.Column" Name="@Team1Name" Data="@Results" Field="@nameof(ChartViewModel.Team1Score)" CategoryField="@nameof(ChartViewModel.CategoryName)">
<TelerikChartSeriesLabels Visible="true" />
</TelerikChartSeries>
As you can see in this example we're binding the Name property to Team1Name which can be changed whenever another team is selected from a dropdownlist.
Thank you in advance.
I am closing this item as it seems to work fine for me, and there haven't been further reports of erroneous behavior. If you continue to experience the issue, please post here a runnable snippet that showcases the problem so I can investigate.
This seems to work fine for me and I am attaching below the page I tested with and a short video of the behavior I get. It is important to note that this has been upgraded to Preview7 and I am using the code we will release on our upcoming 1.4.0 release. I would encourage you to test this again when we release 1.4.0 and you have upgraded to Preview 7 too. Our current latest (1.3.0) is compatible with Preview 6 and we are working on making the code compatible with Preview 7. You can subscribe to this thread where I will post a notification once the 1.4.0 release is available: https://www.telerik.com/forums/net-core-3-preview-7-support.
Most notably, if you get JS errors in the browser console related to a JSON primitive - this is a problem that comes from Preview 7 and we are working on. It would indicate that you have already upgraded .NET to Preview 7, but our code is not compatible with that yet.