Google可视化 - 带有气泡图的仪表板 [英] Google Visualization - Dashboard with Bubble Chart

查看:243
本文介绍了Google可视化 - 带有气泡图的仪表板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建一个将显示在网页上的仪表板。我明白这是如何适用于饼图/列/条形图的控件,但我无法弄清楚如何为气泡图做到这一点。

我可以自行创建一个气泡图,但我无法添加控件,因此我的用户可以操纵数据。这是可能的气泡图吗?如果是这样,怎么样?

解决方案

以下是带有类别过滤器控件的jsfiddle:

http://jsfiddle.net/vYMyz/9/



在ChartWrapper对象中,'ChartType'应该是'BubbleChart':

  var myChart = new google.visualization.ChartWrapper({
chartType:'BubbleChart',
containerId:...


I am trying to create a dashboard that will be displayed on a webpage. I understand how this works for controls with pie/column/bar charts, but I cannot figure out how to do this for a bubble chart.

I can create a bubble chart by itself, I just cannot add the controls so that my users can manipulate the data. Is this possible for Bubble charts? If so, how?

解决方案

Here is the jsfiddle with a category filter control:

http://jsfiddle.net/vYMyz/9/

In the ChartWrapper object, the 'ChartType' should be 'BubbleChart':

var myChart = new google.visualization.ChartWrapper({
                   chartType: 'BubbleChart',
                   containerId: ...

这篇关于Google可视化 - 带有气泡图的仪表板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆