This is a migrated thread and some comments may be shown as answers.

Custom Themebuilder theme, broken axis label click?

3 Answers 91 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 01 Nov 2013, 03:14 PM
I have added a custom themebuilder theme to my site (registered it and then added it to my chart).  Once it is added the charts look good and as I styled them, but the axis labels become unclickable.  Prior to adding the custom theme I could click on an axis label and it would toggle that data set on or off in the graph.  After adding the custom theme I get the following javascript error (using Visual Studio).

Unhandled exception at line 37, column 28074 in kendo.all.min.js

Javascript runtime error: Unable to get property 'color' of undefined or null reference.

Any ideas on why this isn't working correctly?

3 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 01 Nov 2013, 04:12 PM
Hello Jason,

This is a known issue and we are currently working on it - our team will do our best to provide a solution as soon as possible. Please excuse us for the inconvenience caused.
 

Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Jason
Top achievements
Rank 1
answered on 01 Nov 2013, 04:38 PM
So whats the best way for me to change the colors on these dynamically created charts?  The 6 colors of the series are the only thing I really need to change.


0
Iliana Dyankova
Telerik team
answered on 01 Nov 2013, 04:48 PM
Hello Jason,

You could change the series colors using setOptions method:

//get reference to the chart widget
var chart = $("#chart").data("kendoChart");
//set series colors through setOptions method
chart.setOptions({seriesColors: ["red", "green", "....", "....", "....", "...."]});
Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
Jason
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Jason
Top achievements
Rank 1
Share this question
or