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

Bubble size does not take in consideration all global values when a group happens

3 Answers 40 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Spartan IV
Top achievements
Rank 1
Spartan IV asked on 20 Sep 2012, 10:54 PM

Lets pretend this is the data:

MusicGenre  AgeGroup  TimesPlay

Rock             10-15              100
Rock              16-20             200
Classical        10-15               5
Classical         16-20              4

If I do not group the data and I plot it

1. Then Rock 16-20 is the biggest bubble (biggest)
2. Followed by Rock 10-15 (2nd biggest)
3. Classical 10-15 (tiny)
4. Classical 16-20 (tiny)

But I get the same color for each bubble

If I group by Genre

I want to have the same color for Rock and a different one for classical and that happens, but then the bubble size
is determined by items in the same group, not compared with the rest
So Classical 10-15 and 16-20 now are big
Classical 10-15 = 5 out of 9 instead of 5 out of 309
Classical 16-20 = 4 out of 9 instead of 4 out of 309

Both are rendered big, because the grouping is taking in consideration only items inside the group and not comparing with other groups

I want to group to have different colors, but then the purpose of the bubble chart gets defeated, because having similar sizes doesn't make an useful visualization.

Is this a bug or it is intended to work this way?

 

dataSource: {
  
transport: {
read: { 
 url: "@Url.Content("~/Music/GetData")",
 dataType: "json",
  data: { // This are the parameters
  genre: function() {
   return "All";
  }
}
}
}, 
group: { 
 field: "Genre" 
 }
},

Any help? Is there a way to have groups but the bubble sizes are based on all the items, not only on the ones inside the group?

Thanks

3 Answers, 1 is accepted

Sort by
0
toto rto
Top achievements
Rank 1
answered on 21 Sep 2012, 08:47 PM
we are also getting the same behavior. can we get an answer from telerik please?
0
Spartan IV
Top achievements
Rank 1
answered on 21 Sep 2012, 09:02 PM
Functionality is NOT supported, I got an answer on a different thread

http://www.kendoui.com/forums/dataviz/chart/bubble-chart-size-mostly-the-same-for-all-bubbles.aspx

This definitively needs to be added, because it doesn't make sense to have a bubble chart where you cannot compare different series between each other in a reliable way.
0
Iliana Nikolova
Telerik team
answered on 24 Sep 2012, 01:56 PM
Hi guys,

As Hristo pointed, the described functionality is currently not supported in Kendo UI DataViz. We realize its importance and will do our best to address this limitation for future versions of the product. Please excuse us for the inconvenience caused.  

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!
Tags
Charts
Asked by
Spartan IV
Top achievements
Rank 1
Answers by
toto rto
Top achievements
Rank 1
Spartan IV
Top achievements
Rank 1
Iliana Nikolova
Telerik team
Share this question
or