Pie chart is blank, error about unescaped line break in console log

1 Answer 190 Views
Chart (HTML5)
Bryce
Top achievements
Rank 1
Bryce asked on 20 Jan 2022, 09:33 PM

I have a RadHtmlChart in an ASP.NET application to show a pie chart that has stopped working for some reason, it just shows a blank space instead of where the chart is supposed to be. I think that it may have been a result of updating from Telerik 2019 to 2021, but I don't know for sure.

I see an error in the console log like this that I think may be related:

Uncaught SyntaxError: '' string literal contains an unescaped line break
    _getMainConfig https://mydomain/ScriptResource.axd?d=tbtXkupOsJbh23R1_Hx7q2pZp3JxD5nSFapGUZ3sqXMSswV2X1Q2E1yGmyRwIn4zcz_FaG3pZ673Wbd7B-S8wD0iEyTbmgkuVT3xUNxMNje2tXgtmPHlNMU2UCqG2qcKV9OzjA2&t=244d15ab:97

 

At first I thought it was a bad label or something but even stubbing out all the labels doesn't seem to fix it, so I don't know.

 

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 03 Feb 2022, 03:33 PM

Hi Bryce,

The faced problem is most probably related to names of the data fields. We introduced an important change in R3 2018 (Version number: 2018.3.910) and explained here: https://www.telerik.com/forums/known-issues-and-important-changes#4710546

Improvements were made on the escaping of symbols and you should review the following two articles. If you have not followed the guidance in them, special symbols in field names or improperly escaped new line symbols may cause a change in the behavior you have:

 

If the above is not the case, please, send me a small sample where I can reproduce the issue and examine the exact setup leading to it.

Regards,
Vessy
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Chart (HTML5)
Asked by
Bryce
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or