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

2016-01-28 Thread Биосвязь ЗАО


Всем привет, у меня есть задача сделать такой график. Цветовое оформление 
не важно. Я никак не могу понять, как сделать чтобы числовая шкала была 
фиксированной? Это вообще возможно? То есть на шкале должны быть числа 
(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.


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

2016-01-28 Thread natarajan govindavel
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" 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.
>>>
>>>
 Visi

[visualization-api] Can i do it with google

2016-01-28 Thread Roger cuevas
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.


[visualization-api] select entire column on table chart

2016-01-28 Thread sylviat84
I am trying to select an entire column (programmatically) on a table chart 
like this:

chart.setSelection([{row: null, column: 3}]);  // select column 3, all rows

It's not working.

Any advice would be appreciated.

thank you.

-- 
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/8f1d7569-13be-4605-ac7e-c02fe211dd89%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] AngularJS2 receiving event from Google Chart

2016-01-28 Thread Gareth Lewis
I'm trying to retrieve an event from Google Charts when the user selects a 
section of a Pie Chart, and the chart is inside an Angular JS 2 component.

These lines set up the graph and event handler.

this.chart = new 
google.visualization.PieChart(document.getElementById('chart_div'));
google.visualization.events.addListener(this.chart, 'select', 
this.mySelectHandler);

In a standard Javascript application, i.e. one not using Angular JS 2, the 
event handler will be fired and you can retrieve information from the 
datatable.

mySelectHandler() {
console.trace();
console.log("Chart: " + this);
let selectedItem = this.chart.getSelection()[0];
if (selectedItem) {
  let value = this.data.getValue(selectedItem.row, 0);
  console.log("The user selected: " + value);
}
  }

In Angular JS 2, the method is called, but the code after console.log 
throws exceptions, as the scope variable, this, doesn't exist.  It appears 
Google Charts is calling my event handler which is fine, but in a different 
'context' so none of the Angular JS 2 fields and methods are available.  Is 
there any way to 'export' this event through to the Angular JS 2 component?

I've see the AngularJS-Chart directive, but that is for Angular 1 and we 
aren't even going to look at using that.

Thanks,

Gareth Lewis.

-- 
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/6dfd90d7-c7b7-4ba3-a7e6-b2666c1c4399%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] invoke tooltip programmatically form selection inconsist

2016-01-28 Thread 'Sergey Grabkovsky' via Google Visualization API
You're welcome!

For further clarification, the primary difference lies in the fact that a
ColumnChart may have multiple series (which are represented as columns),
where for a pie chart, each row is a series, and it may not have another
column that represents data. Therefore, for a PieChart, the selection model
is row-based (specify a row with a null column), but for a ColumnChart, the
selection model is cell-based (specify a valid row and column).

On Thu, Jan 28, 2016 at 11:21 AM Sylvia Trembowelski 
wrote:

> Thank you so much.  From your example I was able to figure out my error.
>
> I was setting 'column: null’  in
> chart.setSelection([{row: row, column: null]);
> for both piechart and column chart.
>
> It works in piechart.  I changed ‘column:1’ for column chart, as per your
> example, and it too works perfectly.
>
> Thanks so much for the great, prompt response.
>
> On Jan 28, 2016, at 10:00 AM, 'Sergey Grabkovsky' via Google Visualization
> API  wrote:
>
> Hi,
>
> I attempted to reproduce this issue for a column chart, but was unable to.
> Here's an example of a ColumnChart using programmatic setSelection to
> select a random datum every 2 seconds: http://jsfiddle.net/ad34m3or/
>
> If this doesn't help you with your issue, please post a link to either
> your website or a jsfiddle that reproduces the issue that you're
> experiencing.
>
> On Wed, Jan 27, 2016 at 8:40 PM sylviat84  wrote:
>
>> I have 2 screens:
>>
>> 1- has (a) piechart and (b) tablechart, both generated with same
>> underlying data
>> 2- has (a) column chart and (b) tablechart, also both generated with same
>> underlying data
>>
>> On both 1- and 2- there are selection listeners on all charts such that
>>  (a) listens for a selection on (b) and vice versa.  When an item is
>> selected in (a), (b) updates it's selection to match (a), and vice versa.
>>
>> Tooltip option is "tooltip : {trigger: 'selection'} " on both the
>> piechart (1-(a)) as well as  the table chart (2-(a)).
>> When the user clicks directly on 1-(a) or 2-(a) the tooltip works fine.
>> But, when the user invokes a select event programmatically, the tooltip
>> works on the piechart but does not work not on the column chart.
>>
>> Gory details:
>> on screen 1-, when the user clicks an item in (b), the piechart (a) is
>> visibly selected & the tooltip DOES appear.
>> on screen 2-, when the user clicks an item in (b),  the column chart (a)
>> is also visibly selected but --PROBLEM: the tooltip does NOT appear--.
>>
>> Any explanation/fix for this?
>>
>> thanks very much
>>
>>
>>
>>
>>
>> --
>> 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/6d86e91b-7b74-484b-8957-1ac5ea47fcf3%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 a topic in the
> Google Groups "Google Visualization API" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-visualization-api/nKkJA7d5IY8/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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/CAEwwup4LMEPsjNdHZVjQ5_g1N0smAK%2Bsy9EYm0W9OgYfvdhSxg%40mail.gmail.com
> 
> .
>
>
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> 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-a

Re: [visualization-api] invoke tooltip programmatically form selection inconsist

2016-01-28 Thread Sylvia Trembowelski
Thank you so much.  From your example I was able to figure out my error.
 
I was setting 'column: null’  in 
chart.setSelection([{row: row, column: null]);
for both piechart and column chart.

It works in piechart.  I changed ‘column:1’ for column chart, as per your 
example, and it too works perfectly.  

Thanks so much for the great, prompt response.

> On Jan 28, 2016, at 10:00 AM, 'Sergey Grabkovsky' via Google Visualization 
> API  wrote:
> 
> Hi,
> 
> I attempted to reproduce this issue for a column chart, but was unable to. 
> Here's an example of a ColumnChart using programmatic setSelection to select 
> a random datum every 2 seconds: http://jsfiddle.net/ad34m3or/ 
> 
> 
> If this doesn't help you with your issue, please post a link to either your 
> website or a jsfiddle that reproduces the issue that you're experiencing.
> 
> On Wed, Jan 27, 2016 at 8:40 PM sylviat84  > wrote:
> I have 2 screens:
> 
> 1- has (a) piechart and (b) tablechart, both generated with same underlying 
> data
> 2- has (a) column chart and (b) tablechart, also both generated with same 
> underlying data
> 
> On both 1- and 2- there are selection listeners on all charts such that  (a) 
> listens for a selection on (b) and vice versa.  When an item is selected in 
> (a), (b) updates it's selection to match (a), and vice versa.  
> 
> Tooltip option is "tooltip : {trigger: 'selection'} " on both the piechart 
> (1-(a)) as well as  the table chart (2-(a)).
> When the user clicks directly on 1-(a) or 2-(a) the tooltip works fine.  
> But, when the user invokes a select event programmatically, the tooltip works 
> on the piechart but does not work not on the column chart.
> 
> Gory details:  
> on screen 1-, when the user clicks an item in (b), the piechart (a) is 
> visibly selected & the tooltip DOES appear.
> on screen 2-, when the user clicks an item in (b),  the column chart (a) is 
> also visibly selected but --PROBLEM: the tooltip does NOT appear--.
> 
> Any explanation/fix for this?
> 
> thanks very much
> 
> 
> 
> 
> 
> -- 
> 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/6d86e91b-7b74-484b-8957-1ac5ea47fcf3%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .
> -- 
> 
> 
> • 
>  Sergey Grabkovsky
> •
>  Software Engineer
> •
>  Google, Inc
> •
>  gra...@google.com 
> 
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "Google Visualization API" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/google-visualization-api/nKkJA7d5IY8/unsubscribe
>  
> .
> To unsubscribe from this group and all its topics, 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/CAEwwup4LMEPsjNdHZVjQ5_g1N0smAK%2Bsy9EYm0W9OgYfvdhSxg%40mail.gmail.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
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 

Re: [visualization-api] maxLines in piechart

2016-01-28 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Germán,

The 'maxLines' option specifies the *maximum* number of lines that would be
used, it does not guarantee that 2 lines will always be used. If some text
needs to be wrapped, then it will be wrapped up to two lines; if the text
never needs to be wrapped, then the option will effectively be ignored.

Moreso, the 'maxLines' option is disabled for legend: position: 'top'.

On Thu, Jan 28, 2016 at 10:42 AM Germán Kuchen 
wrote:

> Hello. When I put the next code:
> http://www.w3.org/1999/xhtml";>
>   
> 
>  http-equiv="Content-Type">
> https://www.google.com/jsapi
> ">
> 
>
>   google.load('visualization', '1.0', {'packages':['corechart']});
>   google.setOnLoadCallback(drawChart);
> function drawChart() {
> var data = google.visualization.arrayToDataTable([
> ['Tipo', 'Cantidad'],
> ['SECUNDARIO: 25939', 25939],
> ['PRIMARIO: 14304', 14304]
> ]);
>
>   var options = {'colors':
> ['#F58426','#DFD378','#63544A','#B4D8DD','#FBC49C','#E0DDDB','#F58426','#DFD378','#63544A','#B4D8DD','#FBC49C','#E0DDDB'],
> 'chartArea':{left:0, top: '30%', width:'100%', height:'70%'},
> 'tooltip': {text:'percentage', showColorCode:true,
> ignoreBounds:true},
> 'legend':{position: 'top',maxLines: 2},
>  'width':236
> };
>
> var chart = new
> google.visualization.PieChart(document.getElementById('chart_div'));
> chart.draw(data, options);
> }
> 
>   
>
>   
> 
>   
> 
>
> The graph don't show the legend with 2 rows, what is the problem?
>
> --
> 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/d50b89bc-e50c-4671-b1b0-f58706b49e71%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/CAEwwup5Vi-KQOXY8DK63dfEr%3DXjU4hYvXbg4g7Ks_q%3D0-zcW%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] maxLines in piechart

2016-01-28 Thread Germán Kuchen
Hello. When I put the next code:
http://www.w3.org/1999/xhtml";>
  


https://www.google.com/jsapi";>


  google.load('visualization', '1.0', {'packages':['corechart']});
  google.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Tipo', 'Cantidad'],
['SECUNDARIO: 25939', 25939],
['PRIMARIO: 14304', 14304]
]);

  var options = {'colors': 
['#F58426','#DFD378','#63544A','#B4D8DD','#FBC49C','#E0DDDB','#F58426','#DFD378','#63544A','#B4D8DD','#FBC49C','#E0DDDB'],
'chartArea':{left:0, top: '30%', width:'100%', height:'70%'},
'tooltip': {text:'percentage', showColorCode:true, 
ignoreBounds:true},
'legend':{position: 'top',maxLines: 2},
 'width':236
};
 
var chart = new 
google.visualization.PieChart(document.getElementById('chart_div'));
chart.draw(data, options);
}

  

  

  


The graph don't show the legend with 2 rows, what is the problem?

-- 
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/d50b89bc-e50c-4671-b1b0-f58706b49e71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Data volume supported by Timeline chart ?

2016-01-28 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Bhavesh,

The amount of data supported by the Timeline chart is limited purely by the
computer's specs. On certain (possibly even most) computers, 1 million
records will be a lot to handle, and the page would run pretty slowly. Not
to mention that displaying 1 million records on a Timeline seems
impractical, since that many rectangles would be difficult to read and
interact with.

On Thu, Jan 28, 2016 at 9:11 AM Bhavesh Shah  wrote:

> Hi
>
> what volume of data is supported by Timeline chart , lets say i have 1
> Million records , will Timeline chart able to render data ?
>
> -Bhavesh
>
> --
> 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/97793fd4-d1c3-4591-95d3-1cad3bc17fe2%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/CAEwwup5Y22EnKLDeHjcD2H-t6AsSBLdpnLyU2J458EhE4swxWA%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-28 Thread 'Sergey Grabkovsky' via Google Visualization API
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 
>> 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" 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/cdc705b3-181b-4028-b924-bd88cfafbd43%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>>
>> *[image: unnamed.gif]• Sergey

Re: [visualization-api] invoke tooltip programmatically form selection inconsist

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

I attempted to reproduce this issue for a column chart, but was unable to.
Here's an example of a ColumnChart using programmatic setSelection to
select a random datum every 2 seconds: http://jsfiddle.net/ad34m3or/

If this doesn't help you with your issue, please post a link to either your
website or a jsfiddle that reproduces the issue that you're experiencing.

On Wed, Jan 27, 2016 at 8:40 PM sylviat84  wrote:

> I have 2 screens:
>
> 1- has (a) piechart and (b) tablechart, both generated with same
> underlying data
> 2- has (a) column chart and (b) tablechart, also both generated with same
> underlying data
>
> On both 1- and 2- there are selection listeners on all charts such that
>  (a) listens for a selection on (b) and vice versa.  When an item is
> selected in (a), (b) updates it's selection to match (a), and vice versa.
>
> Tooltip option is "tooltip : {trigger: 'selection'} " on both the
> piechart (1-(a)) as well as  the table chart (2-(a)).
> When the user clicks directly on 1-(a) or 2-(a) the tooltip works fine.
> But, when the user invokes a select event programmatically, the tooltip
> works on the piechart but does not work not on the column chart.
>
> Gory details:
> on screen 1-, when the user clicks an item in (b), the piechart (a) is
> visibly selected & the tooltip DOES appear.
> on screen 2-, when the user clicks an item in (b),  the column chart (a)
> is also visibly selected but --PROBLEM: the tooltip does NOT appear--.
>
> Any explanation/fix for this?
>
> thanks very much
>
>
>
>
> --
> 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/6d86e91b-7b74-484b-8957-1ac5ea47fcf3%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/CAEwwup4LMEPsjNdHZVjQ5_g1N0smAK%2Bsy9EYm0W9OgYfvdhSxg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Data volume supported by Timeline chart ?

2016-01-28 Thread Bhavesh Shah
Hi 

what volume of data is supported by Timeline chart , lets say i have 1 
Million records , will Timeline chart able to render data ?

-Bhavesh

-- 
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/97793fd4-d1c3-4591-95d3-1cad3bc17fe2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Population pyramid charts

2016-01-28 Thread 'Daniel LaLiberte' via Google Visualization API
We don't have that kind of chart specifically, but you can just use stacked
bars with positive and negative values to get the same effect.  You can get
the different colors by using two different series, and you can provide
annotations that will be displayed as shown in that image.  Hope that
provides enough clues.

On Thu, Jan 28, 2016 at 7:52 AM, Saude Direta  wrote:

> Where can I find in Google Developers tools?
>
> --
> 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/9908881a-1281-4820-aa78-091a7916af94%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte 
dlalibe...@google.com5CC, Cambridge MA

-- 
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/CAOtcSJPSScZydDauWSi4qM7DjZZJkDrHGDrR4K086EVsXT%3DvPg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Population pyramid charts

2016-01-28 Thread Saude Direta
Where can I find in Google Developers tools ?

-- 
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/9908881a-1281-4820-aa78-091a7916af94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Pyramid.pdf
Description: Adobe PDF document


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

2016-01-28 Thread natarajan govindavel
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  > 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" 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/cdc705b3-181b-4028-b924-bd88cfafbd43%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-visua...@googlegroups.com.