Re: [visualization-api] Line Chart: hAxis settings not working?

2016-11-02 Thread GC Proxy
It does seem to have picked the setting for title color to Red. However 
it's still not showing in log scale.

-- 
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/411323ae-dade-4b03-825f-f25c76240e29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Line Chart: hAxis settings not working?

2016-11-02 Thread GC Proxy
I changed the draw call to this:
chart.draw($scope.graphData, google.charts.Line.convertOptions(options));
 using the options from before, however there was no change.

-- 
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/ed8bdd0a-b173-407b-a168-d8565f3a4865%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Line Chart: hAxis settings not working?

2016-11-02 Thread GC Proxy
Then how do I make a Material Line Graph into a log graph? I'm not seeing 
on the doc page that the configuration would be different here so this is 
very confusing.

On Wednesday, November 2, 2016 at 2:06:02 PM UTC-7, Daniel LaLiberte wrote:
>
> Be careful not to mix up the material charts with the non-material 
> charts.  They have different options.  google.charts.Line is a material 
> chart.  google.visualization.LineChart is the non-material chart.  You 
> would also have to use convertOptions() with the material chart options.
>
>
> https://developers.google.com/chart/interactive/docs/gallery/linechart#creating-material-line-charts
>
> On Wed, Nov 2, 2016 at 5:00 PM, GC Proxy  > wrote:
>
>> I'm specifically trying to make a bode plot with a log xAxis, however no 
>> matter what settings I set for 'hAxis', nothing seems to take effect. I 
>> can't set title, log scale... nothing.
>>
>> I also noted that in the documentation here  
>> the 
>> entry for 'scaleType' gave an example where 'logScale' was 'logscale' so I 
>> tried that too. None of these settings seems to get me a log graph though.
>> I tried this with vAxis as well to no avail.
>>
>> var options = {
>>
>> chart: {
>>
>> title: 'Totally Awesome Graph',
>>
>> subtitle: 'Check it out!',
>>
>> },
>>
>> width: 500,
>>
>> height: 500,
>>
>> hAxis: { logscale: true, logScale: true, scaleType: 'log' }
>>
>> };
>>
>> var chart = new google.charts.Line(document.getElementById('chart'));
>> chart.draw($scope.graphData, options);
>>
>> The data is created from a text file, and each data row is of type 
>> 'number', so the graph SHOULD be continuous.
>>
>> -- 
>> 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/5dd457de-99ed-4e00-8970-f0820a91bcc1%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/c736d842-f525-4571-ac8d-c3cef0f28879%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Line Chart: hAxis settings not working?

2016-11-02 Thread 'Daniel LaLiberte' via Google Visualization API
Be careful not to mix up the material charts with the non-material charts.
They have different options.  google.charts.Line is a material chart.
 google.visualization.LineChart is the non-material chart.  You would also
have to use convertOptions() with the material chart options.

https://developers.google.com/chart/interactive/docs/gallery/linechart#creating-material-line-charts

On Wed, Nov 2, 2016 at 5:00 PM, GC Proxy  wrote:

> I'm specifically trying to make a bode plot with a log xAxis, however no
> matter what settings I set for 'hAxis', nothing seems to take effect. I
> can't set title, log scale... nothing.
>
> I also noted that in the documentation here
> the
> entry for 'scaleType' gave an example where 'logScale' was 'logscale' so I
> tried that too. None of these settings seems to get me a log graph though.
> I tried this with vAxis as well to no avail.
>
> var options = {
>
> chart: {
>
> title: 'Totally Awesome Graph',
>
> subtitle: 'Check it out!',
>
> },
>
> width: 500,
>
> height: 500,
>
> hAxis: { logscale: true, logScale: true, scaleType: 'log' }
>
> };
>
> var chart = new google.charts.Line(document.getElementById('chart'));
> chart.draw($scope.graphData, options);
>
> The data is created from a text file, and each data row is of type
> 'number', so the graph SHOULD be continuous.
>
> --
> 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/5dd457de-99ed-4e00-8970-
> f0820a91bcc1%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte 
dlalibe...@google.com    5CC, 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/CAOtcSJMfx6YzvPd_BCM2SMJFP-ONAxg8aSoyjGhii7PhWYCzXA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Line Chart: hAxis settings not working?

2016-11-02 Thread GC Proxy
I'm specifically trying to make a bode plot with a log xAxis, however no 
matter what settings I set for 'hAxis', nothing seems to take effect. I 
can't set title, log scale... nothing.

I also noted that in the documentation here  
the 
entry for 'scaleType' gave an example where 'logScale' was 'logscale' so I 
tried that too. None of these settings seems to get me a log graph though.
I tried this with vAxis as well to no avail.

var options = {

chart: {

title: 'Totally Awesome Graph',

subtitle: 'Check it out!',

},

width: 500,

height: 500,

hAxis: { logscale: true, logScale: true, scaleType: 'log' }

};

var chart = new google.charts.Line(document.getElementById('chart'));
chart.draw($scope.graphData, options);

The data is created from a text file, and each data row is of type 
'number', so the graph SHOULD be continuous.

-- 
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/5dd457de-99ed-4e00-8970-f0820a91bcc1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Google Charts addRows not accepting Dates when passed via parsed String

2016-11-02 Thread Vincent Holland-Keen
Thanks for the suggestion. For the time being I've just passed the required 
rows into the DataTable initialisation. That doesn't allow me to add rows 
en masse later, but covered most of the situations I needed to handle. 
Unfortunately, I've since had to move on to other work, so haven't got time 
to back to this at the moment, but if the opportunity arises, I'll try the 
workaround above. 

On Thursday, October 13, 2016 at 4:46:55 PM UTC+1, Daniel LaLiberte wrote:
>
> Hi Vincent,
>
> We have tried to unify the various ways of setting up DataTables, but 
> there have been changes in how dates are handled recently, and it appears 
> likely the case you found has been either broken, or always was broken.
>
> Can you can use new Data(...) without quotes?  JSON notation doesn't allow 
> new Date() constructors, so that is why the "Date(...)" format is supported 
> at least there.  When you use JSON.parse() you are just turning the string 
> into an anonymous JS object, so if you can use the anonymous JS object 
> instead, with new Date() constructors, that would be the simplest 
> workaround.
>
> On Mon, Oct 10, 2016 at 6:10 AM, Vincent Holland-Keen  > wrote:
>
>> Hi,
>>
>> I've been struggling for days to get dates working with a chart and have 
>> finally come to the (possibly erroneous) conclusion that there's a 
>> difference between the implementation of dates in the DataTable function 
>> and in the addRows function.
>>
>> This JSFiddle hopefully shows what I mean: 
>> https://jsfiddle.net/fiskerton/vc4o0710/1/
>>
>> If a DataTable is created with both columns and rows, passing in a 
>> JSON.parse'd string with a date value in the format 'Date(,MM,DD)' 
>> works fine. If that same format is passed to addRows, the console throws 
>> the error: 'Uncaught Error: Type mismatch. Value Date(,MM,DD) does not 
>> match type date in column index 1. I haven't found any other format that 
>> successfully takes a string containing a date and gets it to work with 
>> addRows - e.g. 'new Date(,MM,DD' fails with same error.
>>
>> Is there something I've missed?
>>
>> 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-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/6294cb99-9812-471b-87fc-7b040a6972c2%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/16749bb4-8e26-464b-9b5f-a56cda7d4b6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] How to enable Google Visualization API in google script editor

2016-11-02 Thread Yann Pézier
Hi,

I'm trying to use Google Visualization API in my Google script editor but 
it isn't available.
Can you please let me know how to enable it?

Thanks

yann 

-- 
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/1d4efcc1-0811-4dac-96b7-1d6a3abd52fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] What is the method name to detect cycles in the Gantt Chart?

2016-11-02 Thread "~"
What is the method name to detect cycles in the Gantt Chart?
When you add a task in the Gantt I wonder if there are cycle.

-- 
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/1f8d300a-aae2-4bff-8458-c299406fdfce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: Is it possible to have a pie chart substituting the dot in the scatterplot?

2016-11-02 Thread Tiago Peres
Can you give me example where a Scatterplot has a pie chart in that 
specific dot?

Having some troubles understand what you mean...


On Tuesday, November 1, 2016 at 10:06:05 PM UTC+1, Daniel LaLiberte wrote:
>
> Hi Tiago,
>
> After you get the position of a point, you can draw anything you like at 
> that point by overlaying positioned HTML in the right place, including 
> another chart.  So you don't need to generate an image unless you really 
> want to freeze the little piecharts.  
>
> Be aware that if you draw a chart in a positioned container, you should do 
> the positioning in a container of your chart container.  Charts generally 
> don't like the chart container to be positioned. e.g.
>
> 
>   
> 
>   
> 
>
>
> On Tue, Nov 1, 2016 at 3:57 PM, Tiago Peres  > wrote:
>
>> *' **sounds* possible, one could use the getImageURI method to get an 
>> image of the pie chart, similar to this answer 
>> --
>>  
>> then overlay the *blue tiny dot* with the image, using the 
>> getChartLayoutInterface method, similar to this answer 
>> 
>>  '
>>
>> -- 
>> 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/b8a2ef05-543b-43ed-878d-84beb728f97d%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/8476f68b-e5cf-4cf7-93d6-d3668a196581%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Gauge Chart

2016-11-02 Thread Valerio Montalbano
I don't see the Method "getImageURI()" for Gauge Chart!

How can I get the image of a Gauge Chart to work it in another routine 
(i.e. print PDF)?

-- 
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/123189b9-d787-45ef-94fd-0a124deb74e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.