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

Bubble chart not following theme colors

3 Answers 133 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 09 Sep 2014, 04:26 PM
We are using the bubble chart in our application displaying bubbles using the theme colors.  To do this we had set the theme member of the options object provided to the chart when created.
Kendo version 2014.1.528 was showing a different color for each bubble (cycling through the colors of the theme)
Attempting to upgrade to Kendo version 2014.2.903  (latest official version) the colors are now all the same.  This is obvious also in the demo area of your website, when looking at the bubble chart it used to show colors,  now it only shows the first color of the theme.

I have a plunker to demonstrate

http://plnkr.co/edit/TS5zxf

if you like, change the reference in the plunker to the older version and the colors will come back.

Is this intended?  If so why and what about those who don't want to dictact the individual bubble colors.

(also tried the latest internal build 2014.2.909 and the result is the same, single color only)


Thanks,
Rob.

3 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 10 Sep 2014, 02:23 PM
Hi Rob,

Actually the behaviour observed in the current version (2014.2.903) is correct - there was a bug in v2014.1.528. Keep in mind that by default there is a single colour per series and this colour is applied to all points in this series. If you wish to get different colours for each points you should use series.colorField (or color when inline data is used). For your convenience here is a simple dojo.

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
Robert
Top achievements
Rank 1
answered on 10 Sep 2014, 02:58 PM
HI Iliana,

I  thought you may say something like that ;)   It is a bit annoying when we don't want to put down individual colors, rather just want to have it automatic.  Now we need to extract the theme colors and add them in any place we use the chart, you can see why that may not be desirable.

Cheers,
Rob.
0
Iliana Dyankova
Telerik team
answered on 11 Sep 2014, 04:23 PM
Hi Rob,

With the current implementation of Kendo UI Chart there is no a better solution for this scenario which I can suggest. If you wish you could submit feature requests in our UserVoice portal for improving the chart and we will consider them for future releases. 

Regards,
Iliana Nikolova
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI http://feedback.kendoui.com/forums/127393-kendo-ui-feedbacknow!
 
Tags
Charts
Asked by
Robert
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Robert
Top achievements
Rank 1
Share this question
or