Colors are not showing after upgrading Kendo

1 Answer 49 Views
Chart General Discussions
Dhanajaya
Top achievements
Rank 1
Dhanajaya asked on 31 Aug 2023, 08:15 AM | edited on 31 Aug 2023, 10:41 AM

I have updated kendo version 2021.3.1109 to 2023.1.425. After upgrading I am not able to see series colors. 


1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 05 Sep 2023, 06:43 AM

Hello Dhanajaya,

Most likely the colors are missing because the Kendo theme is not loaded properly. As of R1 2023 SP1 (version 2023.1.314) we no longer support the LESS themes, see the release notes.

If before upgrading you had references to a LESS theme, for example:

kendo.common.min.css
kendo.default.min.css

after upgrading, a single kendo SASS theme CSS file should be referenced. The SASS themes naming convention is also different now, for example:  default-main.css (previously it was kendo.default-main.min.css).

If you have been using our CDN to reference a SASS theme, there is a difference in the url and in the name of the file (highlighted below) after R1 2023 SP1:

Here's how the reference of the SASS Classic Main theme should look like in version 2023.1.425:

<link rel="stylesheet" href="https://kendo.cdn.telerik.com/themes/6.3.0/classic/classic-main.css">

This single reference should be added in place of the old references you used with version 2021.3.1109.

I would also recommend going through the LESS to SASS migration article: https://docs.telerik.com/aspnet-mvc/styles-and-layout/less-themes/less-themes-migration


Regards,
Ivan Danchev
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages. If you're new to the Telerik family, be sure to check out our getting started resources, as well as the only REPL playground for creating, saving, running, and sharing server-side code.

Tags
Chart General Discussions
Asked by
Dhanajaya
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or