Re: [visualization-api] Where is the documentation?

2016-05-31 Thread 'Daniel LaLiberte' via Google Visualization API
Every type of chart has, potentially, a different set of options.  Many
option are shared across chart types, but sometimes have different
interpretations, or different possible values.  So the answer to your
question is, go to the docs for the chart type you are interested in and
you will see all the options available for it.  E.g. for the LineChart,
see:
https://developers.google.com/chart/interactive/docs/gallery/linechart#configuration-options

On Tue, May 31, 2016 at 7:37 PM, Robert Bethge 
wrote:

> Seriously!
> Where are all possible options of the Visualization API documented? There
> are lots of (useful!) examples, but I can't seem to find the full blown
> docs. Any hints!
>
> I'd appreciate it!
> Regards,
> Robert
>
> --
> 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/62637f9f-aeaf-4736-8544-7beff67ad3e4%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/CAOtcSJOWMUWV%2B%3Dy1VCLqmmj-YHDmy8U_dRUS1WVoz-1Gw%3DCX3Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Re: Line chart did not parse February correctly for dd/mm/yyyy dates

2016-05-31 Thread Rufeng
Somebody opened issue 2278 on the tracker and I added more info there:

https://github.com/google/google-visualization-issues/issues/2278

On Monday, May 30, 2016 at 8:13:02 AM UTC+8, Rufeng wrote:
>
> Link chart draws funny kinks when plotting February data points in 
> dd/mm/ format.
>
> e.g. see my first two charts: http://coe.sgcharts.com/
>
> The dates were
> 03/02/2016 - drawn incorrectly as March
> 17/02/2016 - drawn incorrectly as March
> 09/03/2016 - OK
> 23/03/2016 - OK
>
> and affected all Feb data points in previous years.
>
> Backing spreadsheet:
>
> https://docs.google.com/spreadsheets/d/1Ma8dm_rdtdfNp8ONUG5ykFHwrEg1GFC3ObOMualMVBM/edit?usp=sharing
>
> The charts look fine 2 weeks ago and I have not touched the code for a 
> long while. Was wondering what happened.
>
> Would like to check here in the forums before I submit an issue to the 
> tracker . 
> 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/262aecaa-0f48-49f9-bed1-6a4c953f380e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Where is the documentation?

2016-05-31 Thread Robert Bethge
Seriously!
Where are all possible options of the Visualization API documented? There 
are lots of (useful!) examples, but I can't seem to find the full blown 
docs. Any hints!

I'd appreciate it!
Regards,
Robert

-- 
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/62637f9f-aeaf-4736-8544-7beff67ad3e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Is there any way to reduce the amount of white space around a given chart?

2016-05-31 Thread Sarah Rich
I've made a few pie charts, and I've successfully tweaked them to appear 
the way I want them to – except that there is more white space surrounding 
them than necessary. Does anyone know if/how I can reduce the white space 
around my charts? Thanks.

-- 
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/f33f06b1-b1c8-4933-bb36-0a897d8eb7e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: bug?

2016-05-31 Thread Collin Krawll
We were having problem number 1 listed by Daniel.  We were using the 
'latest' version.  Switching to frozen version 44, as described here 
,
 
fixed it.

On Tuesday, May 31, 2016 at 10:53:49 AM UTC-7, Daniel LaLiberte wrote:
>
> It appears there are at least two different date-related bugs that have 
> come up on the jspai loaded version.  
>
> One problem involves dates that are specified with the string notation, 
> e.g. "Date(2016, 4, 30)", which typically occurs when using JSON formatted 
> values especially from spreadsheets.   The bug affects dates when the 
> current date is just before the end of a month.
>
> Another separate problem involves the use of the viewWindow with date 
> values, resulting in the date being one month later.  This probably also 
> affects the DateRangeFilter.   I'm not sure if this problem only shows up 
> at the end of the month also, but we weren't hearing about it until now.
>
>
> On Tue, May 31, 2016 at 12:48 PM, GoogleChartsApiUser  > wrote:
>
>> For the benefit of everyone, I created a JS Fiddle showing the issue:
>>
>> https://jsfiddle.net/manas2004/bprqytbx/
>>
>> // Change Month to 0 (January - Works), 1 (February - Bug), or 2 (March - 
>> Works) to see the BUG
>> // Removing HAxis option will make it work
>>   
>>
>>
>>
>>
>>
>> On Tuesday, May 31, 2016 at 6:43:59 PM UTC+2, da wrote:
>>>
>>> 1. My data comes from the JSON data coming from the GoogleCharts API 
>>> (servlet)
>>>
>>> 2. Showed up just before the end of the month. Not all months. I noticed 
>>> this last Feb (28 days) and May (31 days). 
>>>
>>> Note: March has 31 days but I didn't see this then.
>>>
>>> -- 
>> 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/0ffc7ecb-9c5b-4d7a-9920-da0f951b6293%40googlegroups.com
>>  
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Daniel LaLiberte 
> dlali...@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/ec186526-75bc-4090-b104-7265983ff726%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: Bug with ChartRangeFilter?

2016-05-31 Thread 'Daniel LaLiberte' via Google Visualization API
Yes, you probably are running into the same problem.  It is possible to
work around by changing the version you are loading:
https://jsfiddle.net/dlaliberte/afatrzny/5/

On Tue, May 31, 2016 at 3:26 PM, Chuck Tung  wrote:

> Looks like I'm running into the same thing as this bug:
>
> https://groups.google.com/d/msg/google-visualization-api/sX0anYhk4fs/tYUqjA5hAQAJ
>
>>
>> --
> 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/7361b035-cf70-4dee-9a33-ec45c2edcd10%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/CAOtcSJNj%3DTGGze2EOkfviDJ9TKufrOvnTTc_cXu1RCycixeFSQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Re: Bug with ChartRangeFilter?

2016-05-31 Thread Chuck Tung
Looks like I'm running into the same thing as this bug:
https://groups.google.com/d/msg/google-visualization-api/sX0anYhk4fs/tYUqjA5hAQAJ

>
>

-- 
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/7361b035-cf70-4dee-9a33-ec45c2edcd10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Bug with ChartRangeFilter?

2016-05-31 Thread Chuck Tung
https://jsfiddle.net/afatrzny/4/

The chart initially displays correctly, but when you change the slider, all 
the data from April disappears, and then you can't get it back.

Am I doing something wrong?


-- 
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/e00b9684-da71-4235-bb26-15f10bbf2ed1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] hAxis ticks issue when using data.getDistinctValues - big gap

2016-05-31 Thread Marc Simard
Hi Daniel,

Thank you very much for the quick reply! Using the new loader did indeed 
fix the issue.
It's great to have people like yourself actively help us out :)

Here's the updated code:




  

https://www.gstatic.com/charts/loader.js";>



/*
Old Google Chart Loading Method - hAxis ticks issue
google.load("visualization", "1", {packages:["corechart"], 
'language': 'en'});
*/
google.charts.load('current', {packages: ['corechart'], 'language': 
'en'});


  
  

Re: [visualization-api] hAxis ticks issue when using data.getDistinctValues - big gap

2016-05-31 Thread 'Daniel LaLiberte' via Google Visualization API
Thanks for this example.  Use of the explicit ticks option with dates is
causing this problem, probably because it internally sets the viewWindow
min and max which has the same problem.

I don't yet know why this occurs or how to fix it, but you can work around
the problem by using the new www.gstatic.com/charts/loader.js with
'current'.   See
https://developers.google.com/chart/interactive/docs/basic_load_libs#update-library-loader-code

On Tue, May 31, 2016 at 1:08 PM, Marc Simard  wrote:

> Hi there,
>
> I have a chart that used to work well for quite some time. I am not sure
> when the issue first appeared. When using the "ticks:
> data.getDistinctValues(0)" option to define the hAxis, a very big gap is
> now generated in the chart:
>
>
>
> If I remove the tick definition, it seems to get back to normal:
>
>
>
> If I force the ticks to an array of dates (same as the data), it also has
> the issue. Here is the chart code that fails. Any idea if something has
> changed?
>
> 
>
> 
>   
>  >
> 
> google.load("visualization", "1", {packages:["corechart"],
> 'language': 'en'});
> 
>   
>   
> 
>
> google.setOnLoadCallback(monthlyline_B);
> function monthlyline_B()
> {
> var data = new google.visualization.DataTable();
>
> data.addColumn('date', 'Day of the month');
> data.addColumn('number', 'A Values');
> data.addRows([
> [new Date(2016, 4, 15),124],
> [new Date(2016, 4, 16),177],
> [new Date(2016, 4, 17),228],
> [new Date(2016, 4, 18),305],
> [new Date(2016, 4, 19),555],
> [new Date(2016, 4, 20),639],
> [new Date(2016, 4, 21),761],
> [new Date(2016, 4, 22),893],
> [new Date(2016, 4, 23),923],
> [new Date(2016, 4, 24),972],
> [new Date(2016, 4, 25),997],
> [new Date(2016, 4, 26),103],
> [new Date(2016, 4, 27),105],
> [new Date(2016, 4, 28),108],
> [new Date(2016, 4, 29),126],
> [new Date(2016, 4, 30),131],
> [new Date(2016, 4, 31),0],
> [new Date(2016, 5, 1),0],
> [new Date(2016, 5, 2),0],
> [new Date(2016, 5, 3),0],
> [new Date(2016, 5, 4),0],
> [new Date(2016, 5, 5),0],
> [new Date(2016, 5, 6),0],
> [new Date(2016, 5, 7),0],
> [new Date(2016, 5, 8),0],
> [new Date(2016, 5, 9),0],
> [new Date(2016, 5, 10),0],
> [new Date(2016, 5, 11),0],
> [new Date(2016, 5, 12),0],
> [new Date(2016, 5, 13),0],
> [new Date(2016, 5, 14),0]]);
>
> var options = {
>   fontSize: 11,
>   hAxis: {ticks: data.getDistinctValues(0), format: "d",
> minTextSpacing:1,  showTextEvery:1, textPosition: 'out',  titleTextStyle:
> {italic: false, color: 'Black'}, title: "Day of the month", gridlines:{
> count:-1}},
>   series: [{pointSize: 4}]
> };
> var chart = new google.visualization.AreaChart(document.
> getElementById('monthlyline_B'));
> chart.draw(data, options);
>
> }
> 
>
>  
>
>
>   
> 
>
>
>
> --
> 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/b7b65c9e-4de1-4b4c-bd48-3a92a10ed31e%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/CAOtcSJM%3Da0erz2_rAvpt3CYrG4cuFdiyAySjcNZg9u%2BGhk%3DOnw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: bug?

2016-05-31 Thread 'Daniel LaLiberte' via Google Visualization API
It appears there are at least two different date-related bugs that have
come up on the jspai loaded version.

One problem involves dates that are specified with the string notation,
e.g. "Date(2016, 4, 30)", which typically occurs when using JSON formatted
values especially from spreadsheets.   The bug affects dates when the
current date is just before the end of a month.

Another separate problem involves the use of the viewWindow with date
values, resulting in the date being one month later.  This probably also
affects the DateRangeFilter.   I'm not sure if this problem only shows up
at the end of the month also, but we weren't hearing about it until now.


On Tue, May 31, 2016 at 12:48 PM, GoogleChartsApiUser 
wrote:

> For the benefit of everyone, I created a JS Fiddle showing the issue:
>
> https://jsfiddle.net/manas2004/bprqytbx/
>
> // Change Month to 0 (January - Works), 1 (February - Bug), or 2 (March -
> Works) to see the BUG
> // Removing HAxis option will make it work
>
>
>
>
>
>
> On Tuesday, May 31, 2016 at 6:43:59 PM UTC+2, da wrote:
>>
>> 1. My data comes from the JSON data coming from the GoogleCharts API
>> (servlet)
>>
>> 2. Showed up just before the end of the month. Not all months. I noticed
>> this last Feb (28 days) and May (31 days).
>>
>> Note: March has 31 days but I didn't see this then.
>>
>> --
> 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/0ffc7ecb-9c5b-4d7a-9920-da0f951b6293%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/CAOtcSJOAydsTC0QNT0UazkXfuS9cKRWHkM3K_iyD_RqYW0ygxg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] hAxis ticks issue when using data.getDistinctValues - big gap

2016-05-31 Thread Marc Simard
Hi there,

I have a chart that used to work well for quite some time. I am not sure 
when the issue first appeared. When using the "ticks: 
data.getDistinctValues(0)" option to define the hAxis, a very big gap is 
now generated in the chart:



If I remove the tick definition, it seems to get back to normal:



If I force the ticks to an array of dates (same as the data), it also has 
the issue. Here is the chart code that fails. Any idea if something has 
changed?




  


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

  
  


google.setOnLoadCallback(monthlyline_B);
function monthlyline_B() 
{
var data = new google.visualization.DataTable();

data.addColumn('date', 'Day of the month');
data.addColumn('number', 'A Values');
data.addRows([
[new Date(2016, 4, 15),124],
[new Date(2016, 4, 16),177],
[new Date(2016, 4, 17),228],
[new Date(2016, 4, 18),305],
[new Date(2016, 4, 19),555],
[new Date(2016, 4, 20),639],
[new Date(2016, 4, 21),761],
[new Date(2016, 4, 22),893],
[new Date(2016, 4, 23),923],
[new Date(2016, 4, 24),972],
[new Date(2016, 4, 25),997],
[new Date(2016, 4, 26),103],
[new Date(2016, 4, 27),105],
[new Date(2016, 4, 28),108],
[new Date(2016, 4, 29),126],
[new Date(2016, 4, 30),131],
[new Date(2016, 4, 31),0],
[new Date(2016, 5, 1),0],
[new Date(2016, 5, 2),0],
[new Date(2016, 5, 3),0],
[new Date(2016, 5, 4),0],
[new Date(2016, 5, 5),0],
[new Date(2016, 5, 6),0],
[new Date(2016, 5, 7),0],
[new Date(2016, 5, 8),0],
[new Date(2016, 5, 9),0],
[new Date(2016, 5, 10),0],
[new Date(2016, 5, 11),0],
[new Date(2016, 5, 12),0],
[new Date(2016, 5, 13),0],
[new Date(2016, 5, 14),0]]);

var options = {
  fontSize: 11,
  hAxis: {ticks: data.getDistinctValues(0), format: "d", 
minTextSpacing:1,  showTextEvery:1, textPosition: 'out',  titleTextStyle: {
italic: false, color: 'Black'}, title: "Day of the month", gridlines:{count
:-1}},
  series: [{pointSize: 4}]
};
var chart = new google.visualization.AreaChart(document.
getElementById('monthlyline_B'));
chart.draw(data, options);

}


  
   

  




-- 
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/b7b65c9e-4de1-4b4c-bd48-3a92a10ed31e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: bug?

2016-05-31 Thread GoogleChartsApiUser
For the benefit of everyone, I created a JS Fiddle showing the issue:

https://jsfiddle.net/manas2004/bprqytbx/

// Change Month to 0 (January - Works), 1 (February - Bug), or 2 (March - 
Works) to see the BUG
// Removing HAxis option will make it work
  





On Tuesday, May 31, 2016 at 6:43:59 PM UTC+2, da wrote:
>
> 1. My data comes from the JSON data coming from the GoogleCharts API 
> (servlet)
>
> 2. Showed up just before the end of the month. Not all months. I noticed 
> this last Feb (28 days) and May (31 days). 
>
> Note: March has 31 days but I didn't see this then.
>
>

-- 
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/0ffc7ecb-9c5b-4d7a-9920-da0f951b6293%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: bug?

2016-05-31 Thread da
1. My data comes from the JSON data coming from the GoogleCharts API 
(servlet)

2. Showed up just before the end of the month. Not all months. I noticed 
this last Feb (28 days) and May (31 days). 

Note: March has 31 days but I didn't see this then.

-- 
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/483eafae-4f0b-4268-a0ff-4d1fc4771576%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: bug?

2016-05-31 Thread da
1. My data comes from the JSON data coming from the GoogleCharts API 
(servlet)

2. Showed up just before the end of the month. Not all months. I noticed 
this last Feb (28 days) and May (31 days). 

Note: March has 31 days but I didn't see this then.




On Tuesday, May 31, 2016 at 8:32:22 AM UTC-7, Daniel LaLiberte wrote:
>
> I still haven't seen the problem myself, which makes it difficult to 
> debug.  
>
> It appears people are reporting the problem when getting data from 
> spreadsheets, but it only shows up just before the end of each month.  
>
> This problem may involve a recent change of how the string notation for 
> dates, e.g. "Date(2015, 11, 1)", was parsed, though it is not yet clear 
> how.  We have made an additional change which will be more robust, but this 
> change won't make it to the version loaded with 
> https://www.google.com/jsapi, at least not any time soon.To get the 
> latest updates, please use the new loader at 
> https://www.gstatic.com/charts/loader.js.
>
>
> On Tue, May 31, 2016 at 11:03 AM, Volodymyr Naumenko  > wrote:
>
>> ... charts have started to work incorrectly since May-30 2016. There 
>> where no changes in data...
>>
>>
>> Best regards,
>> Volodymyr Naumenko
>> naumenkov.wix.com/personaladvisor
>> fb 
>> 
>> ...
>>
>> On Tue, May 31, 2016 at 5:38 PM, GoogleChartsApiUser > > wrote:
>>
>>> We resolved it in our page by removing hAxis.viewWindow min, max, 
>>> and explicit. If we put those, the chart does render incorrectly as 
>>> suggested in the above posts.
>>>
>>> On Tuesday, May 31, 2016 at 4:04:36 PM UTC+2, Daniel LaLiberte wrote:

 I inserted a line chart using your data, and it looks fine to me:  


 I believe the problem some people are seeing must involve an 
 incompatibility with spreadsheet data and what charts expect.  Or perhaps 
 there is a locale or timezone related issue. 
 ​

 On Tue, May 31, 2016 at 6:33 AM, Volodymyr Naumenko <
 naumenk...@gmail.com> wrote:

> The same problem...
>
> https://docs.google.com/spreadsheets/d/1r7BnW-glT4594Usv9kCKiKmYDyBO6f9mCmcVzh3J2uk/edit?usp=sharing
> November rendered like December...
>
>
> 
>
>
> On Tuesday, May 31, 2016 at 1:13:31 PM UTC+3, GoogleChartsApiUser 
> wrote:
>>
>> We're seeing this as well. If we remove the min and max on the 
>> H-Axis, it starts working. else, the min and max seems to be interpreted 
>> incorrectly. This was working correctly till few hours back.
>>
>>
>> On Tuesday, May 31, 2016 at 9:28:03 AM UTC+2, da wrote:
>>>
>>> Hello Google Charts,
>>>
>>> FYI
>>>
>>> It happened again. February data is plotted in March. 
>>>
>>>
>>>
>>>
>>>
>>> On Saturday, April 30, 2016 at 9:32:49 AM UTC-7, da wrote:


 All of a sudden all FEB data is plotted in MARCH 
 I have had this running for over a year now but just saw this 
 happen. Nothing has changed at all. 

 Any 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-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/9794fa23-6fb6-4cab-9519-943fddb52193%40googlegroups.com
>  
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



 -- 
 Daniel LaLiberte 
 
 dlali...@google.com   5CC, Cambridge MA

>>> -- 
>>> 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/sX0anYhk4fs/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-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-visu

[visualization-api] Re: bug?

2016-05-31 Thread richd via Google Visualization API

We are having the problem with line charts.  We are using 

https://www.google.com/jsapi

and

google.load('visualization', '1', {'callback': doStuff});

I tried switching to https://www.gstatic.com/charts/loader.js and 

google.charts.load('current', {packages: ['corechart']});
google.charts.setOnLoadCallback(doStuff);

That produced a good line chart.  But switching the library everywhere is 
also difficult for us.

Btw, the date values in our DataTable are all produced like 
this {"v":"Date(2016,0,1)"} in json passed to DataTable constructor.  I 
don't think there's anything wrong with the data.


-- 
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/36c42b65-a768-49d0-bed5-5b1c2ec4a3f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] How to change text of a window^ which appears when you click on any chart point?

2016-05-31 Thread Alexander Pliskin
What to do if I want to add my own text in that window?

-- 
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/34582749-064a-4796-b021-ffe5ddcab36f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: bug?

2016-05-31 Thread santiago . boselli
Hi Daniel,

We're seeing the same problem, but our data is coming directly from 
Redshift (we are on a different locale however, but we're using a standard 
format).

This is the string the chart is receiving for the date value:

Mon May 30 2016 00:00:00 GMT-0300 (ART)

This has been working in production for the past year or so.

A hotfix is out of the question? If we have to change the loader 
everywhere, we might end up changing Gcharts all together and I'd rather 
not right now. 

Hope this helps somehow.

El martes, 31 de mayo de 2016, 12:32:22 (UTC-3), Daniel LaLiberte escribió:
>
> I still haven't seen the problem myself, which makes it difficult to 
> debug.  
>
> It appears people are reporting the problem when getting data from 
> spreadsheets, but it only shows up just before the end of each month.  
>
> This problem may involve a recent change of how the string notation for 
> dates, e.g. "Date(2015, 11, 1)", was parsed, though it is not yet clear 
> how.  We have made an additional change which will be more robust, but this 
> change won't make it to the version loaded with 
> https://www.google.com/jsapi, at least not any time soon.To get the 
> latest updates, please use the new loader at 
> https://www.gstatic.com/charts/loader.js.
>
>
> On Tue, May 31, 2016 at 11:03 AM, Volodymyr Naumenko  > wrote:
>
>> ... charts have started to work incorrectly since May-30 2016. There 
>> where no changes in data...
>>
>>
>> Best regards,
>> Volodymyr Naumenko
>> naumenkov.wix.com/personaladvisor
>> fb 
>> 
>> ...
>>
>> On Tue, May 31, 2016 at 5:38 PM, GoogleChartsApiUser > > wrote:
>>
>>> We resolved it in our page by removing hAxis.viewWindow min, max, 
>>> and explicit. If we put those, the chart does render incorrectly as 
>>> suggested in the above posts.
>>>
>>> On Tuesday, May 31, 2016 at 4:04:36 PM UTC+2, Daniel LaLiberte wrote:

 I inserted a line chart using your data, and it looks fine to me:  


 I believe the problem some people are seeing must involve an 
 incompatibility with spreadsheet data and what charts expect.  Or perhaps 
 there is a locale or timezone related issue. 
 ​

 On Tue, May 31, 2016 at 6:33 AM, Volodymyr Naumenko <
 naumenk...@gmail.com> wrote:

> The same problem...
>
> https://docs.google.com/spreadsheets/d/1r7BnW-glT4594Usv9kCKiKmYDyBO6f9mCmcVzh3J2uk/edit?usp=sharing
> November rendered like December...
>
>
> 
>
>
> On Tuesday, May 31, 2016 at 1:13:31 PM UTC+3, GoogleChartsApiUser 
> wrote:
>>
>> We're seeing this as well. If we remove the min and max on the 
>> H-Axis, it starts working. else, the min and max seems to be interpreted 
>> incorrectly. This was working correctly till few hours back.
>>
>>
>> On Tuesday, May 31, 2016 at 9:28:03 AM UTC+2, da wrote:
>>>
>>> Hello Google Charts,
>>>
>>> FYI
>>>
>>> It happened again. February data is plotted in March. 
>>>
>>>
>>>
>>>
>>>
>>> On Saturday, April 30, 2016 at 9:32:49 AM UTC-7, da wrote:


 All of a sudden all FEB data is plotted in MARCH 
 I have had this running for over a year now but just saw this 
 happen. Nothing has changed at all. 

 Any 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-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/9794fa23-6fb6-4cab-9519-943fddb52193%40googlegroups.com
>  
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



 -- 
 Daniel LaLiberte 
 
 dlali...@google.com   5CC, Cambridge MA

>>> -- 
>>> 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/sX0anYhk4fs/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to 
>>> google-visualization-api+unsubscr...@googlegroups.com

Re: [visualization-api] Re: bug?

2016-05-31 Thread 'Daniel LaLiberte' via Google Visualization API
I still haven't seen the problem myself, which makes it difficult to debug.


It appears people are reporting the problem when getting data from
spreadsheets, but it only shows up just before the end of each month.

This problem may involve a recent change of how the string notation for
dates, e.g. "Date(2015, 11, 1)", was parsed, though it is not yet clear
how.  We have made an additional change which will be more robust, but this
change won't make it to the version loaded with https://www.google.com/jsapi,
at least not any time soon.To get the latest updates, please use the
new loader at https://www.gstatic.com/charts/loader.js.


On Tue, May 31, 2016 at 11:03 AM, Volodymyr Naumenko <
naumenko.vo...@gmail.com> wrote:

> ... charts have started to work incorrectly since May-30 2016. There where
> no changes in data...
>
>
> Best regards,
> Volodymyr Naumenko
> naumenkov.wix.com/personaladvisor
> fb
> 
> ...
>
> On Tue, May 31, 2016 at 5:38 PM, GoogleChartsApiUser 
> wrote:
>
>> We resolved it in our page by removing hAxis.viewWindow min, max,
>> and explicit. If we put those, the chart does render incorrectly as
>> suggested in the above posts.
>>
>> On Tuesday, May 31, 2016 at 4:04:36 PM UTC+2, Daniel LaLiberte wrote:
>>>
>>> I inserted a line chart using your data, and it looks fine to me:
>>>
>>>
>>> I believe the problem some people are seeing must involve an
>>> incompatibility with spreadsheet data and what charts expect.  Or perhaps
>>> there is a locale or timezone related issue.
>>> ​
>>>
>>> On Tue, May 31, 2016 at 6:33 AM, Volodymyr Naumenko <
>>> naumenk...@gmail.com> wrote:
>>>
 The same problem...

 https://docs.google.com/spreadsheets/d/1r7BnW-glT4594Usv9kCKiKmYDyBO6f9mCmcVzh3J2uk/edit?usp=sharing
 November rendered like December...


 


 On Tuesday, May 31, 2016 at 1:13:31 PM UTC+3, GoogleChartsApiUser wrote:
>
> We're seeing this as well. If we remove the min and max on the H-Axis,
> it starts working. else, the min and max seems to be interpreted
> incorrectly. This was working correctly till few hours back.
>
>
> On Tuesday, May 31, 2016 at 9:28:03 AM UTC+2, da wrote:
>>
>> Hello Google Charts,
>>
>> FYI
>>
>> It happened again. February data is plotted in March.
>>
>>
>>
>>
>>
>> On Saturday, April 30, 2016 at 9:32:49 AM UTC-7, da wrote:
>>>
>>>
>>> All of a sudden all FEB data is plotted in MARCH
>>> I have had this running for over a year now but just saw this
>>> happen. Nothing has changed at all.
>>>
>>> Any 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-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/9794fa23-6fb6-4cab-9519-943fddb52193%40googlegroups.com
 
 .

 For more options, visit https://groups.google.com/d/optout.

>>>
>>>
>>>
>>> --
>>> Daniel LaLiberte 
>>> dlali...@google.com   5CC, Cambridge MA
>>>
>> --
>> 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/sX0anYhk4fs/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/ab1e9634-cf6b-4a74-8d71-ffb2eec7dc12%40googlegroups.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 

Re: [visualization-api] Re: bug?

2016-05-31 Thread Volodymyr Naumenko
... charts have started to work incorrectly since May-30 2016. There where
no changes in data...


Best regards,
Volodymyr Naumenko
naumenkov.wix.com/personaladvisor
fb

...

On Tue, May 31, 2016 at 5:38 PM, GoogleChartsApiUser 
wrote:

> We resolved it in our page by removing hAxis.viewWindow min, max,
> and explicit. If we put those, the chart does render incorrectly as
> suggested in the above posts.
>
> On Tuesday, May 31, 2016 at 4:04:36 PM UTC+2, Daniel LaLiberte wrote:
>>
>> I inserted a line chart using your data, and it looks fine to me:
>>
>>
>> I believe the problem some people are seeing must involve an
>> incompatibility with spreadsheet data and what charts expect.  Or perhaps
>> there is a locale or timezone related issue.
>> ​
>>
>> On Tue, May 31, 2016 at 6:33 AM, Volodymyr Naumenko > > wrote:
>>
>>> The same problem...
>>>
>>> https://docs.google.com/spreadsheets/d/1r7BnW-glT4594Usv9kCKiKmYDyBO6f9mCmcVzh3J2uk/edit?usp=sharing
>>> November rendered like December...
>>>
>>>
>>> 
>>>
>>>
>>> On Tuesday, May 31, 2016 at 1:13:31 PM UTC+3, GoogleChartsApiUser wrote:

 We're seeing this as well. If we remove the min and max on the H-Axis,
 it starts working. else, the min and max seems to be interpreted
 incorrectly. This was working correctly till few hours back.


 On Tuesday, May 31, 2016 at 9:28:03 AM UTC+2, da wrote:
>
> Hello Google Charts,
>
> FYI
>
> It happened again. February data is plotted in March.
>
>
>
>
>
> On Saturday, April 30, 2016 at 9:32:49 AM UTC-7, da wrote:
>>
>>
>> All of a sudden all FEB data is plotted in MARCH
>> I have had this running for over a year now but just saw this happen.
>> Nothing has changed at all.
>>
>> Any 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-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/9794fa23-6fb6-4cab-9519-943fddb52193%40googlegroups.com
>>> 
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Daniel LaLiberte 
>> dlali...@google.com   5CC, Cambridge MA
>>
> --
> 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/sX0anYhk4fs/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/ab1e9634-cf6b-4a74-8d71-ffb2eec7dc12%40googlegroups.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-api/CAKUR5SxKHBJqTjaP4X9B-2ZU0xy2x%3D9tg%3DrHi%3Dep_XMZY6k3LQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Highlighting a column (current) month on x-axis of a scatter-chart

2016-05-31 Thread 'Daniel LaLiberte' via Google Visualization API
The main problem is that you are assuming columns correspond to series.
But series skip the 'role' columns in between, so the 'area' series has
index 1.

However, there appears to be a bug involving area series in that the points
will be drawn as well unless you set the pointSize to 0 at the top level,
and then
set it to a non-zero value inside your scatter series.

I started with your code to create this example:
https://jsfiddle.net/dlaliberte/6t6eg65n/

On Mon, May 30, 2016 at 3:39 AM, Bram Patelski 
wrote:

> Code:
>
> 
>
> 
>
> 
>
> 
> src="https://www.gstatic.com/charts/loader.js";>
>
> 
>
> google.charts.load('current', {
>
> 'packages' : [ 'corechart' ]
>
> });
>
> google.charts.setOnLoadCallback(drawChart);
>
> var redCross = 'point { size: 15; shape-type: star; shape-sides: 4;
> shape-dent: 0.1; fill-color: #ff;}';
>
> var greyCross = 'point { size: 10; shape-type: star; shape-sides: 4;
> shape-dent: 0.1; fill-color: #99; }'
>
> function drawChart() {
>
>
> var data = google.visualization.arrayToDataTable(
>
> [
>
> ['Birth', 'Score', {'type': 'string', 'role': 'style'}, 'Area' ],
>
> [ new Date(2016, 4, 15), 0.128, redCross, null],
>
> [ new Date(2016, 5, 23), 0.13, redCross, null ],
>
> [ new Date(2016, 7, 11), 0.135, redCross, null ],
>
> [ new Date(2016, 7, 15), 0.142, redCross, null ],
>
> [ new Date(2016, 8, 16), 0.152, redCross, null ],
>
> [ new Date(2016, 8, 28), 0.157, redCross, null ],
>
> [ new Date(2016, 11, 3), 0.153, redCross, 0.2 ],
>
> [ new Date(2016, 11, 6), 0.16, redCross, 0.2 ],
>
> [ new Date(2016, 11, 14), 0.169, redCross, 0.2 ],
>
> [ new Date(2016, 12, 15), 0.175, redCross, null ],
>
> [ new Date(2016, 3, 30), 0.134, greyCross, null ],
>
> [ new Date(2016, 4, 14), 0.148, greyCross, null ],
>
> [ new Date(2016, 4, 15), 0.140, greyCross, null ],
>
> [ new Date(2016, 4, 25), 0.15, greyCross, null ],
>
> [ new Date(2016, 4, 27), 0.152, greyCross, null ],
>
> [ new Date(2016, 4, 28), 0.142, greyCross, null ]
>
> ]
>
> );
>
>
> var options = {
>
> hAxis : {
>
> title: 'Birth',
>
> titleTextStyle: {color: '#333'},
>
> gridlines: { count: -1 }
>
> },
>
> vAxis : {
>
> title : 'Score',
>
> viewWindow:{
>
>   max:0.1,
>
>   min:0.25
>
> }
>
> },
>
> colors: ['#33bb33'],
>
> pointSize: 10,
>
> seriesType: 'scatter',
>
> series: {
>
> 0: { pointShape: {type: 'star', dent: 0.2, sides: 4 } },
>
> 1: { pointShape: {type: 'star', dent: 0.2, sides: 4 } },
>
> 2: { },
>
> 3: { type: 'area' }
>
> },
>
> trendlines: { 0: {}},
>
> legend : 'none'
>
> };
>
>
> var chart = new google.visualization.ScatterChart(document.getElementById(
> 'chart_div'));
>
> chart.draw(data, options);
>
> }
>
> 
>
>
>
>
> On Monday, May 30, 2016 at 9:38:58 AM UTC+2, Bram Patelski wrote:
>
>> Hi Daniel,
>>
>> Okay, I've got the x-axis intervals, but I can't get the area-chart added
>> to the chart. Should I just add the max as value? Somehow the chart doesn't
>> list the values as an area:
>>
>> 
>>
>> 
>>
>> 
>>
>> >
>> src="https://www.gstatic.com/charts/loader.js";>
>>
>> 

Re: [visualization-api] Re: bug?

2016-05-31 Thread GoogleChartsApiUser
We resolved it in our page by removing hAxis.viewWindow min, max, 
and explicit. If we put those, the chart does render incorrectly as 
suggested in the above posts.

On Tuesday, May 31, 2016 at 4:04:36 PM UTC+2, Daniel LaLiberte wrote:
>
> I inserted a line chart using your data, and it looks fine to me:  
>
>
> I believe the problem some people are seeing must involve an 
> incompatibility with spreadsheet data and what charts expect.  Or perhaps 
> there is a locale or timezone related issue. 
> ​
>
> On Tue, May 31, 2016 at 6:33 AM, Volodymyr Naumenko  > wrote:
>
>> The same problem...
>>
>> https://docs.google.com/spreadsheets/d/1r7BnW-glT4594Usv9kCKiKmYDyBO6f9mCmcVzh3J2uk/edit?usp=sharing
>> November rendered like December...
>>
>>
>> 
>>
>>
>> On Tuesday, May 31, 2016 at 1:13:31 PM UTC+3, GoogleChartsApiUser wrote:
>>>
>>> We're seeing this as well. If we remove the min and max on the H-Axis, 
>>> it starts working. else, the min and max seems to be interpreted 
>>> incorrectly. This was working correctly till few hours back.
>>>
>>>
>>> On Tuesday, May 31, 2016 at 9:28:03 AM UTC+2, da wrote:

 Hello Google Charts,

 FYI

 It happened again. February data is plotted in March. 





 On Saturday, April 30, 2016 at 9:32:49 AM UTC-7, da wrote:
>
>
> All of a sudden all FEB data is plotted in MARCH 
> I have had this running for over a year now but just saw this happen. 
> Nothing has changed at all. 
>
> Any 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-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/9794fa23-6fb6-4cab-9519-943fddb52193%40googlegroups.com
>>  
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Daniel LaLiberte 
> dlali...@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/ab1e9634-cf6b-4a74-8d71-ffb2eec7dc12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: bug?

2016-05-31 Thread Volodymyr Naumenko

  

https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js";
type="text/javascript">
https://cdn.datatables.net/r/dt/jq-2.1.4,dt-1.10.8/datatables.min.js
">
https://www.google.com/jsapi
">
https://www.google.com/jsapi?autoload={
  modules: [{ name: 'visualization',
  version: '1',
  language: 'en',
  packages:['corechart'] }] }">



  google.setOnLoadCallback(drawGIDlineKC1);

  function drawGIDlineKC1() {
var queryStringKC1 = encodeURIComponent('SELECT A,B');
var queryKC1 = new google.visualization.Query('
https://docs.google.com/spreadsheets/d/1r7BnW-glT4594Usv9kCKiKmYDyBO6f9mCmcVzh3J2uk/edit?gid=0&headers=1&tq='
+ queryStringKC1);

queryKC1.send(handleQueryResponseKC1);
}
function handleQueryResponseKC1(responseKC1) {
  if (responseKC1.isError()) {
alert('Error in query: ' + responseKC1.getMessage() + ' ' +
responseKC1.getDetailedMessage());
return;
  }
   var dataKC1 = responseKC1.getDataTable();
   var optionsKC1 = {

  title: 'HEDGED PORTFOLIO GAIN / LOSS (ARABICA, $)',
  legend: 'top',

  width: 550,
  height: 350,
vAxis: { format:'0.0'},
hAxis: { format:'MMM-dd-'}

};

var chartKC1 = new
google.visualization.LineChart(document.getElementById('coffeeKC1'));
chartKC1.draw(dataKC1, optionsKC1);
  }

  
  

  



Best regards,
Volodymyr Naumenko
naumenkov.wix.com/personaladvisor
fb

...

On Tue, May 31, 2016 at 5:04 PM, 'Daniel LaLiberte' via Google
Visualization API  wrote:

> I inserted a line chart using your data, and it looks fine to me:
>
>
> I believe the problem some people are seeing must involve an
> incompatibility with spreadsheet data and what charts expect.  Or perhaps
> there is a locale or timezone related issue.
> ​
>
> On Tue, May 31, 2016 at 6:33 AM, Volodymyr Naumenko <
> naumenko.vo...@gmail.com> wrote:
>
>> The same problem...
>>
>> https://docs.google.com/spreadsheets/d/1r7BnW-glT4594Usv9kCKiKmYDyBO6f9mCmcVzh3J2uk/edit?usp=sharing
>> November rendered like December...
>>
>>
>> 
>>
>>
>> On Tuesday, May 31, 2016 at 1:13:31 PM UTC+3, GoogleChartsApiUser wrote:
>>>
>>> We're seeing this as well. If we remove the min and max on the H-Axis,
>>> it starts working. else, the min and max seems to be interpreted
>>> incorrectly. This was working correctly till few hours back.
>>>
>>>
>>> On Tuesday, May 31, 2016 at 9:28:03 AM UTC+2, da wrote:

 Hello Google Charts,

 FYI

 It happened again. February data is plotted in March.





 On Saturday, April 30, 2016 at 9:32:49 AM UTC-7, da wrote:
>
>
> All of a sudden all FEB data is plotted in MARCH
> I have had this running for over a year now but just saw this happen.
> Nothing has changed at all.
>
> Any 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/9794fa23-6fb6-4cab-9519-943fddb52193%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 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/sX0anYhk4fs/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/CAOtcSJPxzcvwO%2B1aCj%3D1oRrQW6XWdAr%3DAvwDqe4iXirEUWcTuQ%40mail.gmail.com
> 

Re: [visualization-api] Re: bug?

2016-05-31 Thread Volodymyr Naumenko
... but, using this data by google charts API, chart works wrong


Best regards,
Volodymyr Naumenko
naumenkov.wix.com/personaladvisor
fb

...

On Tue, May 31, 2016 at 5:04 PM, 'Daniel LaLiberte' via Google
Visualization API  wrote:

> I inserted a line chart using your data, and it looks fine to me:
>
>
> I believe the problem some people are seeing must involve an
> incompatibility with spreadsheet data and what charts expect.  Or perhaps
> there is a locale or timezone related issue.
> ​
>
> On Tue, May 31, 2016 at 6:33 AM, Volodymyr Naumenko <
> naumenko.vo...@gmail.com> wrote:
>
>> The same problem...
>>
>> https://docs.google.com/spreadsheets/d/1r7BnW-glT4594Usv9kCKiKmYDyBO6f9mCmcVzh3J2uk/edit?usp=sharing
>> November rendered like December...
>>
>>
>> 
>>
>>
>> On Tuesday, May 31, 2016 at 1:13:31 PM UTC+3, GoogleChartsApiUser wrote:
>>>
>>> We're seeing this as well. If we remove the min and max on the H-Axis,
>>> it starts working. else, the min and max seems to be interpreted
>>> incorrectly. This was working correctly till few hours back.
>>>
>>>
>>> On Tuesday, May 31, 2016 at 9:28:03 AM UTC+2, da wrote:

 Hello Google Charts,

 FYI

 It happened again. February data is plotted in March.





 On Saturday, April 30, 2016 at 9:32:49 AM UTC-7, da wrote:
>
>
> All of a sudden all FEB data is plotted in MARCH
> I have had this running for over a year now but just saw this happen.
> Nothing has changed at all.
>
> Any 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/9794fa23-6fb6-4cab-9519-943fddb52193%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 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/sX0anYhk4fs/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/CAOtcSJPxzcvwO%2B1aCj%3D1oRrQW6XWdAr%3DAvwDqe4iXirEUWcTuQ%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-api/CAKUR5SyeAS5d_VrHSvX%2BmxaLVOuCvsBfctj9YnHo3quD34sV0g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: bug?

2016-05-31 Thread 'Daniel LaLiberte' via Google Visualization API
I inserted a line chart using your data, and it looks fine to me:


I believe the problem some people are seeing must involve an
incompatibility with spreadsheet data and what charts expect.  Or perhaps
there is a locale or timezone related issue.
​

On Tue, May 31, 2016 at 6:33 AM, Volodymyr Naumenko <
naumenko.vo...@gmail.com> wrote:

> The same problem...
>
> https://docs.google.com/spreadsheets/d/1r7BnW-glT4594Usv9kCKiKmYDyBO6f9mCmcVzh3J2uk/edit?usp=sharing
> November rendered like December...
>
>
> 
>
>
> On Tuesday, May 31, 2016 at 1:13:31 PM UTC+3, GoogleChartsApiUser wrote:
>>
>> We're seeing this as well. If we remove the min and max on the H-Axis, it
>> starts working. else, the min and max seems to be interpreted incorrectly.
>> This was working correctly till few hours back.
>>
>>
>> On Tuesday, May 31, 2016 at 9:28:03 AM UTC+2, da wrote:
>>>
>>> Hello Google Charts,
>>>
>>> FYI
>>>
>>> It happened again. February data is plotted in March.
>>>
>>>
>>>
>>>
>>>
>>> On Saturday, April 30, 2016 at 9:32:49 AM UTC-7, da wrote:


 All of a sudden all FEB data is plotted in MARCH
 I have had this running for over a year now but just saw this happen.
 Nothing has changed at all.

 Any 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/9794fa23-6fb6-4cab-9519-943fddb52193%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/CAOtcSJPxzcvwO%2B1aCj%3D1oRrQW6XWdAr%3DAvwDqe4iXirEUWcTuQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Unwanted spacing on combo chart

2016-05-31 Thread Dan
Thank you!
I'm not quite sure why I had the months as strings now...! 
Thanks again for you help :)

-- 
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/a47a8a7e-5494-4a01-a8c2-43c9934616f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Re: Line chart did not parse February correctly for dd/mm/yyyy dates

2016-05-31 Thread Darko Mijanovic
Hi, we are just noticing the same issues for our implementation:

The chart is plotting the same days for different months on top of 
eachother. This seems to have started today or yesterday.

On Monday, 30 May 2016 04:13:02 UTC+4, Rufeng wrote:
>
> Link chart draws funny kinks when plotting February data points in 
> dd/mm/ format.
>
> e.g. see my first two charts: http://coe.sgcharts.com/
>
> The dates were
> 03/02/2016 - drawn incorrectly as March
> 17/02/2016 - drawn incorrectly as March
> 09/03/2016 - OK
> 23/03/2016 - OK
>
> and affected all Feb data points in previous years.
>
> Backing spreadsheet:
>
> https://docs.google.com/spreadsheets/d/1Ma8dm_rdtdfNp8ONUG5ykFHwrEg1GFC3ObOMualMVBM/edit?usp=sharing
>
> The charts look fine 2 weeks ago and I have not touched the code for a 
> long while. Was wondering what happened.
>
> Would like to check here in the forums before I submit an issue to the 
> tracker . 
> 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/40c7b2d7-19a2-423d-89cd-acfbc7f5a2ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Unwanted spacing on combo chart

2016-05-31 Thread 'Daniel LaLiberte' via Google Visualization API
Dan,

It is actually the 'steppedArea' series that is causing the extra space
around each domain value, unlike the 'area' series that behaves more like
'line' series.   If you change 'steppedArea' to 'line', you'll see that the
extra space disappears.  The area and line series wouldn't know where to
draw in that extra space around the values because there is no next value
to connect to, whereas the steppedArea series makes its transitions
half-way between domain values, at least when the domain values are
discrete, as is the case with your string values for the months.  But if
you change the domain values to numbers instead, then the steppedArea
series behaves more like line series.

Hope that helps explain what you are seeing.

On Tue, May 31, 2016 at 7:14 AM, Dan  wrote:

> Hi
> I have some unwanted space on the left of the Area chart in my combo chart.
> Why doesn't it start against the Y axis like the line chart does?
> https://jsfiddle.net/burntsausage/sxz419gw/
>
> Thanks
>
> --
> 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/b24f6798-1132-4f30-9221-e8d6add8c5da%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/CAOtcSJOmYX5pZtZd41Ena2a1LB%3DqAECoyBVSCwgKG5C%3DS4Y9Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Unwanted spacing on combo chart

2016-05-31 Thread Dan
Hi
I have some unwanted space on the left of the Area chart in my combo chart.
Why doesn't it start against the Y axis like the line chart does?
https://jsfiddle.net/burntsausage/sxz419gw/

Thanks

-- 
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/b24f6798-1132-4f30-9221-e8d6add8c5da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] In a line chart, can I label the lines directly?

2016-05-31 Thread 'Daniel LaLiberte' via Google Visualization API
You can, in a couple different ways.  See the 'annotation' role here:
https://developers.google.com/chart/interactive/docs/roles for labelling
individual points.

Or perhaps you were interested in the undocumented 'labeled' legend
position option.  Here is an example:  https://jsfiddle.net/cb6wmcs6/

On Sat, May 28, 2016 at 9:53 PM, dlittle111 via Google Visualization API <
google-visualization-api@googlegroups.com> wrote:

> Instead of using a legend?
>
> --
> 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/ef4862ea-cc84-471c-a557-3d82a6d0d667%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/CAOtcSJOec_EOcM8%3DLUHSiUnnRgZuN4F4FCuGC8o9L-fhgdxp9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Re: bug?

2016-05-31 Thread GoogleChartsApiUser
It works correctly for months that have 31 days, and doesn't work for 
months with 30 or 28 days.

On Tuesday, May 31, 2016 at 12:33:48 PM UTC+2, Volodymyr Naumenko wrote:
>
> The same problem...
>
> https://docs.google.com/spreadsheets/d/1r7BnW-glT4594Usv9kCKiKmYDyBO6f9mCmcVzh3J2uk/edit?usp=sharing
> November rendered like December...
>
>
> 
>
>
> On Tuesday, May 31, 2016 at 1:13:31 PM UTC+3, GoogleChartsApiUser wrote:
>>
>> We're seeing this as well. If we remove the min and max on the H-Axis, it 
>> starts working. else, the min and max seems to be interpreted incorrectly. 
>> This was working correctly till few hours back.
>>
>>
>> On Tuesday, May 31, 2016 at 9:28:03 AM UTC+2, da wrote:
>>>
>>> Hello Google Charts,
>>>
>>> FYI
>>>
>>> It happened again. February data is plotted in March. 
>>>
>>>
>>>
>>>
>>>
>>> On Saturday, April 30, 2016 at 9:32:49 AM UTC-7, da wrote:


 All of a sudden all FEB data is plotted in MARCH 
 I have had this running for over a year now but just saw this happen. 
 Nothing has changed at all. 

 Any 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/6d7c938a-9c0a-4350-a05b-9f67f7e0e8f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Visualization: Geochart (when 'world' is not enough).

2016-05-31 Thread Sidney Casagrande
Hi guys,
I'm currently looking at integrating this api into a non-profit 
organisation where one of our heavy focus points is to actually bring 
tourism to some lesser known locations. Antarctica is one of the largest 
focus regions for our future offering.
Not having the ability to show Antarctica is really a shame as it is an 
enormous continent and there is most definitely huge interest on this part 
of the world.
Would be great if you guys can add this in and looking forward to getting 
some updates soon.
Cheers

-- 
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/50d1878a-d6cf-448c-a075-1888a44b7b92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Re: bug?

2016-05-31 Thread Volodymyr Naumenko
The same problem...
https://docs.google.com/spreadsheets/d/1r7BnW-glT4594Usv9kCKiKmYDyBO6f9mCmcVzh3J2uk/edit?usp=sharing
November rendered like December...




On Tuesday, May 31, 2016 at 1:13:31 PM UTC+3, GoogleChartsApiUser wrote:
>
> We're seeing this as well. If we remove the min and max on the H-Axis, it 
> starts working. else, the min and max seems to be interpreted incorrectly. 
> This was working correctly till few hours back.
>
>
> On Tuesday, May 31, 2016 at 9:28:03 AM UTC+2, da wrote:
>>
>> Hello Google Charts,
>>
>> FYI
>>
>> It happened again. February data is plotted in March. 
>>
>>
>>
>>
>>
>> On Saturday, April 30, 2016 at 9:32:49 AM UTC-7, da wrote:
>>>
>>>
>>> All of a sudden all FEB data is plotted in MARCH 
>>> I have had this running for over a year now but just saw this happen. 
>>> Nothing has changed at all. 
>>>
>>> Any 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/9794fa23-6fb6-4cab-9519-943fddb52193%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Re: bug?

2016-05-31 Thread Volodymyr Naumenko
I have the same problem. In addition, November rendered like December...

On Saturday, April 30, 2016 at 7:32:49 PM UTC+3, da wrote:
>
>
> All of a sudden all FEB data is plotted in MARCH 
> I have had this running for over a year now but just saw this happen. 
> Nothing has changed at all. 
>
> Any 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/c0805ecb-042b-4c35-a332-2b102b66f3c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Re: bug?

2016-05-31 Thread GoogleChartsApiUser
We're seeing this as well. If we remove the min and max on the H-Axis, it 
starts working. else, the min and max seems to be interpreted incorrectly. 
This was working correctly till few hours back.


On Tuesday, May 31, 2016 at 9:28:03 AM UTC+2, da wrote:
>
> Hello Google Charts,
>
> FYI
>
> It happened again. February data is plotted in March. 
>
>
>
>
>
> On Saturday, April 30, 2016 at 9:32:49 AM UTC-7, da wrote:
>>
>>
>> All of a sudden all FEB data is plotted in MARCH 
>> I have had this running for over a year now but just saw this happen. 
>> Nothing has changed at all. 
>>
>> Any 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/69bf2dd4-2133-45a8-9cb9-1750e070640f%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-05-31 Thread natarajan govindavel
hi,

Do we have option to sort the records based on time in Gantt Chart?

Thanks
NG

On Friday, May 20, 2016 at 4:29:07 PM UTC+5:30, Daniel LaLiberte wrote:
>
> You'll want a format like this: "#.#".  
>
> Many of the options don't apply to material charts, as noted in the 
> documentation.
>
>   The Material Charts are in *beta*. The appearance and interactivity are 
> largely final, but many of the options available in Classic Charts are not 
> yet available in them. You can find a list of options that are not yet 
> supported in this issue 
> . 
>
>
> On Fri, May 20, 2016 at 3:51 AM, natarajan govindavel  > wrote:
>
>> Thank you so much for your help Mr. Daniel LaLiberte.
>>
>> *i have one more clarification.*
>> Can you please tell me how to scaling X axis value to whole numbers now 
>> showing 
>>
>> 0 >> 0.2 >> 0.4 >> 0.6 >> 0.8 >> 1
>>
>> Instead of that 
>> i want to show like this.
>>  0 >> 1
>>
>> I have tried with format : '0' option . i show  0 >> 0 >> 0 >> 1 >> 1 >> 
>> 1 like this.
>>
>> And also tried with min/max values 
>> { 
>> format:'#',
>> minValue:0,
>> maxValue:Math.max.apply(Math,maxArray),
>> gridlines:{count:2}
>> }
>> It seems gridlines property not working with material charts. 
>> But my client want whole numbers only. And one more thing  i can't 
>> specify the hardcorded values for this axis label because chart values 
>> various from 0 to 1,00,000 .
>>
>> Please help me to get out of this issue. Thank you for your support.
>>
>> Thanks
>> Natarajan.
>>
>> On Thursday, April 28, 2016 at 9:45:01 PM UTC+5:30, Daniel LaLiberte 
>> wrote:
>>>
>>> The bar.groupWidth option is not working correctly with the Material 
>>> charts.  Sorry.  I will add it to the list.
>>>
>>> On Thu, Apr 28, 2016 at 11:13 AM, natarajan govindavel <
>>> natara...@gmail.com> wrote:
>>>
 Hi,
 bar.groupWidth property not working Especially bar chart having single.
 Is there any workaround for this?

 Thanks
 Natarajan Govindavel.

 On Thursday, March 10, 2016 at 8:13:18 PM UTC+5:30, Sergey wrote:

> Natarajan,
>
> As I've said in an earlier email, you should only include /jsapi if 
> you use a GeoChart, and it doesn't appear that you do, so you should not 
> include it at all.
>
> Remember, that with the new loader, you need to do: google.*charts*.load 
> and google.*charts*.setOnLoadCallback.
>
> On Thu, Mar 10, 2016 at 9:15 AM natarajan govindavel <
> natara...@gmail.com> wrote:
>
>>  Hi Sergey,
>>>
>>>  I tried your solution which is working fine in Firefox and Chrome 
>>> but Not in IE (checked with IE10,IE9,IE8,IE7).
>>>  It produce same issue . SCRIPT5007: Unable to get property 
>>> 'arrayToDataTable' of undefined or null reference.
>>>
>> I am using both classical and material charts on same page. 
>> should i include both library? 
>> https://www.google.com/jsapi
>> ">
>> https://www.gstatic.com/charts/loader.js";>
>> google.setOnLoadCallback(function() {
>> dataArray[0] = 
>> google.visualization.arrayToDataTable([['Status','Count'],['Open',183],['Closed',32]]);TitleArray[0]
>>  
>> = 'Incident Status';;
>> if (typeof dataArray[0] != "undefined") {
>> // Array dynamically generated from code behind   
>>  
>> var options = {
>> width: '100%',
>> height: 400,
>> titlePosition: 'none',//hiding the chart title
>> legend: {
>> position: 'bottom' //fix legend in bottom 
>> },
>> is3D: true
>> };
>> var colors = new Array()
>> for (var i = 0; i < 
>> dataArray[0].getNumberOfRows(); i++) {
>> if (dataArray[0].getValue(i, 0) == "Open")
>> colors[i] = '#DB4437';
>> else if (dataArray[0].getValue(i, 0) == "Closed")
>> colors[i] = '#3FC380';
>> else if (dataArray[0].getValue(i, 0) == "Incident 
>> Disposition")
>> colors[i] = '#F9BF3B';
>> }
>> options.colors = colors;
>> $('#status').text(TitleArray[0]);
>> drawChart('Pie', dataArray[0], 'div_id_1', 
>> options);
>> }
>> });
>>
>>
>>  
>>
>>>  Thanks
>>>  Natarajan
>>>
>>>
>>> On Tuesday, March 8, 2016 at 8:22:16 PM UTC+5:30, Sergey wrote:
>>>
>>> It sounds like you're not putting your chart code into a callback. 
>>> That is, you're probably 

[visualization-api] gauge with max as table column

2016-05-31 Thread chi-fai wu
Hello,
I'm trying to set max from a selected row but the value is always from the 
first row of the table:


  


  selectionTest

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

  //google.charts.load('current', 
{'packages':['corechart','table','controls']});
  google.load('visualization', '1.1', {packages:['table']});
  google.load('visualization', '1.1', {packages:['corechart']});
  google.load('visualization', '1.1', {packages:['controls']});

// 
---
 
drawSelectedValues() [
function drawSelectedValues() {
var data = google.visualization.arrayToDataTable([
 ['product', 'count', 'count_max']
,['Product 1', 30, 60]
,['Product 2', 45, 50]
]);

//--Graphiques
 
: drawSelectedValues [
 // listBox for product
 var productListBox=new google.visualization.ControlWrapper({
   'controlType':'CategoryFilter'
 , 'containerId':  'productListBox'
 , 'options':{'filterColumnLabel':'product'
 ,'ui':{'labelStacking':'horizontal'
   ,'allowTyping':true
   ,'allowMultiple':false}}
 , state:{
selectedValues: [data.getValue(0,0)] // first value selected
   }
 });

var table = new 
google.visualization.Table(document.getElementById('tableDatas_div'));
table.draw(data, {showRowNumber: true, width: '100%', height: '100%'});

var tableSelect=new google.visualization.ChartWrapper({
   'chartType': 'Table'
 , 'containerId': 'tableSelect_div'
});

var patients_gauge = new google.visualization.ChartWrapper({
   'chartType':'Gauge'
 , 'containerId':'patients_gauge_div'
 , 'options': {
 'max':data.getValue(0,2)// always first Line of 
raw data
  // 'max':{'columns':[2]}   // use 100 as max
 }
 , 'view': {'columns':[1]}
  });

var dashboard = new 
google.visualization.Dashboard(document.getElementById('dashboard_div')).
bind( productListBox, [tableSelect,patients_gauge]);
dashboard.draw(data);

}
google.setOnLoadCallback(drawSelectedValues);
// 
---
 
drawSelectedValues() ]


  

  

   
  
select a product


  patients
  
  

  
  selected values
 
  raw data

  
   

 


I'll be very happy if someone have a solution.

-- 
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/6ff7758d-3e31-47d7-b3c0-f6b3c6171561%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Edit focusTarget on barchart

2016-05-31 Thread Lucie W
Hi, 

I have this barchart :


I would like to edit the focus target. I would to edit the name of the task 
on it and add an information about my task. 

How can I edit a focus Target on Barchart ?

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/deda1620-c4ff-4dc9-b328-55a176084ee8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Re: bug?

2016-05-31 Thread da
Hello Google Charts,

FYI

It happened again. February data is plotted in March. 





On Saturday, April 30, 2016 at 9:32:49 AM UTC-7, da wrote:
>
>
> All of a sudden all FEB data is plotted in MARCH 
> I have had this running for over a year now but just saw this happen. 
> Nothing has changed at all. 
>
> Any 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/b3f61a1c-eba3-4c7d-972f-4f7a7be08016%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.