[visualization-api] Struggling with modified fustion table/google bar charts example

2016-01-29 Thread jordandochertyfyp


I need to graph the number of vehicles, number of casualties and number of 
total rows in a fusion table with the names of each bit of information 
connected to the column. ie:
Casualties |xx  Vehicles|
Total Accidents |xx 
amount


At the moment, what I've managed to get is: http://i.imgur.com/LsNEodX.png


I've modified an example on Googles' guides that displays data from a 
fusion table in a chart, I've had to put Number_of_Vehicles in twice in 
order to have it set the V axis. I am almost there visually but certain I'm 
very far off with the code and after looking through the documentation I 
haven't found any guides on how to have manually inserted rows of data for 
the chart as well as data from the fusion table.

My code:


google.load('visualization', '1', { packages: ['corechart'] });

function drawVisualization() {
google.visualization.drawChart({
containerId: 'visualization',
dataSourceUrl: 
'http://www.google.com/fusiontables/gvizdata?tq=',
query: 'SELECT SUM(Number_of_Vehicles), 
SUM(Number_of_Vehicles), SUM(Number_of_Casualties), COUNT()  FROM 
1wgVs5uXfTIDjccR4CfKI_CUct8YxVjs-NMQx9sp0',
chartType: 'BarChart',
options: {
title: 'Number of casualties to vehicles',
vAxis: {
title: 'Casualties'
},
hAxis: {
title: 'Amount'
}
}
});
}

google.setOnLoadCallback(drawVisualization);


-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/b549d2a4-2a84-417c-b79a-603dd92f48cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Fwd: Us congress hearing of maan alsaan Money laundry قضية الكونغجرس لغسيل الأموال للمليادير معن الصانع

2016-01-29 Thread sady assad
YouTube videos of



 U.S. Congress money laundering hearing


of

Saudi Billionaire  " Maan  Al sanea"

 with *bank of America*


and  The  owner of Saad Hospital and  Schools

 in the Eastern Province in *Saudi Arabia*



and the Chairman of the Board of Directors of Awal Bank  in *Bahrain*


With Arabic Subtitles


http://www.youtube.com/watch?v=mIBNnQvhU8s





*موقع اليوتيوب الذي عرض جلسة استماع الكونجرس الأمريكي *

* لمتابعة نشاطات غسل الأموال ونشاطات*



*السعودي معن عبدالواحد الصانع*



*مالك مستشفى  وشركة سعد  ومدارس سعد بالمنطقة الشرقية بالسعودية   ورئيس مجلس
ادارة بنك اوال البحريني*



*مترجم باللغة العربية*



http://www.youtube.com/watch?v=mIBNnQvhU8s

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEfki29P5DJ%3DYF8fqiMAGbg-WrHZEwWODht7z2TbU%3DQaMGE0VA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Can Linechart use this same data format as Tablechart ?

2016-01-29 Thread Michael Rooney
Hi Google graph team,
  Given the example data below can the same data be used for both  
Linechart  and Tablechart ?  It works well for tablechart.  I'm trying to 
avoid putting TISSUB2 TISSUB3 and TISSUB5 in the Labels on the Linechart 
(this is a small sample).  I'm trying to achieve a layout similar to the 
below...  If it is  not possible to use the same format for both charts, 
can I use this 
format at all on a linechart ?
  Thanks in advance for your help !
  Michael

var data = new google.visualization.DataTable(  
   {
 cols: [
   {id: 'DATE', label: 'Date', type: 'datetime'},   
   {id: 'task1', label: 'Subname', type: 'string'}, 
   {id: 'task2', label: 'latentcy', type: 'number'},
   ],   
rows: [ 
  {c: [ {v: new Date('01/04/2016 02:08')}, {v: 'TISSUB2'},{v: '1'}]}, 
  {c: [ {v: new Date('01/04/2016 02:09')}, {v: 'TISSUB3'},{v: '5'}]}, 
  {c: [ {v: new Date('01/05/2016 10:09')}, {v: 'TISSUB5'},{v: '5'}]},  
  {c: [ {v: new Date('01/05/2016 11:09')}, {v: 'TISSUB5'},{v: 
'4'}]},
  ] 
   }
)  



Possible layout...



 
5

 
4
TISSUB2 
 
3
TISSUB3 
 
2
TISSUB5 

1
 '01/04/2016 02:08'  '01/04/2016 02:09' '01/05/2016 10:09'

 


-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/83da8058-a5ed-402d-a58a-ae7405c35d7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Static data in controls

2016-01-29 Thread mary m
I am creating charts using data from a google form to google sheets. Some 
of the form options are multi select which has wreaked havoc on my 
controls. Is there a way to have a static list in the control of the values 
in the list? 

*Example:*
Form allows multi select from:

   - hamburger
   - hot dog
   - chicken
   - veggies
   

Now my control filter looks like this (based on what users have selected in 
the form).

   - hamburger
   - hamburger, hotdog
   - hamburger, veggies
   - hotdog
   - hotdog, chicken
   - hotdog, veggies
   - chicken
   - chicken, veggies
   

I know I can build my own controls in javascript and pass them into the 
query but hoping to avoid that if something exists already! Or if there are 
better ideas!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/997004c9-4191-484f-a6da-c54c9281c9f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Ось координат с фиксированными значениями

2016-01-29 Thread Биосвязь ЗАО
Привет) Да, смог разобраться. Подольше полазил по мануалу и справился 
https://jsfiddle.net/yrcw0u4z/6/

пятница, 29 января 2016 г., 18:30:42 UTC+3 пользователь Sergey написал:
>
> Привет,
>
> Если вы хотите что-бы на шкале были какие-то конкретные числа, это можно 
> сделать вот так: http://jsfiddle.net/864nme0u/
>
> On Fri, Jan 29, 2016 at 1:48 AM Биосвязь ЗАО  > wrote:
>
>> Всем привет, у меня есть задача сделать такой график. Цветовое оформление 
>> не важно. Я никак не могу понять, как сделать чтобы числовая шкала была 
>> фиксированной? Это вообще возможно? То есть на шкале должны быть числа 
>> (150, 140, 130... 0). А сейчас при построении графика получается, что шкала 
>> на графике формируется автоматически. Допустим я хочу на графике оставить 
>> только первую отметку, со значением 150 (то есть будет одна точка) при этом 
>> остальные значения на оси должны оставаться, как и были от 150 до 0 с шагом 
>> в 10. 
>>
>>
>>
>>
>> 
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google Visualization API" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-visualization-api+unsubscr...@googlegroups.com 
>> .
>> To post to this group, send email to google-visua...@googlegroups.com 
>> .
>> Visit this group at 
>> https://groups.google.com/group/google-visualization-api.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-visualization-api/dff94859-9251-438a-8d2d-0847ac9f49b6%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
>
> *[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc• 
> gra...@google.com *
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/57f96001-5c53-46db-a0ba-856dd6848b18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Can i do it with google

2016-01-29 Thread Roger cuevas
Thank you Sergey, for such a quickly response, probably we will use you for 
another chart, is an stunnig work what you are doing!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/138e58a1-7052-4a92-8323-a847c27382f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Ось координат с фиксированными значениями

2016-01-29 Thread 'Sergey Grabkovsky' via Google Visualization API
Привет,

Если вы хотите что-бы на шкале были какие-то конкретные числа, это можно
сделать вот так: http://jsfiddle.net/864nme0u/

On Fri, Jan 29, 2016 at 1:48 AM Биосвязь ЗАО  wrote:

> Всем привет, у меня есть задача сделать такой график. Цветовое оформление
> не важно. Я никак не могу понять, как сделать чтобы числовая шкала была
> фиксированной? Это вообще возможно? То есть на шкале должны быть числа
> (150, 140, 130... 0). А сейчас при построении графика получается, что шкала
> на графике формируется автоматически. Допустим я хочу на графике оставить
> только первую отметку, со значением 150 (то есть будет одна точка) при этом
> остальные значения на оси должны оставаться, как и были от 150 до 0 с шагом
> в 10.
>
>
>
>
> 
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/dff94859-9251-438a-8d2d-0847ac9f49b6%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com *

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5kWUL2FDggxrch7jM0Vp96PUYVvm7uYE_rCcEeeqO4rA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Can i do it with google

2016-01-29 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Roger,

It is not currently possible to create something like this with Google
Charts. Sadly, Google Charts doesn't help with creating custom
visualizations yet, but focuses on providing prepackaged charts that are
useful.

On Thu, Jan 28, 2016 at 9:39 PM Roger cuevas 
wrote:

> Hi, is possible doing something like this http://jsfiddle.net/o9hwqkuf/
> with google charts? And if so, can i add more mouse events and draw contour
> of the segments?
>
> As you can see on the code, there is two data and we give them the size,
> and we want to put it dynamic with an interaction with the user, and
> besides changing the size of the arcs, we want to be able to ad more
> dynamic, like a user right click on the donut and then a line is been
> created on the mouse which can leave on any place, therefore creating
> another arc, and obviously we want to change the color on the way.
>
> We start to think that we can accomplish everything i wrote with D3, but
> we haven't fully understand it, and we would like to try with something
> else.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/38e240f7-6df6-4fd3-8e77-abc14bedde95%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com *

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5HyF584VxDirKkxc_-izTTJMaUf9%3D5ciwD5BL8cGDGhQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] different between new google.charts.Bar & google.visualization.ComboChart

2016-01-29 Thread 'Sergey Grabkovsky' via Google Visualization API
Forgot to answer the second part of your question, about the jsfiddle. If
you're asking whether the Classic Charts support axis formatting options,
they do: https://jsfiddle.net/88z92w4p/

On Fri, Jan 29, 2016 at 10:03 AM Sergey Grabkovsky 
wrote:

> I don't have any estimates for when you might expect getImageURI for
> Material Charts. We are currently prioritizing other features.
>
> On Fri, Jan 29, 2016 at 1:46 AM natarajan govindavel <
> natarajan...@gmail.com> wrote:
>
>> Hi Sergey,
>>
>> Thank you so much for your help. And one more help
>> When can we expect this feature (getImageURI()) because one of my client
>> really want this.
>> Can we do this kind dynamic charts in Classical Chart(ref below)?
>> https://jsfiddle.net/vqaLpc23/
>>
>> Thanks
>> Natarajan
>>
>>
>> On Thursday, January 28, 2016 at 8:31:40 PM UTC+5:30, Sergey wrote:
>>
>>> Hi Natarajan,
>>>
>>> Your jsfiddle link doesn't link to your jsfiddle (it just links to an
>>> empty fiddle). You need to save your fiddle before it gives you a valid
>>> link. Presumably, you're talking about .getImageURI(), which is not
>>> supported for Material Charts.
>>>
>> On Thu, Jan 28, 2016 at 6:28 AM natarajan govindavel 
>>> wrote:
>>>
>> Hi Sergey,

 Do we have Export Option in Material Chart?
 Can we do this kind dynamic charts in Classical Chart(ref below)?
 https://jsfiddle.net/api/post/library/pure/

 Thanks
 Natarajan Govindavel


 On Monday, January 25, 2016 at 9:01:05 PM UTC+5:30, Sergey wrote:

> Hi Natarajan,
>
> The issue you are talking about now is a known issue. There are known
> issues with text measurement with invisible divs. The recommended
> workaround is to delay the chart rendering until the div becomes visible.
>
 On Mon, Jan 25, 2016 at 10:09 AM natarajan govindavel <
> natara...@gmail.com> wrote:
>
 Hi Sergey,
>>
>> Thank you for your reply.
>> I have one more problem.
>> The Chart inside the tab which is not active(div display:none). The
>> chart not displayed properly.
>> If i make it visibility : Hidden/Visible it is rendering properly but
>> shows lot of empty space in the page.
>> Is this issue resolved?
>> Any fix available for this?
>>
>>
>>
>> On Friday, January 22, 2016 at 8:11:08 PM UTC+5:30, Sergey wrote:
>>
>>> The Material Charts support putting the legend on the right or the
>>> left, but not on top or bottom.
>>>
>>> On Fri, Jan 22, 2016 at 3:53 AM natarajan govindavel <
>>> natara...@gmail.com> wrote:
>>>
>> Hi Sergey,

 Thanks you so much for your quick response.
 dataArray[2] is a type of DataTable only and which is generated
 dynamically from code behind.
 And one more clarification is legend position supported by Material
 Charts?
 Anyway i going to refer that link which is given by you.
 Please add some more points that are already which is very useful
 for me.

 Thanks again
 Natarajan Govindavel

 and


 On Thursday, January 21, 2016 at 10:23:07 PM UTC+5:30, Sergey wrote:

> Hi Natarajan,
>
> The first difference between the two is that the latter is a combo
> chart. This means that it supports multiple series types, like line,
> scatter, bar, and candlestick; where the first chart 
> (google.charts.Bar)
> only supports bars.
>
> The second difference is that google.charts.Bar is a Material
> Chart, which effectively just means that it follows the Material
> Design specification , and
> google.visualization.{BarChart,ColumnChart,ComboChart} are our 
> "Classic"
> Charts, which means that they precede Material Design.
>
> The Material Charts are newer, which also means that they don't
> support a lot of the features that the Classic Charts do. Here is
> a bug tracking all the unsupported features
> .
> Note that "annotations" are on that list, which answers your last 
> question:
> you currently cannot add annotations to Material Charts.
>
> On a side note, I'm not sure where you got the example that passes
> "dataArray[2]" to the Material Chart's draw call, but that seems 
> wrong. It
> takes a DataTable, exactly like the Classic Charts do.
>
> On Thu, Jan 21, 2016 at 8:53 AM natarajan govindavel <
> natara...@gmail.com> wrote:
>
  var chart = new
>> google.charts.Bar(document.getElementById('div_id_3'));
>> chart.draw(dataArray[2],
>> google.charts.Bar.convertOptions(options2));
>>
>> And
>>
>>

Re: [visualization-api] different between new google.charts.Bar & google.visualization.ComboChart

2016-01-29 Thread 'Sergey Grabkovsky' via Google Visualization API
I don't have any estimates for when you might expect getImageURI for
Material Charts. We are currently prioritizing other features.

On Fri, Jan 29, 2016 at 1:46 AM natarajan govindavel 
wrote:

> Hi Sergey,
>
> Thank you so much for your help. And one more help
> When can we expect this feature (getImageURI()) because one of my client
> really want this.
> Can we do this kind dynamic charts in Classical Chart(ref below)?
> https://jsfiddle.net/vqaLpc23/
>
> Thanks
> Natarajan
>
>
> On Thursday, January 28, 2016 at 8:31:40 PM UTC+5:30, Sergey wrote:
>
>> Hi Natarajan,
>>
>> Your jsfiddle link doesn't link to your jsfiddle (it just links to an
>> empty fiddle). You need to save your fiddle before it gives you a valid
>> link. Presumably, you're talking about .getImageURI(), which is not
>> supported for Material Charts.
>>
> On Thu, Jan 28, 2016 at 6:28 AM natarajan govindavel 
>> wrote:
>>
> Hi Sergey,
>>>
>>> Do we have Export Option in Material Chart?
>>> Can we do this kind dynamic charts in Classical Chart(ref below)?
>>> https://jsfiddle.net/api/post/library/pure/
>>>
>>> Thanks
>>> Natarajan Govindavel
>>>
>>>
>>> On Monday, January 25, 2016 at 9:01:05 PM UTC+5:30, Sergey wrote:
>>>
 Hi Natarajan,

 The issue you are talking about now is a known issue. There are known
 issues with text measurement with invisible divs. The recommended
 workaround is to delay the chart rendering until the div becomes visible.

>>> On Mon, Jan 25, 2016 at 10:09 AM natarajan govindavel <
 natara...@gmail.com> wrote:

>>> Hi Sergey,
>
> Thank you for your reply.
> I have one more problem.
> The Chart inside the tab which is not active(div display:none). The
> chart not displayed properly.
> If i make it visibility : Hidden/Visible it is rendering properly but
> shows lot of empty space in the page.
> Is this issue resolved?
> Any fix available for this?
>
>
>
> On Friday, January 22, 2016 at 8:11:08 PM UTC+5:30, Sergey wrote:
>
>> The Material Charts support putting the legend on the right or the
>> left, but not on top or bottom.
>>
>> On Fri, Jan 22, 2016 at 3:53 AM natarajan govindavel <
>> natara...@gmail.com> wrote:
>>
> Hi Sergey,
>>>
>>> Thanks you so much for your quick response.
>>> dataArray[2] is a type of DataTable only and which is generated
>>> dynamically from code behind.
>>> And one more clarification is legend position supported by Material
>>> Charts?
>>> Anyway i going to refer that link which is given by you.
>>> Please add some more points that are already which is very useful
>>> for me.
>>>
>>> Thanks again
>>> Natarajan Govindavel
>>>
>>> and
>>>
>>>
>>> On Thursday, January 21, 2016 at 10:23:07 PM UTC+5:30, Sergey wrote:
>>>
 Hi Natarajan,

 The first difference between the two is that the latter is a combo
 chart. This means that it supports multiple series types, like line,
 scatter, bar, and candlestick; where the first chart 
 (google.charts.Bar)
 only supports bars.

 The second difference is that google.charts.Bar is a Material
 Chart, which effectively just means that it follows the Material
 Design specification , and
 google.visualization.{BarChart,ColumnChart,ComboChart} are our 
 "Classic"
 Charts, which means that they precede Material Design.

 The Material Charts are newer, which also means that they don't
 support a lot of the features that the Classic Charts do. Here is
 a bug tracking all the unsupported features
 .
 Note that "annotations" are on that list, which answers your last 
 question:
 you currently cannot add annotations to Material Charts.

 On a side note, I'm not sure where you got the example that passes
 "dataArray[2]" to the Material Chart's draw call, but that seems 
 wrong. It
 takes a DataTable, exactly like the Classic Charts do.

 On Thu, Jan 21, 2016 at 8:53 AM natarajan govindavel <
 natara...@gmail.com> wrote:

>>>  var chart = new
> google.charts.Bar(document.getElementById('div_id_3'));
> chart.draw(dataArray[2],
> google.charts.Bar.convertOptions(options2));
>
> And
>
>
> google.visualization.ComboChart(document.getElementById('chart_div'));
>
>   chart.draw(view,options)
>
> what is the different between these two?
>
> How to add Annotation text for first one
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Google Visualization API"