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

2013-06-26 Thread siva kumar
Are you planning to include persistent labels for state names in future release? On Tuesday, 25 June 2013 19:14:13 UTC+5:30, Sergey wrote: 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

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

2013-06-26 Thread siva kumar
If I cannot set color using string how can I achieve this? MA - OBAMA - BLUE NH- ROMNEY - RED NY-OBAMA-BLUE My data is like this MA - OBAMA - WINNER NH-ROMNEY-WINNER Regards Sivakumar On Monday, 24 June 2013 14:28:50 UTC+5:30, siva kumar wrote: Hi, ** i want to set the region color

[visualization-api] How to make a SERIES line dashed in Google Line Chart?

2013-06-26 Thread A. Farber
Hello! In Google Line Charthttps://developers.google.com/chart/interactive/docs/gallery/linechart how do you make a *series* line dashed? For example the red line (called Row B) in the screenshot below?

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

2013-06-26 Thread Sergey Grabkovsky
This is something that we're thinking about. - Sergey On Wed, Jun 26, 2013 at 5:27 AM, siva kumar tsivakumar1...@gmail.comwrote: Are you planning to include persistent labels for state names in future release? On Tuesday, 25 June 2013 19:14:13 UTC+5:30, Sergey wrote: You unfortunately

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

2013-06-26 Thread Sergey Grabkovsky
Here is an updated jsfiddle http://jsfiddle.net/ZNzZA/1/that also transforms the data. - Sergey On Wed, Jun 26, 2013 at 5:36 AM, siva kumar tsivakumar1...@gmail.comwrote: If I cannot set color using string how can I achieve this? MA - OBAMA - BLUE NH- ROMNEY - RED NY-OBAMA-BLUE My data

Re: [visualization-api] How to make a SERIES line dashed in Google Line Chart?

2013-06-26 Thread Sergey Grabkovsky
Hi! I'm not entirely sure why you say that the certainty role doesn't work for you, since it works on a per-series basis. Here is a jsfiddle that shows this with your data http://jsfiddle.net/xhwJM/1/. Is there any reason why this doesn't fit your needs? - Sergey On Wed, Jun 26, 2013 at 8:47

[visualization-api] Pie animation

2013-06-26 Thread Nathan Askew
I am using the PieChart visualization but want to animate the data updates but even though the docs indicate that it is possible to animate pie charts, the animation does not happen. I can animate a bar chart data updates but not pie charts. I am specifying the following in the chart options:

[visualization-api] Stacked BarChart with Date HAxis

2013-06-26 Thread Jeremiah Mitchell
All - I'm trying to create a gantt type chart that uses dates but the hAxis is going backwards to 1950 and forwards to 2125. Here is the sample: function drawVisualization() { var data = new google.visualization.DataTable(); data.addColumn('string', 'Name'); data.addColumn('date',

Re: [visualization-api] Re: Query Date

2013-06-26 Thread asgallant
Where is the exception thrown? What error message do you get? On Tuesday, June 25, 2013 5:41:15 PM UTC-4, Carl Stone wrote: Sorry it didn't work Throws a very long exception. On 25 June 2013 21:55, asgallant drew_g...@abtassoc.com javascript:wrote: I do not know exactly what the format

Re: [visualization-api] How to make a SERIES line dashed in Google Line Chart?

2013-06-26 Thread Alexander Farber
Hello Sergey and others, On Wed, Jun 26, 2013 at 3:46 PM, Sergey Grabkovsky gra...@google.comwrote: Hi! I'm not entirely sure why you say that the certainty role doesn't work for you, since it works on a per-series basis. Here is a jsfiddle that shows this with your data

Re: [visualization-api] Pie animation

2013-06-26 Thread Sergey Grabkovsky
Hi, it seems that your code correct and the PieChart animation code is just extremely limited. The PieChart seems to animate its legend, but not the slices. I don't think there's anything you can do about it. - Sergey On Wed, Jun 26, 2013 at 11:01 AM, Nathan Askew nat...@bright-soft.co.ukwrote:

Re: [visualization-api] Pie animation

2013-06-26 Thread Nathan Askew
Thanks for looking into it Sergey. Saves me banging my head against a brick wall for a few hours. On Wednesday, 26 June 2013 17:00:57 UTC+1, Sergey wrote: Hi, it seems that your code correct and the PieChart animation code is just extremely limited. The PieChart seems to animate its legend,

[visualization-api] Re: Stacked BarChart with Date HAxis

2013-06-26 Thread asgallant
Using dates for the hAxis of a BarChart doesn't work well, as you can see. I think that the charts are trying to interpret the date as a number to draw the bar, and when you stack the dates like that, you get a chart with bars equivalent to the stacked numbers. If you make the first series

Re: [visualization-api] How to make a SERIES line dashed in Google Line Chart?

2013-06-26 Thread asgallant
The certainty column applies to the column immediately preceeding it in the DataTable, so to make both lines dashed, you need to add the second certainty column after the first series, like this: http://jsfiddle.net/asgallant/xhwJM/4/ On Wednesday, June 26, 2013 12:03:39 PM UTC-4, A. Farber

[visualization-api] Re: Stacked BarChart with Date HAxis

2013-06-26 Thread Jeremiah Mitchell
Thanks, I'll give that a try. No idea how I missed the timelines type. -- 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

[visualization-api] Re: Stacked BarChart with Date HAxis

2013-06-26 Thread asgallant
They are brand new, so easy to miss ;o) On Wednesday, June 26, 2013 12:28:26 PM UTC-4, Jeremiah Mitchell wrote: Thanks, I'll give that a try. No idea how I missed the timelines type. -- You received this message because you are subscribed to the Google Groups Google Visualization API

Re: [visualization-api] Re: Query Date

2013-06-26 Thread Carl Stone
Sorry I don't pretend to a programmer. I dissected your code a little, so I could understand it a bit more. Also changed the final query a little and this is what I came up with. var d=new Date(); d.setDate(d.getDate() - 1); var year = d.getFullYear(); var month = d.getMonth() + 1; var

[visualization-api] Re: Query Date

2013-06-26 Thread Carl Stone
I just spotted it myself, but I cheated on the Milliseconds cause I didn't know the code Its now working and thanks for your help, certainly been a learning curve! var d=new Date(); d.setDate(d.getDate() - 1); var year = d.getFullYear(); var month = d.getMonth() + 1; var day =

[visualization-api] Pie Chart 'Other' Category

2013-06-26 Thread Jared Nielsen
My pie chart has an 'Other' category. Where is this coming from, and how do I fix it? https://lh3.googleusercontent.com/-lH03UhMpKNw/UcsrkXzOpLI/AK0/_vY_zXBHa5Q/s1600/other+category.png -- You received this message because you are subscribed to the Google Groups Google Visualization

Re: [visualization-api] Pie Chart 'Other' Category

2013-06-26 Thread Sergey Grabkovsky
The 'Other' category is a slice that factors in all the slices that are too small to display. You can change the minimum size that a slice needs to be in order to be displayed on its own by modifying the 'sliceVisibilityThreshold' option. - Sergey On Wed, Jun 26, 2013 at 1:57 PM, Jared Nielsen

[visualization-api] What Next

2013-06-26 Thread Carl Stone
For the past few days I've been using Google playground to create an auto updating chart that I've been receiving Helphttps://groups.google.com/forum/#!topic/google-visualization-api/QmOgyp_8UMc which I'm grateful for Ideally I'd like to publish to the company Google intra-site but what would

[visualization-api] Re: What Next

2013-06-26 Thread asgallant
Everything is javascript based, so you just need to add the API loader and your chart script to the HTML, along with the div(s) for the chart(s). On Wednesday, June 26, 2013 2:19:13 PM UTC-4, Carl Stone wrote: For the past few days I've been using Google playground to create an auto updating

[visualization-api] New Instance (or) save Chart reference?

2013-06-26 Thread Benin Yesu
Hi, I am developing a webpage consist of ~25 google charts, not all 25 charts will be displayed together, but based on user selection (without postback) through menu, e.g. 5 charts for each menu. Now should I create a new instance of the chart everytime? or can I have all the grapghs in an

[visualization-api] Re: New Instance (or) save Chart reference?

2013-06-26 Thread asgallant
If you want to save state information while a chart is not displayed, then it is most convenient to save the chart objects in a data structure (like an array) rather than create new ones each time; but it is generally more memory intensive than creating and destroying chart objects on the fly.

[visualization-api] Applying Chart Control only to specific rows

2013-06-26 Thread Ervin Puskar
Hi, I am building a simple dashboard. Using the ChartRangeFilter to specify a range of dates, I want the sum of these rows to display as one stacked bar. On the same chart I want to display 2 other stacked bars that are NOT in that range of dates. Below is the relevant code that I have

[visualization-api] Re: New Instance (or) save Chart reference?

2013-06-26 Thread Benin Yesu
Thanks for the reply. Is recreating new instance every time more costly? how do we compare the performance between having reference and using new? e.g. (1:10)? any idea in general? Thanks, Jesu Benin. On Wednesday, June 26, 2013 3:53:42 PM UTC-4, asgallant wrote: If you want to save state

[visualization-api] Re: Applying Chart Control only to specific rows

2013-06-26 Thread asgallant
Ok, let me see if I have this correct: you want users to select a range of data, and you want a chart that has 3 column stacks, 1 for the year prior to the selected range, 1 for the selected range, and one for the year after the selected range, correct? On Wednesday, June 26, 2013 3:58:34 PM

[visualization-api] Re: New Instance (or) save Chart reference?

2013-06-26 Thread asgallant
I suspect that the difference will depend entirely on the setup of the charts and maybe the data driving them. You could create two test cases and profile the performance of each using something like Firebughttp://getfirebug.com/javascript . On Wednesday, June 26, 2013 4:04:32 PM UTC-4, Benin