[visualization-api] Re: Google GeoChart Hover Event

2015-03-11 Thread Carlos Moreira
Hi Joachim I've been doing it with css. Something like: #visualization path { stroke-width:1px; } http://jsfiddle.net/cmoreira/p0emnrxu/ But if you're using the markers mode or text mode, you can set the inactive parameter to false: http://jsfiddle.net/cmoreira/dfd1zu21/ Hope it helps! On

Re: [visualization-api] Re: Uncaught Error: Type mismatch. Value /Date(1409626800000)/ does not match type date in column index 0

2015-03-11 Thread 'Sergey Grabkovsky' via Google Visualization API
You're welcome. I'm glad you got it working. On Wed, Mar 11, 2015 at 5:09 PM Wilson Rogério Braun wrote: > Many Thanks. > > Em quarta-feira, 11 de março de 2015 18:08:12 UTC-3, Wilson Rogério Braun > escreveu: >> >> Wonder! Congratulations. >>

Re: [visualization-api] Re: Uncaught Error: Type mismatch. Value /Date(1409626800000)/ does not match type date in column index 0

2015-03-11 Thread Wilson Rogério Braun
Many Thanks. Em quarta-feira, 11 de março de 2015 18:08:12 UTC-3, Wilson Rogério Braun escreveu: > > Wonder! Congratulations. > > > > Em quarta-feira, 11 de março de 2015 18:03:28 UTC-3, Sergey

Re: [visualization-api] Re: Uncaught Error: Type mismatch. Value /Date(1409626800000)/ does not match type date in column index 0

2015-03-11 Thread Wilson Rogério Braun
Wonder! Congratulations. Em quarta-feira, 11 de março de 2015 18:03:28 UTC-3, Sergey escreveu: > > So you need to change it to: > tdata.addRow([ToJavaScriptDate(data[i].data_semanal), > par

Re: [visualization-api] Re: Uncaught Error: Type mismatch. Value /Date(1409626800000)/ does not match type date in column index 0

2015-03-11 Thread 'Sergey Grabkovsky' via Google Visualization API
So you need to change it to: tdata.addRow([ToJavaScriptDate(data[i].data_semanal), parseFloat(data[i].peso_kg)]); On Wed, Mar 11, 2015 at 4:58 PM Wilson Rogério Braun wrote: > *He returned to the console with the message:* > Uncaught Error: If argument is given to addRow, it must be an array, o

Re: [visualization-api] Re: Uncaught Error: Type mismatch. Value /Date(1409626800000)/ does not match type date in column index 0

2015-03-11 Thread Wilson Rogério Braun
*He returned to the console with the message:* Uncaught Error: If argument is given to addRow, it must be an array, or null Em quarta-feira, 11 de março de 2015 17:50:45 UTC-3, Sergey escreveu: > > I missed this earlier, but you have a syntax error in your code. You're > not calling your ToJavaSc

Re: [visualization-api] Re: Uncaught Error: Type mismatch. Value /Date(1409626800000)/ does not match type date in column index 0

2015-03-11 Thread 'Sergey Grabkovsky' via Google Visualization API
I missed this earlier, but you have a syntax error in your code. You're not calling your ToJavaScriptDate function. The code you have is " ToJavaScriptDate[data[i].data_semanal]", which is property access, not function call. You need to change it to be "ToJavaScriptDate( data[i].data_semanal)". It

Re: [visualization-api] Re: Uncaught Error: Type mismatch. Value /Date(1409626800000)/ does not match type date in column index 0

2015-03-11 Thread Wilson Rogério Braun
Okay, but the chart is not out yet. The return format below: Tue Sep 02 2014 00:00:00 GMT-0300 (Hora oficial do Brasil) "1.340 " Sat Sep 06 2014 00:00:00 GMT-0300 (Hora oficial do Brasil) "1.450 " Mon Sep 08 2014 00:00:00 GMT-0300 (Hora oficial do Brasil) "1.540 " Em quarta-feira,

Re: [visualization-api] Re: Uncaught Error: Type mismatch. Value /Date(1409626800000)/ does not match type date in column index 0

2015-03-11 Thread 'Sergey Grabkovsky' via Google Visualization API
The entire point of parsing the date was to turn it into a JavaScript Date. You are returning a string. You need to change your toJavaScriptDate function to be: function ToJavaScriptDate(value) { var pattern = /Date\(([^)]+)\)/; var results = pattern.exec(value); return new Date(pa

Re: [visualization-api] Re: Uncaught Error: Type mismatch. Value /Date(1409626800000)/ does not match type date in column index 0

2015-03-11 Thread Wilson Rogério Braun
Almost there, but miss rendereizar the chart. Below image attached with island and return code. Any suggestions? https://www.google.com/jsapi";> function ToJavaScriptDate(value) { var pattern = /Date\(([^)]+)\)/; var results = pattern.exec(value); var dt = new Date(parse

Re: [visualization-api] Geochart Data for UK Counties

2015-03-11 Thread 'Sergey Grabkovsky' via Google Visualization API
This is not currently in active development. We are currently prioritizing other projects and don't have any estimates for when this might be available. In the past, some users have made their own geographical data and used the GeoChart to present it. I can point you to the thread where I helped th

Re: [visualization-api] Coloring Column Chart

2015-03-11 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Manuel, Colors are represented as strings, and therefore have to be quoted. JSON isn't like CSS, where you can write #ff and have that be interpreted correctly. Here's a piece of your JSON, up to the first color (with the error bolded for emphasis): { "cols":[ {"id":"","label":"Rang","type

[visualization-api] Coloring Column Chart

2015-03-11 Thread Manuel
Dear all, I'm currently trying to color the column chart via JSON. In the end my JSON looks like this: { "cols":[ {"id":"","label":"Rang","type":"number"}, {"id":"","label":"Land" ,"type":"string"}, {"id":"","label":"Index","type":"number"}, {"id":"", "label":"Stand","type":"string"}, {"id":"","la

Re: [visualization-api] Tips to get better performance?

2015-03-11 Thread 'Daniel LaLiberte' via Google Visualization API
I don't think linking to the accessibility table will be enough, but perhaps. Also, a paged version of the table might be feasible, perhaps even using the Table chart. But the data is local already, actually, so it is not about fetching the data again. The problem is only the generation of a l

[visualization-api] Google GeoChart Hover Event

2015-03-11 Thread Joachim Löfstedt
Hey, I wonder if its possible to prevent the hover effect on Googles GeoCharts https://developers.google.com/chart/interactive/docs/gallery/geochart to be displayed. When you hover a region of the map a custom stroke/border is added on top of the country normal stroke. I have tried for quite so