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

Kendo UI Bubble Chart - Legend color and Bubble Size issues.

3 Answers 215 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Ujjwal Karjee
Top achievements
Rank 1
Ujjwal Karjee asked on 09 Oct 2012, 11:50 AM
I am having a couple of issues with Kendo UI Bubble chart. I have a bubble chart with two sets of data. I want to set my own color for the bubble and have legend show up.

Issue # 1). I was able to color the bubble but the legend won't show up.
1) http://jsfiddle.net/uGkZj/


Issue # 2). By setting the dataSource and adding a group field legend finally showed up but the chartSize and legend color do not reflect the chart series data.
2) http://jsfiddle.net/53cNZ/

Can somebody help?

3 Answers, 1 is accepted

Sort by
0
Accepted
Iliana Dyankova
Telerik team
answered on 10 Oct 2012, 02:28 PM
Hello Ujjwal,

To your questions: 
  1. In order to get the legend to display in Kendo UI Bubble chart you should specify the name of the series. Please note that the legend shows the series name. For convenience I updated the first jsFiddle;
  2. The observed behavior is expected - by design the colorField determines the color of a single point, not the color of the entire series (as I said in the previous point the legend shows the series name). 
I hope this information helps.

Regards,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Osman
Top achievements
Rank 1
answered on 31 Oct 2013, 01:58 PM
var ds=[
{cat:"2012-02-11",value:"120",machine:"m1",color:"blue"},
{cat:"2012-02-11",value:"80", machine:"m2",color:"pink"},
{cat:"2012-03-11",value:"120",machine:"m1",color:"blue"}
];
I want to make bubble chart  but bubble's outside color must json color then inside can be (red , green , yellow). How can make it? Any method in kendo?
Can give example bubble chart with date categoryaxis .
0
Iliana Dyankova
Telerik team
answered on 01 Nov 2013, 04:39 PM
Hi Osman,

I am not quite sure if I understand your scenario correctly - could you please elaborate a bit more on the exact outcome you would like to achieve (an image will be greatly appreciated)? This way I would be able to advice you further and provide concrete recommendations. Thank you in advance for your time and cooperation.

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
Ujjwal Karjee
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Osman
Top achievements
Rank 1
Share this question
or