Welcome Guest Search | Active Topics |

Bubble chart doesn't render if X axis values are strings
rcwright
#1 Posted : Tuesday, July 15, 2014 12:01:01 PM(UTC)
Rank: Newbie

Groups: jQueryDV, Registered
Joined: 1/6/2014(UTC)
Posts: 5

Thanks: 3 times
Was thanked: 0 time(s) in 0 post(s)
I was palying with bubble charts and I found that they would not display if the data had the X axis values as strings. They work fine if the values are numbers. See the options below. I can't think of a reason for this. Any ideas?

this works:
{
series: [
{
type: 'bubble',
data: [[1, 40, 60], [2, 30, 40], [3, 0, 30], [4, 30, 35]]
}
]
}

this doesn't work:
{
series: [
{
type: 'bubble',
data: [['A', 40, 60], ['B', 30, 40], ['C', 0, 30], ['D', 30, 35]]
}
]
}

I am using jqChart v3.8.5.0.
Dragan
#2 Posted : Thursday, July 17, 2014 2:27:26 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)
Usually the bubble chart is used with numeric or date values on the x-axis. We'll try adding support for string x-values as well. It won't be difficult.
Best Regards,
Dragan Matek
jqChart Inc.
Users browsing this topic
Guest
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.301 seconds.