Re: [visualization-api] BarChart with logScale doesn't display correctly when the number is float

2012-10-10 Thread Sergey Grabkovsky
Hi, I'm not sure I understand the question. Can you post a screenshot of the bug? - Sergey On Wed, Oct 10, 2012 at 7:05 AM, JJ yoni.mizra...@gmail.com wrote: I have a BarChart that displays float numbers (0.9, 12.3, 125.7 etc), when I set it to use logScale the 0.9 value is displayed

Re: [visualization-api] Bug report: Geochart option region won't work

2012-11-01 Thread Sergey Grabkovsky
These regions work fine for me. Are you trying to specify them as a number or a string? That is, are you doing ... region: 009... or ... region: '009'...? If you're doing the former, then JavaScript will interpret these numbers as 2, 9, 9, and 19 respectively, as the prefix 0 for a number means to

Re: [visualization-api] Motion Chart Time Format in HTML5?

2012-11-09 Thread Sergey Grabkovsky
Hi Ben, There is currently no version of Motion Chart that uses HTML5, but depending on which features you need, the corecharts packages might satisfy your needs, though you will have to make the controls to switch between charts yourself. We currently don't have any plans to release an HTML5

Re: [visualization-api] dynamically update google chart using dropdown menu without dashboard

2012-11-13 Thread Sergey Grabkovsky
Hi Jishnu, A very easy way to do what you want is to create an object in JavaScript that contains all of your data, so it would be a mapping of some ID to DataTables. It might require a little more work in ASP.NET to generate all the tables, however. Alternatively you could follow the PHP and

Re: [visualization-api] Motion Chart Time Format in HTML5?

2012-11-13 Thread Sergey Grabkovsky
Best of luck to you, Ben! - Sergey On Tue, Nov 13, 2012 at 11:13 AM, Ben benjam.isr...@gmail.com wrote: Thank you a lot Sergey for your answer. Then I will try to work with the corecharts packages - even if I think it will be quite tricky to reach a similar result. - Ben On Friday,

Re: [visualization-api] Re: Can not set Motion Chart default as 'VBAR'

2012-11-15 Thread Sergey Grabkovsky
Hi, the missing http: in the links is fine, you don't need to fix that. Can you show me what your code looks like with the state string filled in? I did get it to use the column view as the default, so I don't think this is a bug. - Sergey On Wed, Nov 14, 2012 at 11:08 PM, GFMAG-PM

Re: [visualization-api] Object has no method getColumnType

2012-11-16 Thread Sergey Grabkovsky
Hello, charts cannot currently be rendered straight from json data, so you need to create a DataTable from it first. I'm not sure if your json data will fit the DataTable format, but if not, then you need to massage it so it does. You can see all the different ways of creating a DataTable in these

Re: [visualization-api] Re: Can not set Motion Chart default as 'VBAR'

2012-11-19 Thread Sergey Grabkovsky
It's just as I suspected. The MotionChart needs a string for the state column, not an object. It doesn't look like there are any single quotes in there, so you should be able to just surround your object with single quotes and almost pass it along as is. -Sergey /phone On Nov 18, 2012, at 11:50

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

2012-11-22 Thread Sergey Grabkovsky
Hi, unfortunately we do not currently map Antarctica for the GeoChart. May I ask why you need it? -Sergey /phone On Nov 22, 2012, at 1:13 PM, Miguel Ramo correo.mic...@gmail.com wrote: When region is set to 'world', Antarctica is not shown on the map. Is there any way to fix it? --- Ref:

Re: [visualization-api] ChartWrapper Return Values Method Chaining

2012-12-10 Thread Sergey Grabkovsky
Hi Cyle, the recommended usage for the ChartWrapper is constructing it with an object that has those options already set, and only setting those options when you need to change something. That being said, it's an interesting suggestion, and as a fan of jQuery, one I personally wouldn't be against.

Re: [visualization-api] ChartWrapper Return Values Method Chaining

2012-12-10 Thread Sergey Grabkovsky
It seems like your server could return the since JSON structure that the ChartWrapper constructor takes, so that you wouldn't need this kind of code. Unless you set things piece by piece. If I were you, my service would return a JSON object that contains everything that the ChartWrapper needs,

Re: [visualization-api] Geochart render issue in internet explorer

2012-12-12 Thread Sergey Grabkovsky
Hello, this may or may not be your issue, but you have a trailing comma at the end of your colorAxis.colors option (colorAxis: {minValue: 0, maxValue: 27, colors: ['#BA3838','#75A319','#75A319','#1E90FF','#FFE478', '#1E90FF','#FFE478','#1E90FF','#BA3838','#FFE478','#FFE478',

Re: [visualization-api] Line chart using a formula

2012-12-17 Thread Sergey Grabkovsky
Hi, I assume you're talking about the Image Charts (which are now deprecated), and not the newer Visualization API, which is for web sites (it is JavaScript-based), since app inventor only makes Android apps. In order to construct something like that, you should follow the instructions

Re: [visualization-api] Regarding exploded pie charts ..

2012-12-17 Thread Sergey Grabkovsky
Hello, I'm sorry to tell you this, but we do not currently support Exploded Pie Charts. - Sergey On Sun, Dec 16, 2012 at 7:29 PM, ups uman...@gmail.com wrote: Hi, I am trying to find out how to create Exploded Pie Charts using Google Charts.. Is this possible with Google Charts ??

Re: [visualization-api] Former dataTable to JSON

2012-12-17 Thread Sergey Grabkovsky
Hi, I'm slightly confused by your message. Are you trying to present a Pie Chart in your Java application? If so, that is not possible. The Visualization API is JavaScript-based and cannot be used from Java unless your Java is presenting a web page. - Sergey On Mon, Dec 17, 2012 at 7:48 AM,

Re: [visualization-api] Former dataTable to JSON

2012-12-17 Thread Sergey Grabkovsky
, Sergey Grabkovsky gra...@google.comwrote: Hi, I'm slightly confused by your message. Are you trying to present a Pie Chart in your Java application? If so, that is not possible. The Visualization API is JavaScript-based and cannot be used from Java unless your Java is presenting a web page

Re: [visualization-api] Changing column chart color dynamically

2012-12-17 Thread Sergey Grabkovsky
Hi, unfortunately there is no way to control specific chart elements through the API. One possible solution is to manipulate the SVG directly, but that is not recommended. Luckily, redrawing the chart doesn't recalculate all the data, it actually remembers a lot of things from the previous draw.

Re: [visualization-api] Re: The Google Chart Tools team has pushed a new release candidate: November 22, 2011

2012-12-17 Thread Sergey Grabkovsky
Unfortunately, today there is no way to change or disable the rendering of the disputed areas. - Sergey On Mon, Dec 17, 2012 at 12:49 PM, Niall niall.mcphill...@gmail.com wrote: Hi Google team, Is there a way to control or disable the rendering of the disputed areas in Geocharts? These

Re: [visualization-api] LineChart with more than two y-axis

2012-12-17 Thread Sergey Grabkovsky
Hi, unfortunately while we technically support an arbitrary amount of axes, there's nothing that will make them look very pretty or not overlap. I'm afraid that the best advice I can give you is to make multiple charts. - Sergey On Mon, Dec 17, 2012 at 1:00 PM, Fernando Henrique Martins

Re: [visualization-api] Google chart formatting

2012-12-17 Thread Sergey Grabkovsky
Hi, The 'colors' and 'is3D' options are options for the PieChart, not the ChartWrapper (as outlined on the PieChart documentation pagehttps://developers.google.com/chart/interactive/docs/gallery/piechart). According to the documentation page for the

Re: [visualization-api] Limiting the size of a graph

2012-12-17 Thread Sergey Grabkovsky
Hi, I don't understand what you're trying to do, if you could explain more, perhaps I could help you with an alternative. Perhaps you're looking for the DataViewhttps://developers.google.com/chart/interactive/docs/datatables_dataviews#datatablesdataviews, which can present a part of a table? -

Re: [visualization-api] Limiting the size of a graph

2012-12-17 Thread Sergey Grabkovsky
There's no built in way to do this, but you can accomplish the same thing using the following bit of code: function dataReceived(data) { datatable.addRows(data); var sizediff = datatable.getNumberOfRows() - MAX_NUMBER_OF_ROWS; if (sizediff 0) { datatable.removeRows(0, sizediff); } }

Re: [visualization-api] Limiting the size of a graph

2012-12-17 Thread Sergey Grabkovsky
This seems like a constraint that the user should enforce, not Google Charts. I'm not aware of any charting libraries that support what you want. After all, the user is providing the data to Google; the notion of having the user say here's my data, but make sure that I've only given you ten rows

Re: [visualization-api] Vertical Annotated Timeline

2012-12-19 Thread Sergey Grabkovsky
Hi, unfortunately the vertical annotated timeline is still not supported. - Sergey On Wed, Dec 19, 2012 at 11:34 AM, Mahmoud Said eng.mahmoud.s...@gmail.comwrote: Any chances of it being supported now?? :) On Thursday, January 27, 2011 9:28:26 PM UTC+2, Wahab Mirjan wrote: Thanks. --

Re: [visualization-api] Filtering data by date

2012-12-19 Thread Sergey Grabkovsky
Hi, unfortunately the NumberRangeFilter controlhttps://developers.google.com/chart/interactive/docs/gallery/controls#numberrangefilter currently doesn't support dates, so the next closest thing is the ChartRangeFilter

Re: [visualization-api] Column chart - column with two values

2012-12-20 Thread Sergey Grabkovsky
Hi, the way you're phrasing this doesn't really make sense. Axes have to have a consistent scale, and while you can make one column seemingly have multiple values, that'll be more difficult to visualize with multiple columns. Take the following example: User1 has 20 emails, and 30 activities User2

Re: [visualization-api] Is there any way to display the x-axis on the top and y-axis on the right for the bubble graph?

2012-12-20 Thread Sergey Grabkovsky
I'm sorry to tell you that there is no way to control which side of the chart the axis will be on. If this wasn't a bubble chart, you might have been able to do something with series and axes without labels, but the bubble chart doesn't have those features, so I'm afraid you can't do that. I'm not

Re: [visualization-api] Google Visualization Java API gives error if adding row to datatable

2012-12-21 Thread Sergey Grabkovsky
Hi, it would be helpful if you could give the error that the data.addRow throws, as without it it's a bit harder to track down exactly what is wrong with the code. - Sergey On Fri, Dec 21, 2012 at 8:34 AM, ah89 a.l.hovenk...@gmail.com wrote: Hey, This is what I am trying to accomplish:

Re: [visualization-api] google chart cht=lc

2012-12-21 Thread Sergey Grabkovsky
Hello, I don't believe that the Chart API actually limits you to a certain number of lines. What is likely happening is that you are hitting the URL max character limit. You can either fire off a POST request via AJAX and get the image that way or switch to using the interactive line

Re: [visualization-api] Providing data by series in Google Chart Tools, possible?

2012-12-21 Thread Sergey Grabkovsky
Unfortunately we do not support adding data by series. Can you elaborate on why adding null values is problematic? Isn't it possible to write a tool that consolidates multiple series into a data table? - Sergey On Fri, Dec 21, 2012 at 3:24 PM, Maciek mac...@ateista.net wrote: I would like to

Re: [visualization-api] Providing data by series in Google Chart Tools, possible?

2012-12-21 Thread Sergey Grabkovsky
I see. Well unfortunately we don't have a built in solution to do what you want, but here is some code that converts a list of series to a 2d array. You just need to make sure that your dates are all consistent (i.e. '2008-01-01') and it should work well. function array2fromSeries(allSeries) {

Re: [visualization-api] Float column types

2013-01-15 Thread Sergey Grabkovsky
Hi Ivan, The type of number includes both floats and ints, since JavaScript doesn't discriminate. -Sergey /phone On Jan 15, 2013, at 12:44 PM, Ivan Rubio ivanrubio.myko...@gmail.com wrote: Hello to everybody, As you can read in this section

Re: [visualization-api] Is it possible to display a vertical line that moves along a chart?

2013-01-16 Thread Sergey Grabkovsky
Hello, the annotation line feature requires you to have a column with the role 'annotation'. This is the 'column_id' that the documentation refers to. You can put the annotation on either a data point in a series (like the examples in the docs show) or on the domain column. I made an

Re: [visualization-api] GWT + ScatterChart: How to show a regression line

2013-01-22 Thread Sergey Grabkovsky
Hello, GViz currently has no capabilities to calculate and display regression lines. However, if you have already calculated the points and put them in a DataTable, you may either use the lineWidth option to connect all the points in all your series or use the

Re: [visualization-api] GWT + ScatterChart: How to show a regression line

2013-01-22 Thread Sergey Grabkovsky
It seems that this option is not currently exposed via GWT as a Java option, but you can still use this options via the JavaScript Native Interface. We're currently working to expose more options via GWT so that you don't have to do this, but meanwhile you may use the following method to set the

Re: [visualization-api] How to debug a chart that isn't working

2013-01-23 Thread Sergey Grabkovsky
On Wed, Jan 23, 2013 at 12:30 PM, Tim Ogilvie m...@timogilvie.com wrote: {rows:[{c:[{v:Date(2013,0,15,20,50,25)},{v:12}]},{c:[{v:Date(2013,0,23,2,0,14)},{v:16}]}],cols:[{type:datetime,id:timestamp,label:Date},{type:number,id:rank,label:Rank}]} Hi Tim, To address your concerns: 1) This will

Re: [visualization-api] graphic line filter

2013-01-23 Thread Sergey Grabkovsky
Hello, it sounds like you want a LineCharthttps://developers.google.com/chart/interactive/docs/gallery/linechart with some Controlshttps://developers.google.com/chart/interactive/docs/gallery/controls. It sounds like you want something with two CategoryFilters (one for the currency and another

Re: [visualization-api] graphic line filter

2013-01-23 Thread Sergey Grabkovsky
that). Yes, the graph is by date so i need to show the total amount of donations by currency and if is paid version/free version or both. On Wed, Jan 23, 2013 at 2:34 PM, Sergey Grabkovsky gra...@google.comwrote: Hello, it sounds like you want a LineCharthttps://developers.google.com/chart

Re: [visualization-api] programmaticaly setting the range of a ChartRangeFilter

2013-01-24 Thread Sergey Grabkovsky
Hi, you can do this by doing controlWrapper.setState(stateObject), where the stateObject is described by the State subheading in the ChartRangeFilter documentationhttps://developers.google.com/chart/interactive/docs/gallery/controls#chartrangefilter . - Sergey On Thu, Jan 24, 2013 at 11:03 AM,

Re: [visualization-api] controls and dashboards, and series

2013-01-24 Thread Sergey Grabkovsky
You can indeed do that! Here is an example of bars on an area ChartRangeFilter http://jsfiddle.net/WePkA/1/. - Sergey On Thu, Jan 24, 2013 at 3:12 PM, Lucero del Alba luzdea...@gmail.comwrote: Hi, is it possible to use series with controls and

Re: [visualization-api] controls and dashboards, and series

2013-01-24 Thread Sergey Grabkovsky
something. ps: on a less relevant matter, I wonder if the 'corechart' package was necessary on that example, I understand all of the methods used there are within 'controls' already. On Thu, Jan 24, 2013 at 5:23 PM, Sergey Grabkovsky gra...@google.comwrote: You can indeed do that! Here

Re: [visualization-api] controls and dashboards, and series

2013-01-24 Thread Sergey Grabkovsky
and illustrative feedback Sergey. On Thu, Jan 24, 2013 at 5:55 PM, Sergey Grabkovsky gra...@google.comwrote: Absolutely! Here's another example that demonstrates thathttp://jsfiddle.net/WePkA/2/. You're right in that the corechart package isn't necessary. The ChartWrapper loads everything

Re: [visualization-api] How can I highlight complete continents on a GeoChart map?

2013-02-19 Thread Sergey Grabkovsky
Hi, in order to be able to select continents from the geochart, you need to first set the 'resolution' option to 'continents'. If you would like to either set the region to a continent or set the value of a continent, you can specify one of the values from

Re: [visualization-api] How can I highlight complete continents on a GeoChart map?

2013-02-20 Thread Sergey Grabkovsky
the codes for the sub-continents (can't seem to get those working). Pier 2013/2/19 Sergey Grabkovsky gra...@google.com Hi, in order to be able to select continents from the geochart, you need to first set the 'resolution' option to 'continents'. If you would like to either set the region

Re: [visualization-api] How can I highlight complete continents on a GeoChart map?

2013-02-20 Thread Sergey Grabkovsky
On Wed, Feb 20, 2013 at 12:51 PM, Pier van der Kraan pwvdkr...@gmail.comwrote: Thanks so much, that works as well. One last question: I can't by any change combine subcontinents and continents selections on one map, can I? 2013/2/20 Sergey Grabkovsky gra...@google.com You can use

Re: [visualization-api] controling chart keys position and tabs

2013-02-25 Thread Sergey Grabkovsky
Hi, 1. If you're just trying to move the legend to the right side of the chart, you can use the legend.position option and set it to 'right'. 2. For the LineChart you can actually use custom tooltips. This is documented in the tooltip role

Re: [visualization-api] Create array for combo chart using google sheet as source...

2013-03-01 Thread Sergey Grabkovsky
Everything you need should be explained in the query documentationhttps://developers.google.com/chart/interactive/docs/queries. You may also find this example in the code playgroundhttps://code.google.com/apis/ajax/playground/?type=visualization#data_source_request useful. Good luck! - Sergey

Re: [visualization-api] Unable to get Label to Show on Scatter Plot

2013-03-01 Thread Sergey Grabkovsky
Hi Josh, I'm not 100% sure what you mean by labels. I assume that you mean annotations, as demonstrated herehttps://developers.google.com/chart/interactive/docs/roles#annotationrole. The role label is not a valid role and will not be recognized by the chart. As was said in the StackOverflow

Re: [visualization-api] Dashboard Drawn, cannot interact

2013-03-01 Thread Sergey Grabkovsky
Hello, It would be extremely helpful if you could distill your problem down to a jsfiddle demo. A common reason for charts not accepting interaction is that an error occurred at some point. Check the JavaScript console to see if that is indeed the case. - Sergey On Fri, Mar 1, 2013 at 12:07

Re: [visualization-api] Dashboard Drawn, cannot interact

2013-03-01 Thread Sergey Grabkovsky
Could you point to your site so that I may debug it there? - Sergey On Fri, Mar 1, 2013 at 1:59 PM, Michelle Stewart mstew...@nysus.net wrote: well, after further messing with the jsfiddle I got the fiddle working, but it doesn't reproduce the error I have when I run it on my site On Fri,

Re: [visualization-api] Dashboard Drawn, cannot interact

2013-03-01 Thread Sergey Grabkovsky
In that case, I'm not sure how I can help you. Good luck! - Sergey On Fri, Mar 1, 2013 at 2:02 PM, Michelle Stewart mstew...@nysus.net wrote: it is intranet, I'm sorry On Fri, Mar 1, 2013 at 2:01 PM, Sergey Grabkovsky gra...@google.comwrote: Could you point to your site so that I may

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

2013-03-04 Thread Sergey Grabkovsky
We will look into it. - Sergey On Sun, Mar 3, 2013 at 12:34 PM, Cristian Alecse cristian.ale...@gmail.comwrote: I have a travel website were I am using the world map. The world is not complete without Antarctica. It is an entire continent missing. Please take in consideration our request

Re: [visualization-api] Displaying Google Charts

2013-04-01 Thread Sergey Grabkovsky
Hello, the problem you're encountering is because your array is malformed. If you'll notice, the last line of your array looks like ['12', ], and different browsers will interpret it differently. In Chrome specifically, this is parsed to [12] -- a one element array. This means that you don't have

Re: [visualization-api] Re: Displaying Google Charts

2013-04-01 Thread Sergey Grabkovsky
response wrong? Thank you for your help! On Apr 1, 2:32 pm, Sergey Grabkovsky gra...@google.com wrote: Hello, the problem you're encountering is because your array is malformed. If you'll notice, the last line of your array looks like ['12', ], and different browsers will interpret

Re: [visualization-api] ControlWrapper

2013-04-02 Thread Sergey Grabkovsky
We currently have two controls that fulfill this need – the NumberRangeFilterhttps://developers.google.com/chart/interactive/docs/gallery/controls#numberrangefilterand the ChartRangeFilterhttps://developers.google.com/chart/interactive/docs/gallery/controls#chartrangefilter. It seems like you want

Re: [visualization-api] Re: ControlWrapper

2013-04-03 Thread Sergey Grabkovsky
You can customize the chart shown in the ChartRangeFilter in various ways, but unfortunately there is no way to customize the slider itself. - Sergey On Wed, Apr 3, 2013 at 2:28 AM, Piyush Lanjewar piyush.lanje...@gmail.comwrote: Thanks. I hv one more query. As my application is demanding

Re: [visualization-api] Switching between tables using drobdown list.

2013-04-03 Thread Sergey Grabkovsky
We don't offer any built in ways to switch between multiple tables, but it's fairly easy to code it yourself. Here is an examplehttp://jsfiddle.net/qgq8a/ . - Sergey On Wed, Apr 3, 2013 at 2:54 AM, keijo kolehmainen changwangje...@gmail.comwrote: So im using mysql and php and linechart and

Re: [visualization-api] ChartRangeFilter

2013-04-03 Thread Sergey Grabkovsky
Hello, there is currently no way to customize the slider itself in the ChartRangeFilter. Perhaps you can explain in more detail exactly how you want to customize it? - Sergey On Wed, Apr 3, 2013 at 4:49 AM, Piyush Lanjewar piyush.lanje...@gmail.comwrote: There are lot of customization in my

Re: [visualization-api] Isssues with Customizing slider provided by ChartRangeFilter

2013-04-03 Thread Sergey Grabkovsky
There is no way to do this. The only way you can make it look like that is by building your own control. - Sergey On Wed, Apr 3, 2013 at 6:21 AM, Piyush Lanjewar piyush.lanje...@gmail.comwrote: There are lot of customization in my graph. I want to customize the slider which is provided by

Re: [visualization-api] fetch data from google chart API

2013-04-03 Thread Sergey Grabkovsky
Could you please elaborate on your use case for this? Charts are actually constructed with the element itself, i.e. newgoogle.visualization.PieChart(document.getElementById( 'visualization')) rather than new google.visualization.PieChart( 'visualization'), so if your qualm is that you don't want

Re: [visualization-api] 2 types and 2 vaxis

2013-04-03 Thread Sergey Grabkovsky
Hi, your snippet is a little odd. Are you literally specifying *all* of these options as you outlined here? Are you writing out something like what's below? If so, then you're specifying the 'series' option twice. While technically valid, this will have the side effect of only using the last

Re: [visualization-api] Problem with Annotated Timeline chart

2013-04-03 Thread Sergey Grabkovsky
Hi, it seems that your problem is that you're trying to do addcolumn sometimes, where the correct version is the camel-case addColumn. If you fix all of these instances, your chart should render. In the future, you can see these errors by checking the console (Ctrl + Shift + i in Chrome) and going

Re: [visualization-api] 2 types and 2 vaxis

2013-04-03 Thread Sergey Grabkovsky
Good catch, Drew! The seriesType option should indeed be a string and not an array or other object. - Sergey On Wed, Apr 3, 2013 at 10:40 AM, asgallant drew_gall...@abtassoc.comwrote: Is seriesType valid as an array? Whether it is or not, this is more simply written as: series: { 0:

Re: [visualization-api] Re: Javascript data populating chart issue

2013-04-05 Thread Sergey Grabkovsky
You're very welcome, Kieran! Happy coding! - Sergey On Fri, Apr 5, 2013 at 12:18 PM, Kieran Green kieran...@gmail.com wrote: Thankyou very much!!! Well explained help and very clear and concise implementation, thankyou Sergey -- You received this message because you are subscribed to

Re: [visualization-api] Viewing example visualization

2013-04-05 Thread Sergey Grabkovsky
Your visualization is loading, rendering, and generally working fine for me. Please note that you are constructing a DrasticData visualization, and not a Google Chart. As such, these visualizations aren't officially supported by Google. If you would like to use a Google visualization, you can

Re: [visualization-api] Re: events with Geomap - How to change from World view to Country View.

2013-04-08 Thread Sergey Grabkovsky
In order for the regionClick even to be fired, the enableRegionInteractivity option must be set to true. In marker mode, it is set to false by default, so everything should work if you just set that option. - Sergey On Sun, Apr 7, 2013 at 2:40 PM, Carl Popolo cpop...@gmail.com wrote: I could

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

2013-04-10 Thread Sergey Grabkovsky
My apologies, I misspoke. Currently, the metro resolution is only supported for the US. - Sergey On Tue, Apr 9, 2013 at 5:43 PM, Carlos Moreira carlostricks...@gmail.comwrote: Hello Sergey! That means that currently other selected areas, besides the US, already support 'metro' resolution?

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

2013-04-11 Thread Sergey Grabkovsky
The GeoChart isn't based on the postal system. It is based on a combination of the ISO hierarchy and Google Maps data. And while people don't normally address using England, Scotland, etc., I feel that those are just as useful for statistical purposes, and I don't believe that replacing the

Re: [visualization-api] Help with pie chart - duplicates appearing

2013-04-17 Thread Sergey Grabkovsky
The PieChart adds its own 'Other' category that is a collection of all the slices that were deemed too small to show up on their own. You can remedy this by changing the sliceVisibilityThreshold option. - Sergey On Wed, Apr 17, 2013 at 10:55 AM, jteso...@gmail.com wrote: I am working off of

Re: [visualization-api] Line Chart Plus Scatter Chart

2013-04-22 Thread Sergey Grabkovsky
That's correct. It sounds to me like you want to use a linechart with annotations. If you insist on a ScatterChart, I'm not sure where the Y axis would come from. - Sergey On Mon, Apr 22, 2013 at 3:46 PM, Angel Ortiz angel.luis.or...@gmail.comwrote: If I change the datatype of the column with

Re: [visualization-api] Flexible way to display a geochart?

2013-05-10 Thread Sergey Grabkovsky
Hello, the code actually does support percentages in width and height. You can do this by specifying the option as width:100%. The tricky part here is that the geochart likes to preserve its aspect ratio, so you need to change your height in accordance with your width. - Sergey On Fri, May 10,

Re: [visualization-api] Flexible way to display a geochart?

2013-05-10 Thread Sergey Grabkovsky
: susannamurley @susannamurley http://twitter.com/susannamurley On Fri, May 10, 2013 at 9:35 AM, Sergey Grabkovsky gra...@google.comwrote: Hello, the code actually does support percentages in width and height. You can do this by specifying the option as width:100%. The tricky part here

Re: [visualization-api] Flexible way to display a geochart?

2013-05-10 Thread Sergey Grabkovsky
'] = {minValue: 0, colors: ['#ddeef8', '#a3d6fb','#0078c0', '#ffe04e', '#f8931f', '#d54215',]} --- Susanna Murley skype: susannamurley @susannamurley http://twitter.com/**susannamurleyhttp://twitter.com/susannamurley On Fri, May 10, 2013 at 9:35 AM, Sergey Grabkovsky gra...@google.comwrote

Re: [visualization-api] Mousewheel Listener Google Combo Chart

2013-05-14 Thread Sergey Grabkovsky
Our charts don't actually expose mousewheel events. However, you can do it yourself by registering a mousewheel handler on your visualization div. I don't really do it right, but hopefully this http://jsfiddle.net/WUDnR/will be enough to get you started. - Sergey On Tue, May 14, 2013 at 6:35

Re: [visualization-api] Pie Chart Slice Style by Category

2013-05-14 Thread Sergey Grabkovsky
Unfortunately, you cannot specify the slice style based on the category. However, if you know which categories you will have ahead of time (which you must, since you seem to know what style you'll want to assign to each category), then you can iterate through each row in the datatable, get the

Re: [visualization-api] Two charts with same scroll bar

2013-05-15 Thread Sergey Grabkovsky
It most certainly is possible! And it is demonstrated by this fiddle that I just made for you: http://jsfiddle.net/QMTqN/ - Sergey On Wed, May 15, 2013 at 3:58 AM, gharn...@gmail.com wrote: Is it possible to display 2 line charts and between them to have a ChartRangeFilter that controls both

Re: [visualization-api] Treemap View, event 'select'

2013-05-15 Thread Sergey Grabkovsky
Hi, I think your issue is coming from the fact that the Google API is loaded asynchronously. You seem to have your code in a script tag, which means that it's being run as the page is loaded, meaning that the listener is added before the treemap is actually created. Here is a jsfiddle that

Re: [visualization-api] Re: Queries to big Google spreadsheets are slow

2013-05-16 Thread Sergey Grabkovsky
Unfortunately there's nothing that either we or you can do to improve the response speed from Google Spreadsheets. I can't imagine that this is a consistent issue for everyone (I got ~350ms for your spreadsheet), and it probably varies from day to day. Are there a lot of user complaints about it

Re: [visualization-api] Bug: Since the release of May 15, 2013 the page crashes when the logScale from the vAxis object is set to true

2013-05-17 Thread Sergey Grabkovsky
Could you please post some sample failing code? I'd like to see exactly what cases this fails under, since the basic logScale tests that I'm trying seem to work. - Sergey On Fri, May 17, 2013 at 10:15 AM, mathew.church...@pildo.com wrote: This used to work before the new release (May 15,

Re: [visualization-api] Bug: Since the release of May 15, 2013 the page crashes when the logScale from the vAxis object is set to true

2013-05-17 Thread Sergey Grabkovsky
Yup, the data is the important bit here. Your options seem to work when I try them with my data. - Sergey On Fri, May 17, 2013 at 10:48 AM, mathew.church...@pildo.com wrote: I've also tried this in the code playground and it works, but once implemented this seems to happen. Anyhow it used to

Re: [visualization-api] Regarding Chart Legend Customization.

2013-05-20 Thread Sergey Grabkovsky
I'm afraid that our legend is not implemented in HTML, and therefore doesn't understand HTML codes. Our API is a javascript API, and the strings given to it must be encoded as javascript strings. The equivalent code to specify in a javascript string would be '\x24'. I'm sure you can figure out a

Re: [visualization-api] Thailand Province Missing in Geochart Map

2013-05-22 Thread Sergey Grabkovsky
Hi, we actually do expose TH-38. I'm not sure where your issue is coming form, but I just tried to refer to it in both the GeoChart and the GeoMap and it worked in both. - Sergey On Tue, May 14, 2013 at 4:14 AM, Isriya Paireepairit markp...@gmail.comwrote: Dear Google Geochart Team, The

Re: [visualization-api] Re: Queries to big Google spreadsheets are slow

2013-05-22 Thread Sergey Grabkovsky
So I asked around, and it seems that the revision history probably isn't causing your issue. Your problem is likely caused by the fact that in order to get any data from a spreadsheet, docs first needs to open, load, and calculate formulas for the entire spreadsheet. In the case of 200,000 cells,

Re: [visualization-api] Re: Queries to big Google spreadsheets are slow

2013-05-22 Thread Sergey Grabkovsky
, May 22, 2013 at 2:11 PM, Sergey Grabkovsky gra...@google.comwrote: I'm terribly sorry that I can't offer you any more help. The best I can do is refer you to the Google docs forumhttp://productforums.google.com/forum/#!forum/docs and hopefully they'll be able to help you there. - Sergey

Re: [visualization-api] Getting formated value of selection in Geochart

2013-06-05 Thread Sergey Grabkovsky
You can use data.getFormattedValue(selectedRow, selectedColumn) to get the formatted value from a DataTable. You may find the documentation for this method herehttps://developers.google.com/chart/interactive/docs/reference#DataTable_getFormattedValue . Happy coding! - Sergey On Wed, Jun 5,

Re: [visualization-api] Re: GeoChart - Syntax for Metro area code

2013-06-13 Thread Sergey Grabkovsky
That's actually not entirely accurate. We do have maps at the metro level. You can request your metro area by using 'US-675' as the region. - Sergey On Thu, Jun 13, 2013 at 2:34 PM, asgallant drew_gall...@abtassoc.comwrote: You can't map at the metro level, you can get a state map with metro

Re: [visualization-api] Re: GeoChart - Syntax for Metro area code

2013-06-13 Thread Sergey Grabkovsky
That's quite a weird issue that you're experiencing. This is due to the GeoChart trying to be smart when it tries to geocode things. Essentially, when we send data off to the Maps API to geocode, we try to give Maps a little bit of context. This context turns out to be the region that you've

Re: [visualization-api] How can i set the region color for each state in United States?

2013-06-24 Thread Sergey Grabkovsky
Hi, you can indeed do this! you can show a state map by setting the 'region' option to 'US' and setting the resolution mode to 'provinces'. This will give you the states. You can then set the colors by choosing two (or three) values (say, -1, 0 and 1) and assigning colors to them by using the

Re: [visualization-api] How can i set the tooltip in the next line?

2013-06-24 Thread Sergey Grabkovsky
Unfortunately, at the moment you cannot use newlines in GeoChart tooltips at the moment. However, we are working on it, and it will be included in the next release (sometime within the next month-and-a-half). - Sergey On Mon, Jun 24, 2013 at 5:00 AM, siva kumar tsivakumar1...@gmail.comwrote:

Re: [visualization-api] ChartWrapper options

2013-06-24 Thread Sergey Grabkovsky
Hi, I wasn't able to get your snippet to work (because of all those controls you're not including in it), but it looks like you're using the vAxis option wrong. If you'll take a look at the ColumnChart docshttps://developers.google.com/chart/interactive/docs/gallery/columnchart, you'll see that

Re: [visualization-api] labeling columns from Google Spreadsheet

2013-06-24 Thread Sergey Grabkovsky
You can do this is one of two ways. You can either set the labels in the query (query.setQuery('select A as labelA,B as labelB,C,F, sum(D), sum(E) group by A,B,C,F');), or you can set the series' legend title directly through the options by using the undocumented labelInLegend option for the

Re: [visualization-api] How can i set the color for some part of the dygraphs ?

2013-06-24 Thread Sergey Grabkovsky
Hello, this group is for the Google Chart API, which dygraphs is not a part of. If you link to a jsfiddle, I can take a look at it, but there's a dygraphs forum as wellhttps://groups.google.com/forum/?fromgroups#!forum/dygraphs-users . - Sergey On Mon, Jun 24, 2013 at 8:26 AM, armon d

Re: [visualization-api] Split long line-chart into some small ones

2013-06-24 Thread Sergey Grabkovsky
Hi, I'm not sure what you mean. You can draw multiple charts with different view windows, but I don't really see the appeal of that to drawing one big chart. - Sergey On Mon, Jun 24, 2013 at 8:34 AM, Yuan Bian melo1...@gmail.com wrote: Hi all, Is there a good way to split a long horizontal

Re: [visualization-api] How to make multiple rows in a table for each record?

2013-06-24 Thread Sergey Grabkovsky
Hello, you can have as many rows as you want, but we don't have anything to automatically split rows. The presentation of that might be a little confusing, if the headers don't match up. - Sergey On Mon, Jun 24, 2013 at 10:50 AM, J Dales jeffda...@gmail.com wrote: I have a table that I want

Re: [visualization-api] How to make multiple rows in a table for each record?

2013-06-24 Thread Sergey Grabkovsky
You can't do any of that other stuff, like have two header rows. I would recommend you just use an HTML table and present your data yourself. - Sergey On Mon, Jun 24, 2013 at 12:55 PM, J Dales jeffda...@gmail.com wrote: Can you give me some suggestions on how I could split the rows myself?

Re: [visualization-api] Is it possible to plot/draw string values on 3d surface chart of google

2013-06-24 Thread Sergey Grabkovsky
Hi, can you please link to what you're using to visualize the 3D surface plot? We don't have anything that does that in our API as far as I know. - Sergey On Mon, Jun 24, 2013 at 1:49 PM, Rohit Salviya salv...@gmail.com wrote: Hi, While using 3D surface plot chart, I am passing values of

Re: [visualization-api] Drawing charts with google visualization API into presentations, docs or spreadsheets?

2013-06-25 Thread Sergey Grabkovsky
Hello, unfortunately it's currently not possible to insert a chart into a presentation. This is something that we're thinking about, but I don't have an estimate for you yet. The best solution I can offer you is to render your graph, take a screenshot, and insert the image into your presentation.

Re: [visualization-api] create map coordinates from Google Spreadsheet query

2013-06-25 Thread Sergey Grabkovsky
Hi, you're using a combination of API's, since the Maps API isn't part of the Google Visualization API. The main difference being that everything in the Google Visualization API takes a DataTable, where the Maps API uses an array of LatLng objects. You could construct an array from the DataTable

Re: [visualization-api] How can i set the region color for each state in United States?

2013-06-25 Thread Sergey Grabkovsky
No, it's not possible to set the color using a string. - Sergey On Tue, Jun 25, 2013 at 1:24 AM, siva kumar tsivakumar1...@gmail.comwrote: Hi, var data = google.visualization.arrayToDataTable([ ['Country', 'Name'], ['US-MA',obama], ['US-CO',romney], ['US-CA'obama],

Re: [visualization-api] How can i build the Map with the statenames?

2013-06-25 Thread Sergey Grabkovsky
You unfortunately can't have persistent labels (country names, state names) on either the GeoChart or the GeoMap. - Sergey On Tue, Jun 25, 2013 at 1:31 AM, siva kumar tsivakumar1...@gmail.comwrote: Hi, i want to show the map with the state names for country map and country name for the

  1   2   3   4   5   6   7   8   9   10   >