Welcome Guest Search | Active Topics |

Bubble Chart Bubble Size
msbair
#1 Posted : Wednesday, July 11, 2012 10:58:00 AM(UTC)
Rank: Member

Groups: ExpiredLicense, Registered
Joined: 6/12/2012(UTC)
Posts: 15

Thanks: 4 times
Was thanked: 0 time(s) in 0 post(s)
Does anyone know of a way to specify the base bubble size all bubbles should be drawn relative to? I want to specify a base size so that as bubbles are added/removed from the chart, the bubbles do not change size. For example: I am using the bubble chart to display historical data. As I move through history, I want to see the size of the bubble change, but not relative to the other bubble sizes in the chart but relative to some base value.
Dragan
#2 Posted : Thursday, July 12, 2012 8:20:08 AM(UTC)
Rank: Advanced Member

Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered
Joined: 1/3/2011(UTC)
Posts: 483

Thanks: 0 times
Was thanked: 87 time(s) in 87 post(s)
Hi,

Currently jqChart doesn’t support such functionality. We’ll think how we can implement this and I’ll let you know.
Best Regards,
Dragan Matek
jqChart Inc.
msbair
#3 Posted : Thursday, July 12, 2012 3:06:39 PM(UTC)
Rank: Member

Groups: ExpiredLicense, Registered
Joined: 6/12/2012(UTC)
Posts: 15

Thanks: 4 times
Was thanked: 0 time(s) in 0 post(s)
Thanks for posting.

It would be great if this functionality could be provided.

I don't know how bubble size is currently determined, but I am guessing you have a maximum bubble size, say 100px, and then all bubbles are drawn relative to this max bubble pixel size based on on the each bubble's size as compared to the largest bubble size. Seems like you could provide an option for maximumRadius when building the chart, and then scale all bubbles relative to this "base size":

Specify maximumRadius: 10
Largest bubble size in jqchart = 100px (for example), so any bubble with a radius of 10 would be drawn at 100px

Date1

Radii:
1, 3, 5, 7

Size:
(1/10)*100 = 10px, (3/10)*100 = 30px, (5/10)*100 = 50px, (7/10)*100 =70px


Date2:

Radii:
2, 3, 6, 10

Size:
(2/10)*100 = 20px, (3/10)*100 = 30px, (6/10)*100 = 60px, (10/10)*100 = 100px

If that made any sense at all.

That way, when you toggle from Date1 to Date2, the bubbles change size relative to a base size rather than change size relative to the largest and smallest bubble on the chart (if that is your current logic).
Dragan
#4 Posted : Monday, July 16, 2012 4:31:47 AM(UTC)
Rank: Advanced Member

Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered
Joined: 1/3/2011(UTC)
Posts: 483

Thanks: 0 times
Was thanked: 87 time(s) in 87 post(s)
I've sent you a working version via email.
Best Regards,
Dragan Matek
jqChart Inc.
1 user thanked Dragan for this useful post.
msbair on 7/16/2012(UTC)
Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

FlatEarth Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.084 seconds.