Re: [visualization-api] Newbie trying to get multiple charts on one page
You can't set two on load callbacks. You need to do something like google.setOnLoadCallback(drawVisualizations); function drawVisualizations() { drawVisualization(); drawVisualization2(); } I hope that helps! MC Get Vizzy On Fri, Jul 6, 2012 at 8:03 PM, Dustin Powers blackhawkpow...@gmail.comwrote: I am brand new to google charts and trying to get two stacked column bar charts on the same page. Below is the html, the first chart is rendering fine but I cannot seem to get a second one on the page. any help is appreciated. !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=content-type content=text/html; charset=utf-8/ title Sprocket Dashboard /title script type=text/javascript src=http://www.google.com/jsapi /script script type=text/javascript google.load('visualization', '1', {packages: ['corechart']}); /script script type=text/javascript function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ ['Account', 'Open WOs', 'Open PMs'], ['AFV 51',1163,1161] ]) // Create and draw the visualization. var chart1 = new google.visualization.ColumnChart(document.getElementById('visualization')). draw(data, {'isStacked': true, title:Open WOs and PMs by location, width:1200, height:600, hAxis: {title: Site}} ); } function drawVisualization2() { // Create and populate the data table. var data2 = google.Visualization.arrayToDataTable([ ['Account', 'Closed WOs MTD', 'Closed PMs MTD'], ['AFV 51',64,61] ]) // Create and draw the Visualization. var chart2= new google.Visualization.ColumnChart(document.getElementById('Visualization2')). draw(data2, {'isStacked': true, title:Open WOs and PMs by location, width:1200, height:600, hAxis: {title: Site2}} ); } google.setOnLoadCallback(drawVisualization); google.setOnLoadCallback(drawVisualization2); /script /head body style=font-family: Calibri;border: 0 none; div id=visualization style=width: 1200px; height: 600px;/div brbrbrbrbr div id=visualization2 style=width: 1200px; height: 600px;/div /body /html -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/TC-dYIWyGuYJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] animationfinish event does not fire...
I think the ChartWrapper class doesn't support the 'animationfinish' event. You could use the ColumnChart class directly. Or, you could do something like this (it will only work after the first call to draw()): google.visualization.events.addListener(stackcol.getChart(), 'animationfinish', function(){ alert('stackcol animation is finished.'); }); On Sat, Jul 7, 2012 at 5:56 PM, T-Roy t...@notionslate.net wrote: With this working chart definition, the ready event fires, but not the finish animation event. I am trying to orchestrate an ajax call after the redraw from the animationfinish event because if I make the ajax call before this event, the animation is interrupted and it looks very jerky. How do I get the animiationfinish event to fire? // Create and draw the visualization. stackcol = new google.visualization.ChartWrapper({ 'chartType': 'ColumnChart', 'containerId': 'chart2', 'options': { 'title':'Scan History', 'titleTextStyle': {color: 'yellow', fontName: 'Porkys', fontSize:16 }, //Porkys, Comic Sans MS; 'width':'100%', 'height':170, 'chartArea':{left:20,top:25,right:10,width:95%,height:65%}, 'isStacked': true, 'backgroundColor': '#22', 'legend': {'position':'none'}, 'colors': ['#22445d','446985','678ba7','8eaec6','bed4e5'], //mindset blues 'animation': {'duration':1000, 'easing':'inAndOut'}, 'hAxis': {'title': '', 'slantedTextAngle': 60, 'baselineColor' : 'yellow', 'titleTextStyle': {color: 'yellow', fontName: 'Soopafresh, Comic Sans MS', fontSize:11 }, 'textStyle': {color: 'yellow', fontName: 'Soopafresh, Comic Sans MS', fontSize:10 } }, 'vAxis': {'title': 'Fixed\u00a0\u00a0Mixed\u00a0\u00a0Growth', 'maxValue': 100, 'viewWindowMode': 'explicit', //'pretty' 'explicit' 'maximized' 'viewWindow': {'max':100, 'min':40}, 'baselineColor' : 'yellow', 'gridlines': {color: 'yellow', count: 4}, 'titleTextStyle': {color: 'yellow', fontName: 'Comic Sans MS', fontSize:11 }, 'textStyle': {color: 'yellow', fontName: 'Comic Sans MS', fontSize:10 } } }, 'view': {'columns': [{calc:mindsetDate, type:'string', label:''},6,4]} }); google.visualization.events.addListener(stackcol, 'animationfinish', function(){ alert('stackcol animation is finished.'); }); google.visualization.events.addListener(stackcol, 'ready', function(){ alert('stackcol is ready.'); }); -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/xO6u22mrvBQJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Charts Image Rendering in Emails
Sorry, Google Chart Tools doesn't currently support converting charts to images, or sending them in email. On Tue, Jul 3, 2012 at 7:34 AM, Harsha M V har...@mink7.com wrote: I am trying to create the images of graphs (unique to each user) and send them as an Email as a Daily Reports to Users. How can i convert Google Charts to Images and link it to in the Email ? Can i host the service on the cloud or is there any service which gives this facility ? -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/WovH1orLt3IJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Adding State: SelectedValues with Array of String not working
I think the main problem here is that you have an extra set of array brackets. Instead of state: {selectedValues: [r2SelectedStudents]} you should have state: {selectedValues: r2SelectedStudents} Your code has other problems, though. r2SelectedStudents is an array, but sometimes you treat it as a string. also, you call r2SelectedStudents.join(), which has no effect, and you do not use the return value. On Mon, Jul 2, 2012 at 9:56 PM, PC peterd...@gmail.com wrote: Hi everyone, I am having difficulty setting the state on a Google ColumnChart. If I hardcode my array, john,amy,''luke,eric, to the chart state, the graph will appear with the state set correctly. If I add the state as a variable r2selected which contains the same string of names, the state does not work. Google API states: The state accepts Array of objects or primitive types I believe I am sending an array of type string. Code: function drawVisualization2(jsonParam) { var JSONObject = jsonParam; var data2 = new google.visualization.DataTable(JSONObject); var r2SelectedStudents = []; for (var i = 0; imasterySelected.length;i++){ if(r2SelectedStudents!=''){r2SelectedStudents+=,;} r2SelectedStudents.push( \ + bigStudentData[masterySelected[i]].split( 'XXXSDXXX')[0] + \); } r2SelectedStudents.join(); // Create and draw the visualization. var barChart = new google.visualization.ChartWrapper({ chartType: 'BarChart', containerId: 'placeChart', dataTable: data2, options: { width: 1000, height: 800, vAxis: {title: Student, titleTextStyle: {color: '#999', fontSize: 15} }, hAxis: {title: Standard Grade, maxValue: 4.5, gridlines: {color: '#999', count: 10}, titleTextStyle: {color: '#999', fontSize: 15} }, colors: ['#4CBBE0','#197392','#FFAA50'] }, state: {selectedValues: [r2SelectedStudents]}, view: {columns: [0,colSelected]} }); var studentFilter = new google.visualization.ControlWrapper({ controlType: 'CategoryFilter', containerId: 'control', options: { filterColumnLabel: 'Student', ui: { label: 'Standards', caption : 'Selected', allowTyping: false, allowMultiple: true, selectedValuesLayout: 'below' } }, state: {selectedValues: [r2SelectedStudents]} }); var dashboard2 = newgoogle.visualization.Dashboard(document.getElementById( 'chartsHere')) .bind(studentFilter, barChart).draw(data2,{allowHtml: true}); } -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/Qs7YuJxHExUJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] A new Google Visualization API version
Um, actually, it turns out that dataTableToCsv() was indeed documented, but not actually released. It has now been removed from the documentation. It should be available in the next version of Google Chart Tools. On Tue, Jun 19, 2012 at 4:22 PM, MC Get Vizzy getvi...@google.com wrote: There is also a new function that converts a DataTable (or DataView) to CSV: https://developers.google.com/chart/interactive/docs/datatables_dataviews#datatabletocsv On Mon, Jun 18, 2012 at 8:39 PM, Jinji ji...@google.com wrote: A new version of the APIhttps://developers.google.com/chart/interactive/docs/release_notes#v18062012 was pushed June 18, 2012. Here are some of the most interesting features: - CandlestickChart: Allow more control over the candlesticks colors (see the candlestick option group) - ComboChart: Support candlesticks and steppedArea series (see the series/seriesType options) - ColumnChart/BarChart/CandlestickChart: Support continuous domain axis (see the relevant *data format* sections) - All corechart charts: Support legend alignment (see the legend.alignment option) - All corechart axis charts: Support minor gridlines (see the minorGridlines option) Unlike previously planned, we didn't change the default chart rendering to not use an iframe. We decided to push it to the next release to allow for more testing. Enjoy! -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] A new Google Visualization API version
There is also a new function that converts a DataTable (or DataView) to CSV: https://developers.google.com/chart/interactive/docs/datatables_dataviews#datatabletocsv On Mon, Jun 18, 2012 at 8:39 PM, Jinji ji...@google.com wrote: A new version of the APIhttps://developers.google.com/chart/interactive/docs/release_notes#v18062012 was pushed June 18, 2012. Here are some of the most interesting features: - CandlestickChart: Allow more control over the candlesticks colors (see the candlestick option group) - ComboChart: Support candlesticks and steppedArea series (see the series/seriesType options) - ColumnChart/BarChart/CandlestickChart: Support continuous domain axis (see the relevant *data format* sections) - All corechart charts: Support legend alignment (see the legend.alignment option) - All corechart axis charts: Support minor gridlines (see the minorGridlines option) Unlike previously planned, we didn't change the default chart rendering to not use an iframe. We decided to push it to the next release to allow for more testing. Enjoy! -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: GeoChart : Change mouse cursor
I think this issue will be fixed in the upcoming release. For now, you can load visualization 1.1 and that should resolve the problem. On Mon, May 28, 2012 at 7:31 PM, Sachin captain...@gmail.com wrote: I am using Firefox 8.0.1 and IE 9.. It happens only when I set forceIFrame to false. On Monday, May 28, 2012 3:31:32 PM UTC+5:30, MC Get Vizzy wrote: What browser are you using? Does the double map happen only when you add the hand cursor, or all the time? On Fri, May 25, 2012 at 7:01 PM, Sachin captain...@gmail.com wrote: Hi asgallant, Thanks a lot for helping in. The hand cursor works but there is a problem in it. I have different methods which display region,country and cities separately.. I can not integrate them in one. I have also used regionClick and select event to highlight country from the region clicked or highlight cities from the country clicked. now the problem is when I set 'forceIFrame' option to false then map get displayed two times on page load. When I click on region to highlight , 2 more maps get visible. hence please help me to solve the problem. Thanks and regards, Sachin On Thursday, May 24, 2012 11:22:05 PM UTC+5:30, asgallant wrote: jQuery can help you here. I haven't tested it, but in theory this should work: Set the 'forceIFrame' option to false (best for future compatibility - it can be done without this step, however). Use a ready event handler for your chart, and run this: google.visualization.events.addListener(geochart, 'ready', f unction () { $('#visualization').find('**pa**th[fill!=#f5f5f5]').css('**cur** sor', 'pointer'); }); If you use a color other than the default for dataless regions, you will need to change the '#f5f5f5' to the correct color string. If you want a hand cursor to appear for dataless regions too, then you can omit the '[fill!=#f5f5f5]'. On Thursday, May 24, 2012 1:07:35 PM UTC-4, Sachin wrote: Hi, I am using Google Visualization Geochart API for one of the applications. My query is that in any case can change the mouse cursor to a hand cursor or any other type on mousehover on any regions or markers? please let me know if there is any way. Thanks and Regards, Sachin -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/** msg/google-visualization-api/-**/k86YxX6rkZIJhttps://groups.google.com/d/msg/google-visualization-api/-/k86YxX6rkZIJ . To post to this group, send email to google-visualization-api@** googlegroups.com google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+* *unsubscr...@googlegroups.comgoogle-visualization-api%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/** group/google-visualization-**api?hl=enhttp://groups.google.com/group/google-visualization-api?hl=en . -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/DQHL9bnZ3-IJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] table and geomap using fusion table
What is the problem? On Sat, May 26, 2012 at 1:18 PM, sk sindhusk7...@gmail.com wrote: hi im trying to display table,geomap in one page by using fusion table data plz correct me,if i made any error in thd code !DOCTYPE html html head meta name=viewport content=initial-scale=1.0, user-scalable=no / meta http-equiv=content-type content=text/html; charset=UTF-8/ titleGoogle Maps JavaScript API v3 Example: Fusion Tables Layer Styling/title script type=text/javascript src= https://maps.googleapis.com/maps/api/js?key=AIzaSyCNkTBLWcXuFPX9PKqzlSLyTbGInIZGp60sensor=false /script script type=text/javascript function drawMap() { var india = new google.maps.LatLng(21.7679, 78.8718); map = new google.maps.Map(document.getElementById('map_canvas'), { center: india, zoom: 5, mapTypeId: google.maps.MapTypeId.ROADMAP }); var layer = new google.maps.FusionTablesLayer({ query: { select: 'location', from: '4033136' }, styles: [{ polygonOptions: { fillColor: #00, fillOpacity: 0.3 } }] }); layer.setMap(map); } function drawTable() { var query = SELECT FROM '4033136'; var data = document.getElementById('data').value; if (data) { query += WHERE 'state' = ' + data + '; } var queryText = encodeURIComponent(query); var gvizQuery = new google.visualization.Query( ' https://docs.google.com/spreadsheet/ccc?key=0ArFGfpB6duBGdFBJNVI1c3liaXd0c3l3UVNFMmZoMEEpli=1#gid=0' + queryText); gvizQuery.send(function(response) { var table = new google.visualization.Table(document.getElementById('visualization')); table.draw(response.getDataTable(), {showRowNumber: true}); } table.draw(); } function drawVisualization(){ drawMap(); drawTable(); } google.maps.event.addDomListener(window,'load',drawVisualization); // google.setOnLoadCallback(drawVisualization); /script /head body onload=drawMap() table tr valign=top td style=width: 50%; div id=map_canvas style=height: 950px; width: 750px; margin: 15px/div /td td div id=data style=align: center; width: 700px; height: 300px; /div /td /tr /table div id=visualization style=align: center; width: 700px; height: 300px; /div /body /html -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/4EbsMLdYVToJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Dashboard - using CategoryPicker control on a column that isn't drawn
I think you should add a view to the ScatterChart's ChartWrapper object. You still pass the whole DataTable to Dashboard#draw(). Have a look at https://developers.google.com/chart/interactive/docs/gallery/controls#create_controls It's kind of long, but it contains an example of setting a view in a ChartWrapper. (It's not exactly the same as creating a DataView object.) Hope that helps, let me know if you have further questions. MC Get Vizzy -- Forwarded message -- From: AnnaBrown bho...@gmail.com Date: Sat, May 26, 2012 at 4:02 AM Subject: [visualization-api] Dashboard - using CategoryPicker control on a column that isn't drawn To: Google Visualization API google-visualization-api@googlegroups.com I'm using a the Query object to return a three columns of a table from a google spreadsheet. The first column is a label column, the 2nd and 3rd data values. I'm trying to create a dashboard binding a CategoryPicker control object and a ControlWrapper (ScatterChart) object. I'd like to use the Category Picker as a means of filtering the rows within the data (by selecting the row labels in the first or label column) and then have the remaining two columns of data drawn within the scatter chart. I am knew to this API and I am struggling with how to concurrently allow the CategoryPicker to work and exclude the label column from the ScatterPlot ControlWrapper object. I've tried using a DataView to limit the Queried data view to the 2nd and 3rd columns, but I believe the Dashboard object binding method needs all three columns to support the CategoryPicker's function. What's the appropriate way to go about achieving this outcome? Thanks in advance. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] choose frame color around boxes in tree map
You mean, the white border? No, I don't think you can configure it, sorry. On Sat, May 26, 2012 at 12:33 AM, Pascal pjpstal...@gmail.com wrote: Hi, I looked in the reference sheet for the Tree Map but did not see anything that allows me to control the color of the frames around each rectangle of the tree map elements. Is this possible? -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Loading indicator on map area
The chart doesn't provide a built-in loading indicator. You'll have to add your own. Sorry. On Fri, May 25, 2012 at 9:29 PM, Sachin captain...@gmail.com wrote: Hi, As highlighting a particular region by a specific color is not possible in Geochart, I am extracting countries on region selection from an xml file. ie when South Asia is selected then all the countries and ISO codes will be fetched from an xml file and stored in datatable. Then these cities will be highlighted by a color. The problem is when I select Africa, Its taking time to highlight all the countries. Some countries get selected immidiately but I can visually see some countries getting highlighted one by one. Hence untill all the countries from the datatable dont get highlighted I want to keep a loading indicator. how can I do it? Thanks, Sac -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/EsQRrOVibikJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: c[rc] is not a function
You are setting the formatted value to a number instead of a string. Your JSON has objects like {v:0,f:0}. It should be {v:0,f:0}. The value of f should always be a string. In these cases, you don't really need to set f explicitly, since the default formatted value of 0 is 0. HTH MC Get Vizzy On Sat, May 26, 2012 at 1:50 AM, Mike phpinter...@gmail.com wrote: var data = new google.visualization.DataTable(jsonData); var chart = new google.visualization.AreaChart(document.getElementById('chart_div')); chart.draw(data, {width: 700, height: 282, title: 'Stats', chartArea:{left:20,top:50,width:90%,height:75%}, legend: {position: 'top'} }); jsonData is: {cols:[{id:,label:Day,pattern:,type:string}, {id:,label:Hits,pattern:,type:number}, {id:,label:Visits,pattern:,type:number}, {id:,label:Conversions,pattern:,type:number}],rows: [{c:[{v:31,f:May 19, 2012},{v:12,f:12},{v:8,f:8}, {v:0,f:0}]},{c:[{v:31,f:May 20, 2012},{v:5,f:5}, {v:4,f:4},{v:0,f:0}]},{c:[{v:31,f:May 21, 2012}, {v:6,f:6},{v:5,f:5},{v:0,f:0}]},{c: [{v:31,f:May 22, 2012},{v:11,f:11},{v:7,f:7},{v: 0,f:0}]},{c:[{v:31,f:May 23, 2012},{v:8,f:8},{v: 6,f:6},{v:0,f:0}]},{c:[{v:31,f:May 24, 2012},{v: 8,f:8},{v:8,f:8},{v:0,f:0}]},{c:[{v:31,f:May 25, 2012},{v:9,f:9},{v:8,f:8},{v:0,f:0}]}]} Thanks, Mike On May 25, 9:12 am, asgallant drew_gall...@abtassoc.com wrote: If you post your code or a link to the page, we can take a look and see what might be causing this. On Thursday, May 24, 2012 9:18:04 PM UTC-4, Mike wrote: Great api. Great work! Thought you'd want to know about the following: I'm using FF 12. I'm displaying a line chart with 3 lines. There is one line that at one point goes down to 0. I can get a tool tip at any point along the line except the point it goes to zero. Once I roll over the zero point I get a javascript error in the error console: c[rc] is not a function format+en,default,corechart.I.js Line 571. After I get this error I can no longer see any roll over tips on the chart. Regards, Mike -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Alternative to Image Charts now that they're deprecated?
You're thinking ahead. Good for you! I don't have a solution for you, but the Image Charts are available until 2015. By 2015, either the dog will die, the landowner will die, or the Interactive Charts will figure out how to print themselves. On Tue, May 22, 2012 at 4:58 AM, Ben Sinclair bensinclai...@gmail.comwrote: I was using the Image Charts for displaying the charts in a printer friendly PDF file. Is there an alternative to this now that Image Charts are going? Can I somehow make the JavaScript API work in PDFs? I currently use TCPDF (http://www.tcpdf.org/) to generate my PDFs. I did do a Google Search to try find my answer but couldn't really find any answers. Appreciate any input you have ;) -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Multiplos valores eixo X
Really? What happens when you set DataTable values to null? Do you see an error? On Mon, May 21, 2012 at 10:49 PM, Rafael Uzilin rafael_uzi...@hotmail.comwrote: I need a line chart to compare those values, i need to analyze a function, the best function would be the highest curve on the chart for example. That's the reason i use a line chart. I can't let values null, when i do it, the chart isn't generated. 2012/5/21 MC Get Vizzy getvi...@google.com The line chart data format is not ideally suited to your use case. You could use null values to pad your data, as in x,y1,y2 1,4, 2,,5 3,5, 4,,4 5,9, 6,,4 You could also have a look at the BubbleChart, which does have a data format like yours: https://developers.google.com/chart/interactive/docs/gallery/bubblechart 2012/5/21 Uzilin uzi...@gmail.com Bom galera, estou com uma duvida, quando vou gerar o gráfico de linha com sobreposição de curvas é definido N valores de Y para 1 valor de X ou seja, em um gráfico q contem 2 curvas sobrepostas, em um valor de X eu tenho 2 valores de Y, porem estou com um problema, o gráfico q quero gerar não tem os mesmos valores de Y para um valor de X, por exemplo: uma curva seria: (1, 2); (2, 4); (3, 3). Oma outra curva seria: (0.5, 0.5); (1.5,3; (3,1). Gostaria de uma ideia para gerar este gráfico de linha. Obrigado. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- Rafael Uzilin Francisco Graduando do Curso de Gestão de Produção Industrial Instituto Federal de Educação, Ciência e Tecnologia de São Paulo - IFSP Campus Salto Fone: (19)98517545 / (19)94461571 / (19)33120554 -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Table Chart: Long Columns Headings
I don't know. You can allow HTML with 'allowHtml'=true in the options object. Then you can modify the column labels to add HTML that will show your tooltip. There's nothing that does it automatically though. On Mon, May 21, 2012 at 1:54 AM, Adam Symonds asymo...@elogicmedia.com.auwrote: I have a table chart setup which is database generated from field information and has long column headings making the table stretch over more then the width of the page. Is there a way to somehow get around this issue? Either by auto shortening the headings or have the column headings as numbers / letters with tooltip highlighting the full column heading? Thanks -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/39h4cZmH8C4J. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Multiplos valores eixo X
The line chart data format is not ideally suited to your use case. You could use null values to pad your data, as in x,y1,y2 1,4, 2,,5 3,5, 4,,4 5,9, 6,,4 You could also have a look at the BubbleChart, which does have a data format like yours: https://developers.google.com/chart/interactive/docs/gallery/bubblechart 2012/5/21 Uzilin uzi...@gmail.com Bom galera, estou com uma duvida, quando vou gerar o gráfico de linha com sobreposição de curvas é definido N valores de Y para 1 valor de X ou seja, em um gráfico q contem 2 curvas sobrepostas, em um valor de X eu tenho 2 valores de Y, porem estou com um problema, o gráfico q quero gerar não tem os mesmos valores de Y para um valor de X, por exemplo: uma curva seria: (1, 2); (2, 4); (3, 3). Oma outra curva seria: (0.5, 0.5); (1.5,3; (3,1). Gostaria de uma ideia para gerar este gráfico de linha. Obrigado. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: GeoMap not working
What browser are you using? Or does it fail on all browsers? On Wed, Apr 4, 2012 at 10:42 PM, asgallant drew_gall...@abtassoc.comwrote: It's working on the Visualization Playground: https://code.google.com/apis/ajax/playground/?type=visualization#geo_map Could you post your code or a link to the page so we can take a look at what might be happening? On Wednesday, April 4, 2012 7:41:03 AM UTC-4, Lautje wrote: GeoMap appears to be not working at all anymore. Has it been replaced by GeoChart or something? -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/qfh2m-Kq6oMJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Graph loading with old height width when it is Maximised !!!!
I don't know. How are you doing the maximize pop up? Can you send a code example? On Thu, Apr 5, 2012 at 10:01 AM, shub nishaa...@gmail.com wrote: Hi, I am loading graphs in divs with some height and width. I have a maximise option to view the graph in Maximise pop up. But my graph is seen in full height and width for the first time only. If I again open it in Maximise pop - up , the height reduces to that of my small div ?? I have not mentioned any height and width which drawing the chart, so y is it not taking the height and width of the maximise pop up container ? How to resolve this issue ? Thanks in advance. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/hOfT5U4qHF4J. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] A new version of the Google Visualization API was released to production on April 2, 2012
That's not the use case that the TreeMap was designed to support. A graph (or network) where a child can have two different parents is a directed (acyclic) graph, not a tree/hierarchy. On Mon, Apr 2, 2012 at 9:39 PM, Atif Musaddaq atif.musad...@gmail.comwrote: Hi, Thanks for new release I cannot assign a single child to two different parents in Tree map. e.g Russia to Europe and again Russia to Asia this also needs to be fixed. One Child may have multiple parents. Atif On Mon, Apr 2, 2012 at 11:32 PM, Erez Bixon ebi...@google.com wrote: We have pushed a new release to production. This release introduces some small features and bug fixes, including: - Annotations: - Simple visual effect for selection of annotations (make text bold). - Better handling of annotation bundles (i.e., multiple annotations on the same data point / domain value). - Allow interaction with annotations in 'category' focus target. - TreeMap chart: - Added an option to use weighted averages in the treemap. Enjoy, The Google Chart Tools team -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- Atif Musaddaq -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Gauges chart and animation
I think you only get animation if you call draw() multiple times with different values in your data table. On Mon, Apr 2, 2012 at 11:39 PM, manlio manlio.castronu...@gmail.comwrote: Hi, i'am trying to set animation on my gauges charts. The chart are correctly loaded and display but with no animation. Why? The code looks correct... Thank's to everybody ** function drawChart() { var data = new google.visualization.DataTable(); data.addColumn('string', 'Label'); data.addColumn('number', 'Value'); data.addRows([ ['€', 80] ]); var options = { width: 500, height: 200, greenColor:'#DC3912', redColor:'#109618', redFrom: 60, redTo: 100, greenFrom:1, greenTo:40, yellowFrom:40, yellowTo: 60, min:0,max:100, minorTicks: 10, animation:{ duration: 1000, easing: 'linear', } }; var chart = new google.visualization.Gauge(document.getElementById('divid')); chart.draw(data, options); } ** -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] why ColumChart() cannot have date as Xaxis specifier
I don't know, but it probably has something to do with the width of the bars/columns: since dates are not (necessarily) evenly spaced, it's unclear how the chart would choose a column width. In some cases, columns might overlap. On Tue, Apr 3, 2012 at 5:25 AM, geeohgeegeeoh geeohgeege...@gmail.comwrote: I don't dispute the behaviour of the ColumnChart() is exactly as specified. But, from an interest-only perspective: *WHY* is this chart style unable to take date specifiers? I am trying to understand how the codebase can process LineChart() with date in column 0 but not ColumnChart() I know use the source luke but if a google chart API person can say succinctly why this is so ... -G -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] annotated time line
I think this is not currently supported. The Annotated Timeline from Google Chart Tools is similar to the chart on Google Finance, but it does not support all the features of the Finance chart. On Tue, Apr 3, 2012 at 8:11 AM, ANG anthony.ch...@gmail.com wrote: Hi, The example code in the follow page shows how to annotate a particular event on the line graph. http://code.google.com/apis/chart/interactive/docs/gallery/annotatedtimeline.html May I ask how to annotate a particular event directly the time axis? i.e. on google finance I see that the dividend events is being labeled directly on the time axis. Is there available a more advance example showing how to make use of the chart API to achieve what google finance is currently showing? For example, How to split the chart area into to pane? I see that in google finance, there are two panes, the upper pane showing the price chart and the lower pane showing the technical indicator like MACD and etc. Please advise. Thank you Anthony -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: JSON DateTime format issues...
What do you mean? On Tue, Feb 28, 2012 at 6:36 AM, Kyle Brotheridge k...@brosoft.com.auwrote: No I haven't - there's no point :- 22/02/12 12:51PM - I said: That doesn't solve the requirement for the X-axis to be date and time, since the sample rate is per 60 seconds - I need the precision to be as such for an accurate graph. How do I assign a full date and time to the X-axis of the graph? -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: JSON DateTime format issues...
Did you make the change that Prashanth suggested, changing new Date() to Date()? On Mon, Feb 27, 2012 at 3:18 AM, Kyle Brotheridge k...@brosoft.com.auwrote: It's a JS exception. Please read my initial post again - it has all the relevant information. On Feb 26, 9:26 pm, MC Get Vizzy getvi...@google.com wrote: OK, so that should work, what error are you seeing? On Fri, Feb 24, 2012 at 1:11 PM, Kyle Brotheridge k...@brosoft.com.au wrote: Line Graph - refer to the source code I originally quoted. On Feb 23, 8:14 pm, MC Get Vizzy getvi...@google.com wrote: Whether you can use dates on the x-axis depends on the chart. What chart are you using? On Wed, Feb 22, 2012 at 3:51 AM, Kyle Brotheridge k...@brosoft.com.au wrote: That doesn't solve the requirement for the X-axis to be date and time, since the sample rate is per 60 seconds - I need the precision to be as such for an accurate graph. How do I assign a full date and time to the X-axis of the graph? -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: License
At least until 2015. On Sun, Feb 26, 2012 at 6:57 AM, GradualStudent shethv...@gmail.com wrote: Wonderful. Not to look a gift horse in the mouth, so to speak, but conversely, are there any indications about expected availability over the next few years? -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] How to print a chart
Sorry, this is not currently supported. On Thu, Feb 23, 2012 at 12:10 PM, deltaaruna deltaar...@gmail.com wrote: Hi all, I am creating a reporting module with visualization api java wrapper. I successfully generated the needed charts. Now I need to print those charts How can I do it? I am a new comer to google chart api. Please someone help me Regards Aruna -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: Query Options - Having more than one filter
What kind of filter are you using? Can you post a code example? On Thu, Feb 23, 2012 at 5:15 PM, S sara.sampson...@gmail.com wrote: I would really like to just have an option to select one filter, like Travel, in a Department drop down menu. While retaining that filter, add a new one, like USD, in a Currency drop down menu. But every time I select a new filter, the old filter no longer remains. On Feb 23, 9:51 am, S sara.sampson...@gmail.com wrote: Hello, I'm currently trying to modify HTML under Visualization - More query options. I have a table with columns: Employee Name Expenses CurrencyDepartment Ex: John 32.00 USD Travel Karen 1,000 USD Entertainment George21.00 USD Travel Mary 9,000 JPY Travel I would like to filter data so that different departments are separated and broken up based on currency. For example: Employee Name Expenses CurrencyDepartment John 32.00 USD Travel George21.00 USD Travel So this example filters data to display only Travel departments and filtered again to display only USD I would also like to take the above table and perform a pivot / label to sum the expenses in a new table: Department Currency Total Travel USD53.00 Any help is greatly appreciated! -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: Motion chart - Data missing
',2010,59947.82,0,'REGION D'], ['FER-1',2010,167375.086,0,'REGION E'], ['FER-1',2010,51771.562,0,'REGION A'], ['FER-1',2010,0,84830.68,'REGION G'], ['FER-1',2010,31528.72,0,'REGION H'], ['FER-1',2010,22246.517,113050.69,'REGION J'], ['FER-1',2010,27544.191,81438.611,'REGION I'], ['FER-1',2010,0,26470.382,'REGION M'], ['FER-1',2010,83839.724,22246.517,'REGION K'], ['GRA-1',2010,0,228378.562,'REGION B'], ['GRA-1',2010,137093.72,0,'REGION C'], ['GRA-1',2010,0,0,'REGION D'], ['GRA-1',2010,79113.48,0,'REGION E'], ['GRA-1',2010,0,52266,'REGION A'], ['GRA-1',2010,0,84827.72,'REGION H'], ['GRA-1',2010,216248.16,63420.998,'REGION J'], ['GRA-1',2010,0,139327.665,'REGION I'], ['GRA-1',2010,137340.267,0,'REGION K'], ['GYP-1',2010,124490,0,'REGION C'], ['GYP-1',2010,0,124490,'REGION G'], ['LOG-2',2010,0,0,'REGION B'], ['LOG-2',2010,0,520677.60866,'REGION D'], ['LOG-2',2010,0,33537.772358,'REGION A'], ['LOG-2',2010,0,188393.000769,'REGION F'], ['LOG-2',2010,0,428895.972259,'REGION L'], ['LOG-2',2010,694182.211854,0,'REGION G'], ['LOG-2',2010,0,6317.945506,'REGION H'], ['LOG-2',2010,32941,0,'REGION M'], ['LOG-2',2010,287326.71,0,'REGION K'], ['ERO-1',2010,27500,0,'REGION B'], ['ERO-1',2010,129868,0,'REGION C'], ['ERO-1',2010,0,157168,'REGION D'], ['ERO-1',2010,0,27500,'REGION E'], ['ERO-1',2010,27300,0,'REGION A'], ['ERO-1',2010,0,0,'REGION J'], ['ERO-1',2010,28200,28200,'REGION I'], ['ETC-1',2010,0,181363,'REGION C'], ['ETC-1',2010,163124,0,'REGION F'], ['ETC-1',2010,22000,30775,'REGION H'], ['PET-1',2010,0,25000,'REGION B'], ['PET-1',2010,0,114454,'REGION C'], ['PET-1',2010,0,24790.009,'REGION D'], ['PET-1',2010,0,54686.76,'REGION E'], ['PET-1',2010,0,16000,'REGION G'], ['PET-1',2010,0,56449.30,'REGION J'], ['PET-1',2010,0,30854.926,'REGION I'], ['PET-1',2010,0,15363.11,'REGION M'], ['PET-1',2010,268644.105,0,'REGION K'], ['SAL-2',2010,246943,0,'REGION C'], ['SAL-2',2010,0,79150,'REGION D'], ['SAL-2',2010,0,54575,'REGION F'], ['SAL-2',2010,0,23549,'REGION G'], ['SAL-2',2010,0,154844,'REGION H'], ['SAL-2',2010,58672,0,'REGION I'], ['SAL-2',2010,0,58672,'REGION K'], ['SAN-1',2010,107083.10,0,'REGION C'], ['SAN-1',2010,0,134475.10,'REGION D'], ['STL-1',2010,51618.00,16160.404,'REGION C'], ['STL-1',2010,92172.1001,149295.05,'REGION D'], ['STL-1',2010,27794.285,27300,'REGION E'], ['STL-1',2010,0,27794.285,'REGION A'], ['STL-1',2010,47281.521,0,'REGION F'], ['STL-1',2010,1669.60,0,'REGION L'], ['STL-1',2010,11934.08,130640.371,'REGION H'], ['STL-1',2010,0,28011.755,'REGION J'], ['STL-1',2010,0,137235.246,'REGION I'], ['STL-1',2010,199477.33,0,'REGION K'], ['SUG-2',2010,26173.92,127000,'REGION B'], ['SUG-2',2010,130059,0,'REGION C'], ['SUG-2',2010,0,128644.785,'REGION E'], ['SUG-2',2010,15000,0,'REGION A'], ['SUG-2',2010,0,26902,'REGION L'], ['SUG-2',2010,0,55157,'REGION G'], ['SUG-2',2010,0,48000,'REGION H'], ['SUG-2',2010,158196,0,'REGION J'], ['SUG-2',2010,31000,0,'REGION I'], ['SUG-2',2010,0,31000,'REGION K'] ]); var chart = new google.visualization.MotionChart(document.getElementById('chart_div')); var options = {}; //options['state'] = '{xZoomedDataMax:676500.162106,yLambda: 0,yAxisOption:3,sizeOption:2,orderedByX:false,yZoomedDataMax: 285436.024,orderedByY:false,duration:{multiplier: 1,timeUnit:Q},nonSelectedAlpha:0.4,yZoomedDataMin: 0,time:2009,colorOption:_UNIQUE_COLOR,iconKeySettings: [],yZoomedIn:false,xZoomedDataMin:2300,xLambda:1,playDuration: 15000,xZoomedIn:false,uniColorForNonSelected:false,xAxisOption:2,showTrails:true,iconType:BUBBLE,dimensions: {iconDimensions:[dim0]}}'; options['width'] = 1000; options['height']= 600; chart.draw(data, options); //chart.draw(data, {width: 1000, height:500}); } /script /head body div id=chart_div style=width: 600px; height: 300px;/div /body /html On Feb 23, 5:05 pm, MC Get Vizzy getvi...@google.com wrote: Can you send a code sample? Thanks, MC Get Vizzy On Thu, Feb 23, 2012 at 3:58 AM, Rajesh rajesh.jayara...@gmail.com wrote: Hi, I've attached my motion chart html. When I run it, Regions B, C, E, F and L are not shown in the 'Color' section (as in the attached Jpg). Please can someone point out where I'm erring. Thanks. Rajesh -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/75G_t0XAtKoJ . To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Visualization API group
Re: [visualization-api] Re: JSON DateTime format issues...
OK, so that should work, what error are you seeing? On Fri, Feb 24, 2012 at 1:11 PM, Kyle Brotheridge k...@brosoft.com.auwrote: Line Graph - refer to the source code I originally quoted. On Feb 23, 8:14 pm, MC Get Vizzy getvi...@google.com wrote: Whether you can use dates on the x-axis depends on the chart. What chart are you using? On Wed, Feb 22, 2012 at 3:51 AM, Kyle Brotheridge k...@brosoft.com.au wrote: That doesn't solve the requirement for the X-axis to be date and time, since the sample rate is per 60 seconds - I need the precision to be as such for an accurate graph. How do I assign a full date and time to the X-axis of the graph? -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: Chart API, limitations of datetime column? Getting red error
I can't reproduce this error. Can you send me a code sample? On Sat, Feb 25, 2012 at 2:03 AM, gerryscat gerrys...@gmail.com wrote: It's a LineChart. My code and data were fine. Charts was unhappy with 2 data points, after adding more points (including the first two) draw ran okay. 1 data point is okay, 10 data points is okay, 2 data points says Error. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Resize chart on browser resize without calling draw()
I don't think there's anything you can do. One way or another, if you change the size, the chart will have to redraw, which takes time when you have a lot of data points. On Sat, Feb 25, 2012 at 2:05 AM, gerryscat gerrys...@gmail.com wrote: google.visualization.LineChart I'd like the chart to resize itself when the browser resizes. I have 5500 data points and it is taking 5 seconds if I call draw() to do the work. Is there some way to modify the options without calling draw? The setOptions() function does not seem to exist for a LineChart. thanks -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Draw charts without creating new thread
I don't think so, sorry... On Thu, Feb 23, 2012 at 10:26 AM, Ahmed Abida ahmed.abida2...@gmail.comwrote: Hi all, I'm using GWT Google Visualization API to create the UI of a mobile hybrid application and the framework used to create the mobile app (PhoneGap) does not support multi-threading. Is there any solution other than VisualizationUtils. loadVisualizationApi(threadName, String. .) that creates a new thread? Thanks -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/mqYuR3MMygkJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Motion chart - Data missing
Can you send a code sample? Thanks, MC Get Vizzy On Thu, Feb 23, 2012 at 3:58 AM, Rajesh rajesh.jayara...@gmail.com wrote: Hi, I've attached my motion chart html. When I run it, Regions B, C, E, F and L are not shown in the 'Color' section (as in the attached Jpg). Please can someone point out where I'm erring. Thanks. Rajesh -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/75G_t0XAtKoJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: OrgChart with bubble text popup
I think this is not supported. On Wed, Feb 22, 2012 at 11:46 PM, wenhong ma wenhon...@gmail.com wrote: For the org chart, is it possible to have top row in horizontal and next row in vertical to save space like in the attached file? I uploaded the orgchart in ppt. Thanks! -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/cebYIbH8VuUJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Permission Denied on IE9
Can you try reproducing this by repeatedly calling draw() without the server call? Thanks, MC Get Vizzy On Wed, Feb 22, 2012 at 11:28 PM, Dale K dale.k...@firmex.com wrote: Hey all, The company I work for is using the Visualization API to display client data and statistics in chart form. We have built our charts to interact with clicks. For example, clicking a column representing a certain user will: 1) Return the row number R that the clicked column belongs to the select handler 2) In the select handler, search the DataTable at row R for that user's id in column C 3) In the select handler, Make an AJAX request to our servers using user's id 4) Once the data is returned, we create a new DataTable, add our data to it, and re-draw the chart THE PROBLEM: This interaction will sometimes cause a Permission Denied error in IE (specifically IE9) as a pop-up box. The chart will actually finish drawing in spite of this error, but it would be unprofessional to have this error displayed to our clients using IE9. I'm unable to catch the error with a catch statement either. The error never happens when the chart first loads, only when 'drilled down' via interaction or 'drilling back up' via a Back button we have (We keep track of a chart's state via a controller type class. The select handler gets information from the controller class) Because the VisAPI.js is minified, I'm unable to see what exactly is causing this problem, but I've managed to decipher some of the code by debugging. The errors I've seen are: (all from the file: format+en,default,corechart.I.js) line 482, character 54: minified: return this.fh[Db](a); unminified (as much as possible): return this.fh['createElement'] (v:rect); line 481, character 284: min: qa(c[lb], a); un: qa(c[firstChild], nameOfColumnClickedInSelectHandler); line 583: character 16: min: return aa[Xc]?a[Xc][Ac](a):1; un: return aa[parentNode]?a[parentNode][removeChild](a):1; IE9's debugger/object inspection tool shows objects like a or fh's properties to have values of Access is denied. I'm not sure what I'm doing wrong. I've been searching for a few days and any possible symptoms I've found have been ruled out. We server off of an HTTPS server so it isn't a HTTP--HTTPS problem. The first error seems like a problem creating a v:rect during the draw. Second seems related to the select handler, and I have no idea what's happening in the third. Does anyone have any suggestions for this? I'm absolutely stuck on what is causing this issue! (I've seen a similar issue at http://code.google.com/p/google-visualization-api-issues/issues/detail?id=483can=1q=permission%20deniedcolspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Stars but it doesn't offer a solution, and I do not believe we have the same problem with our firewall) -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] LineChart: valueLabelsInterval for String or Datetime possible?
Yeah, try datetime. I think that might make the labels look better. Let me know how it goes. Thanks, Daniel On Wed, Feb 22, 2012 at 10:42 PM, slooodge hannes.kandu...@googlemail.comwrote: Dear Group, I am busy building my first Project with the Google Visualization API and I am extremely happy with the tool and the documentation - great work! The Graph I built represents some Pollution Data, where the Y-Axis is the actual Value and the X-Axis the time the data was measured. Here a link to an example: http://178.77.100.28/station/live/data/13ST Here my question: Is there a way to only show certain values (labels) on the X-Axis if the datatype is a string or datetime. I know that one can set the valueLabelsInterval. But this seems to work with numbers only. At the moment the displayed values are randomly chosen which is a little misleading. I would like to have a pattern what values are displayed on the X-Axis. For example if the data for one week is shown, one value every 24hours (e.g. 01.01.2012 12:00, 02.01.2012 12:00, etc.) should be displayed on the X-Axis. At the moment I am using the datatype string (data.addColumn('string', 'Messzeit');) but I could change this to the type datetime if that would help. Any help id greatly appreciated!! Thanks, Hannes -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] License
No. On Wed, Feb 22, 2012 at 3:32 PM, Tony met...@gmail.com wrote: Are there any restrictions to use Google Visualization API in commercial projects? -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: Making a lengend clickable
Sorry for my wrong answer earlier in this thread! MC Get Vizzy On Wed, Feb 22, 2012 at 12:32 PM, Jinji ji...@google.com wrote: On Tue, Feb 21, 2012 at 10:36 PM, asgallant drew_gall...@abtassoc.comwrote: The 'select' event fires when the colored blocks in the legend are clicked. Note the the upcoming release will make the event file also when clicking the legend text (not only the colored box next to the legend text). When hooked into the event handler, the chart's #getSelection method should return a single-element array containing an object with a null 'row' property and a 'column' property corresponding it's index in the underlying DataTable/DataView. See http://jsfiddle.net/XRwTT/ Neither the legend as a whole nor the individual text entries fire events in the API, though. If you need to trigger events off of them, it is theoretically possible to do so using standard javascript to dig into the chart container's internal iframe's contents and hook events into the SVG components therein. This can be problematic as: 1) it is not easy to identify specific chart components 2) the internals of the charts can change without warning, breaking your code 3) IE uses VML charts instead of SVG, so you would need a separate code path to handle IE. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/2JhABfZuGQ8J. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: JSON DateTime format issues...
Whether you can use dates on the x-axis depends on the chart. What chart are you using? On Wed, Feb 22, 2012 at 3:51 AM, Kyle Brotheridge k...@brosoft.com.auwrote: That doesn't solve the requirement for the X-axis to be date and time, since the sample rate is per 60 seconds - I need the precision to be as such for an accurate graph. How do I assign a full date and time to the X-axis of the graph? -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: what is the Java type for DATETIME column?
Are you using the data source library? On Tue, Feb 21, 2012 at 11:29 PM, dan...@gmail.com dan...@gmail.com wrote: I also tried DataTimeValue but couldn't make it work with addRowFromValues. I am able to work around the problem with using TableRow and DataTimeValue. TableRow tr = new TableRow(); tr.addCell(GetDataTimeValue(milliseconds)); tr.addCell(rand.nextInt(100)); data.addRow(tr); It is as if that addRowFromValues has a bug accepting DataTimeValue for DATETIME column. On Feb 21, 12:39 pm, dan...@gmail.com dan...@gmail.com wrote: addRowFromValues is not happy with Date, nor string, nor long. DataTable data = new DataTable(); ArrayListColumnDescription cd = new ArrayListColumnDescription(); cd.add(new ColumnDescription(time, ValueType.DATETIME, time)); cd.add(new ColumnDescription(value, ValueType.NUMBER, value)); data.addColumns(cd); data.addRowFromValues(new Date(milliseconds), rand.nextInt(100)); -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] add arbitrary vAxis/hAxis aligned lines?
Sorry, this is currently not supported. On Tue, Feb 21, 2012 at 6:26 AM, geeohgeegeeoh geeohgeege...@gmail.comwrote: I want to annotate a chart with a vertical line at a specific timepoint on a time series hAxis. in GNUPLOT, you can do this kind of arbitrary annotation vertically with set arrow nohead from graph 0.1390,0 to graph 0.1390,1 as 1 for instance, (graph specific offset from x,y base point) or plot 0.3 with lines lw 2 notitle to 'fake' it in as a dataseries. I guess I could use a mixed Combo Chart, and have this one special datapoint added to the plot, but I'm wondering if the googleoids have a more 'neat' way to do this. Note: I know about the 'annotation' type of addition to data, and that isn't what I mean by 'annotate' this time. Its not uncommon to want to add arbitrary circles, lines, points, emphasis to a chart, and not always easy to tie it to specific data.. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Gráfica de Línea con particularidades
Most of these things should not be a problem for Google Charts. In terms of missing data, you can include nulls in your DataTable and set {interpolateNulls: true} in your options. Are you getting an error? On Mon, Feb 20, 2012 at 8:14 PM, Claudio Saldaña claudio.sald...@gmail.comwrote: Estimados: Tengo que hace un Gráfico de Líneas que cumpla ciertas reglas y hasta ahora no he podido lograrlo, les pido su ayuda. - Se utilizan valores numéricos, positivos y Negativos - El cero es considerado un valor válido dentro de la gráfica - Se necesita reflejar omisión de datos en algunos casos - El eje X es Alfanumérico, mientras que el eje Y es Numérico Por favor si pudieran orientarme, les agradecería mucho. Saludos Claudio S. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Column Chart Display Zero
Try doing something like vAxis: {baseline: -1} (depending on the scale of your data). On Tue, Feb 21, 2012 at 7:48 AM, Carlo Rodriguez rodriguez.c...@gmail.comwrote: Hi, I wonder if it's possible to display zero values in a column chart? So that zeroes would have a small line instead of being blank? Thanks! -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: Datetime error
I think this is fixed now. Can you try skipping the processing and seeing if it works? -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/mVOpRzBPJRUJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: Datetime error
I think this is fixed now. Can you try skipping the workaround and seeing if it just works? On Mon, Jan 30, 2012 at 4:01 PM, NA nabeel.a...@gmail.com wrote: Bump - can we get this fixed in an upcoming release? The bug item is here: http://code.google.com/p/google-visualization-api-issues/issues/detail?id=613 I'm not sure if this is difficult to fix, but its problematic and a little annoying to have to workaround this in our code (adds overhead anytime dates are used). This can also make the library look buggy to new users who run into it and aren't able to identify the problem. On Jan 25, 1:31 am, NA nabeel.a...@gmail.com wrote: Was the datetime issue in the thread below corrected? http://groups.google.com/group/google-visualization-api/browse_thread... I'd love to remove the path that I'm using to fix this... -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: Datetime error
Thanks On Tue, Jan 31, 2012 at 4:16 PM, NA nabeel.a...@gmail.com wrote: I'll give it a shot. I can't test it easily right now, which is why I was asking on the forum before trying. I think I'll be able to try it out this weekend; will let you know if it works. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] API debugging tool?
You mean, there's an error when you try to send() the google.visualization.Query()? On Mon, Jan 9, 2012 at 12:02 AM, Tommy Mckinnon skiing.to...@gmail.comwrote: If my website requests a chart via the ajax visualization API but there is some error in the request, is there any debugging tool where I can see what error the API encountered? -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Kindly help me
new google.visualization.LineChart(container).draw(data, {strictFirstColumnType: true}); On Mon, Jan 9, 2012 at 9:16 AM, mohan rath mohanchandr...@gmail.com wrote: Dear all, Kindly tell me how to set strictFirstColumnType option to 'true' in my line chart . -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Use google charts with microsoft excel
Google Chart Tools does not have any support for using Excel file as a data source, no matter where the files are located on the network. You can always upload/convert Excel files to Google Spreadsheets, or just use Google Spreadsheets in the first place... On Mon, Jan 9, 2012 at 12:47 PM, Daniel Andrzejewski dandrzejew...@google.com wrote: Reading local files in JavaScript http://www.html5rocks.com/en/tutorials/file/dndfiles/ Regards, Daniel Andrzejewski On Mon, Jan 9, 2012 at 8:09 AM, uniboi hello2mehe...@gmail.com wrote: Hi, i have recently taken notice in google charts and would like to use it in my work to create a single personal use web page that displays charts created from data within this microsoft excel file whenever i open the html file. However, i have searched through the forums etc and have no luck in finding out how to actually get the table data from an microsoft excel file on the computer hard drive itself. I have found ways to get table data from other websites or initialising the values, hovever this is not suitable for me as i want to create a simple html file that displays graphs created from a local excel file. So how do i link the code for the chart to reference the data inside the file instead of a website etc? -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Drawing triggered charts in Google spreadsheets
If you have two sheets in the same document, you can display charts without writing code by going to Insert/Chart on the menu. Hope that helps, MC Get Vizzy On Sun, Jan 8, 2012 at 10:19 AM, Aivar Jõgi aiv...@hot.ee wrote: Hi, I have two spreadsheets in Google docs. The first one containts data and the second is intended for visualisation of first spreadsheets data. My plan is to put drop-down element and graph on the visualisation spreadsheet and when a choice is made in drop-down, different data ranges from first spreadsheet are feeded to the graph. I thougt that I can solve this problem by writing some scripts for the spreadsheets using Google Visualization API. I found some examples (http://code.google.com/apis/ajax/playground/? type=visualization#annotated_time_line) but I I'm not sure if I can use them in my spreadsheet (script editor does'nt recognize Google Visualization API). So, my question is that can I use Google Visualization API for writing scripts for google spreadsheets? And if not, is there any solution for my problem described above? Thanks for advance, Aivar -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] google visualization timeline chart is slow
I don't know. You could try using the new LineChart, which supports many of the features of the timeline (e.g. date values on the x-axis, annotations) http://code.google.com/apis/chart/interactive/docs/gallery/linechart.html On Fri, Jan 6, 2012 at 7:53 PM, Ali noman...@gmail.com wrote: Hi, I am using google visualization timeline chart and most of the time I have 7000 to 8000 records to plot on timeline chart. I am not drawing chart in one shot. I draw 500 records then I redraw with another 500 records and so on and so forth. I have the text fields which shows the status of the chart but everytime it redraw, it freezes the screen and then resume it after sometime which give a very bad look of ploting the graph. Any suggestion to steamline it. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] ChartWrapper issues
I'll have a look at this, but why is there no dataTable/dataSourceUrl? Is it in a Dashboard? On Sat, Jan 7, 2012 at 2:59 AM, MrTik hetan.s...@gmail.com wrote: Hi, I am having an issue with the ChartWrapper not rendering a line when defining as follows. // Define a bar chart to show data var columnChart = new google.visualization.ChartWrapper({ 'chartType': 'ColumnChart', 'containerId': 'chart12', 'options': { 'width': 1100, 'height': 500, 'legend': 'right', 'isStacked': true, 'title': 'Forward Costs Initiatives Impact', 'seriesType': 'bars', 'series': {6: {type: 'line'}} }, // Configure the barchart to use columns 'view': {'columns': [4, 5, 6, 7, 8, 9, 10, 11]} }); Can someone please take a look and advise why the series option does not plot a line in my chart? Thanks. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] How to show tooltip on data points in Imagechart
To render dashed lines in a LineChart, you can use the certainty role: http://code.google.com/apis/chart/interactive/docs/roles.html#certaintyrole But this is not really the use case that it was designed for. The certainty role is per-data-point, not per-series. There are many options for styling data series: point size, line width, curve type. You can also use the ComboChart and make some series bars and some lines or areas. See the 'series' option for more details. In ImageChart, you can listen to mouseover events: http://code.google.com/apis/chart/interactive/docs/gallery/genericimagechart.html#Events But I don't know if you can get x,y coordinates of the event, without which it might be hard to show a tooltip. Hope that helps. Let me know if you have any questions. MC Get Vizzy On Fri, Jan 6, 2012 at 8:54 PM, Azhar Rahi azhar.r...@g-r-v.com wrote: Hello How are all here. I am showing line chart using ImageChart. the purpose to use Image Chart for line chart was due to the reason that ImageChart gives options to show different line styles .. like solid, dashed, dotted etc. But I have now another problem with it. It cannot show the tooltip when mouseover to the data point. If I use LineChart option, then it can display tooltips on mouseover, but there I cannot find any style options for line such that solid, dashed etc. I have a reason to use different styles because in the graph the lines for two weeks have to display. And for each week I have to display 4 series. So there will be 8 series for two weeks. I want to show 4 legends only with customized color scheming and two series will contain same colors. So there are only a way to show difference between two week series, i.e. one should be solid line and 2nd should be dashed or dotted. Please can anybody help me regarding abovei issue? -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Drawing Different Icons for Annotation
Sorry, this is not currently supported. On Sat, Jan 7, 2012 at 3:43 AM, Jimmy Li jimmyz...@hotmail.com wrote: Hello, I can't seem to figure out how to use an image as the annotation label. Gviz doesn't seem to have support for this? Would I have to write my own gadget to achieve this? -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Internet Explorer 7 and 8 freezing for seconds by stacked column chart with large dataset
Well, the reason that it behaves better in the playground is (I believe) that the playground runs Chrome even if you load it in Internet Explorer, using the Chrome Frame browser extension. When you say 48 months, do you mean there are 48 rows in your DataTable? That doesn't sound like so many... On Wed, Jan 4, 2012 at 1:48 PM, Martijn O overvest@gmail.com wrote: I have a problem with a stacked column chart. When I use this chart as stacked with 48 months and 8 countries (labels), Internet Explorer is hanging for serveral minutes. Google Chrome presents the data right away. You would think it is the poor Javascript engine of Internet Explorer 7 and 8 which gives the CPU an high load and freezes Internet Explorer. The crazy thing is, when I use the same code in Google Playground in Internet Explorer 7 and 8, the chart is loaded olmost right away. Is there some way to improve the performance of de chart loading in Internet Explorer? The slowing down part takes place in the draw method. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] code not working for line charts
I'm confused. I have no experience with jsfiddle, but as far as I can tell, the chart you are using is a line chart, and clicking the button does not make the chart disappear. Maybe it's browser dependent? What browser are you using? In any case, you are using the old version of the charts, so it's possible that switching to the new version will fix your problem. To use the new version, load the package 'corechart' instead of the packages 'piechart', 'barchart' and 'columnchart'. Good luck, MC Get Vizzy On Mon, Jan 2, 2012 at 6:36 PM, dv dviglion...@gmail.com wrote: Here is my code in question: I want to be able to update the line chart of google visualizations. But it appears not to work for line charts. But it does work for some others, as shown in this fiddle: http://jsfiddle.net/YCqyG/6/ But if I was to use a line chart, clicking the the button called click and suddenly chart disappears. thanks for response Any idea why it wont work for line chart? thanks for response -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] code not working for line charts
Hmmm...based on a closer look at the group, it seems you already tried loading corechart in a different thread... On Mon, Jan 2, 2012 at 9:12 PM, MC Get Vizzy getvi...@google.com wrote: I'm confused. I have no experience with jsfiddle, but as far as I can tell, the chart you are using is a line chart, and clicking the button does not make the chart disappear. Maybe it's browser dependent? What browser are you using? In any case, you are using the old version of the charts, so it's possible that switching to the new version will fix your problem. To use the new version, load the package 'corechart' instead of the packages 'piechart', 'barchart' and 'columnchart'. Good luck, MC Get Vizzy On Mon, Jan 2, 2012 at 6:36 PM, dv dviglion...@gmail.com wrote: Here is my code in question: I want to be able to update the line chart of google visualizations. But it appears not to work for line charts. But it does work for some others, as shown in this fiddle: http://jsfiddle.net/YCqyG/6/ But if I was to use a line chart, clicking the the button called click and suddenly chart disappears. thanks for response Any idea why it wont work for line chart? thanks for response -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] google visualization returns red error message
This example is too complex for me to follow. Can you try to reproduce this with a simpler example, preferably without the jquery? (I have nothing against jquery, I just have no experience with it.) On Mon, Jan 2, 2012 at 5:45 PM, johnmerlino dviglion...@gmail.com wrote: Hey all, I want to be able to update the line chart of google visualizations. Here is my code in question: jsfiddle.net/YCqyG/3 Click the button called click and you will see the error. thanks for response -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Freeze the column
You mean, the Table chart? Freezing columns/rows is not supported. On Mon, Nov 21, 2011 at 5:49 PM, Kalpesh Mistry kalpesh.r.mis...@gmail.comwrote: I am using google grid to display and data operation on my web page using MVC3. How can I freeze first column in the grid? Thanks, Kalpesh Mistry -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Geochart capturing clientx and clienty after click event
This is not currently supported. Sometimes, the only way to succeed is to give up. On Tue, Nov 22, 2011 at 7:42 AM, Roni Biran roni.bi...@gmail.com wrote: Never give up, never surrender ;-) .. and when you'll find a way, please post it so others will be able to do with it some good... On Tue, Nov 22, 2011 at 2:32 AM, Matt Nuttall mattenutt...@gmail.comwrote: Yeah, you're right. I'm getting nowhere. I give up! -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/hTnHSL5kx-wJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: Treemap navigation
I'm kind of having trouble following. You mean you handle a select event by calling goUpAndDraw(), and the chart doesn't go up? Can you send a code snippet? On Wed, Nov 16, 2011 at 1:37 PM, in_the_middle medio...@gmail.com wrote: Hi, Exactly , i mean the chart header when i was talking about the top. Currenty, I've registered the select event into a function (select_node) and I've identified some nodes in order to call the goUpAndDraw() method. But, unfortunately it has not been enough. Once it gets out of the function registered to manage the event it draws again the node selected. I could fix it calling exit () just after the goUpAndDraw(), but it's not very pretty :P ... How could I avoid redrawing the chart after the select event if I have called the goUpAndDraw() method? Thank you in advanced On Nov 16, 11:59 am, MC Get Vizzy getvi...@google.com wrote: What do you mean by the top of the menu? Do you mean the chart header? If so, I don't think there is a good way; the chart doesn't fire an event when the user clicks the header. You could create your own menu and put it on top of the chart. On Tue, Nov 15, 2011 at 9:42 PM, in_the_middle medio...@gmail.com wrote: Does anyone how could i call the goUpAndDraw() method from the top of the menu instead of using right click thank you in advanced -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: Need to update my visualization pie chart
In order to update a chart when the data has changed, you need to call draw() again. On Wed, Nov 16, 2011 at 6:47 PM, asgallant drew_gall...@abtassoc.comwrote: How are you pulling the data from your PHP script? AJAX calls? Vizualization API queries? -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/zD35DyHFcdUJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Geo Chart Country Codes and Other Questions
I don't know how to input the different Congos, but the second column should be 'number', not 'string'. On Thu, Nov 17, 2011 at 11:33 PM, Gylippus arramdre...@hotmail.com wrote: My students are doing a google geo chart in class. Today, a student input Democratic People's Republic of the Congo and People's Republic of the Congo. These are two different countries. Neither country was highlighted. We messed with the name for awhile until finally he put in the country code, which worked. My problem is that when you hover over the country it just says: CD or CG when you roll over it. Does anyone know the proper way to format the name of the country so we can see the name? 2nd Question: I really don't know javascript so we are messing around the visualization. Why doesn't the code below work? When you hover over Germany, which is highlighted, it only says Prime Minister, but it does not say Germany. function drawVisualization() { var data = new google.visualization.DataTable(); data.addRows(1); data.addColumn('string', 'Country'); data.addColumn('string', 'Popularity'); data.setValue(0, 0, 'Germany'); data.setValue(0, 1, 'Prime Minister'); var geochart = new google.visualization.GeoChart( document.getElementById('visualization')); geochart.draw(data, {width: 556, height: 347}); } -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: draw chart which like google finance
You mean, you want a chart with two lines? (One for the price and one for the volume?) Excuse my financial illiteracy... On Sat, Nov 19, 2011 at 4:26 AM, TestingChart testtest...@gmail.com wrote: Is it possible that I want to draw the volume and price in the same chart? In the code playground, I do not find any example which has this function,so I want to vertify this result.(I hope that I am wrong.) On 11月19日, 上午12時58分, asgallant drew_gall...@abtassoc.com wrote: There are Annotated Timeline charts http://code.google.com/apis/chart/interactive/docs/gallery/annotatedt..., which are similar to the Google Finance charts, but they do not have all of the functionality of the Finance charts. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] [visualiszation-API] negative numbers and pie chart
There are two different kinds of charts, interactive charts and image charts. The interactive pie charts do not support negative numbers. The image pie charts show blank slices for negative numbers. On Sat, Nov 19, 2011 at 10:13 PM, a b unsec...@gmail.com wrote: Pls, what is with pie chart and negative numbers? With negative numbers i have info: Negative values are invalid for a pie chart.But at page http://code.google.com/intl/pl/apis/chart/image/docs/gallery/pie_charts.html in 'Chart Types' section I found info:Negative numbers in data cause blank slices. What with this, what to do? -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: set label on X-Axis
What is xy stacked? AreaChart? BarChart? ScatterChart? ImageChart? On Tue, Nov 15, 2011 at 5:10 PM, asgallant drew_gall...@abtassoc.comwrote: Try formatting your date column with a DateFormat: http://code.google.com/apis/chart/interactive/docs/reference.html#dateformatter Let me know if that works, if not I'll see what else I can come up with. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/E86Cw53symUJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Treemap navigation
What do you mean by the top of the menu? Do you mean the chart header? If so, I don't think there is a good way; the chart doesn't fire an event when the user clicks the header. You could create your own menu and put it on top of the chart. On Tue, Nov 15, 2011 at 9:42 PM, in_the_middle medio...@gmail.com wrote: Does anyone how could i call the goUpAndDraw() method from the top of the menu instead of using right click thank you in advanced -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: getRowProperties - how to use this
Note that the chart tools API does not support accessing columns by label (or id), but only by index. On Mon, Nov 14, 2011 at 7:42 PM, asgallant drew_gall...@abtassoc.comwrote: What you want is DataTable#getValue(rowIndex, columnIndex) method, so to get the value in the first row of the 'Name' column, you would use dataTable.getValue(0, 0); -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/IX-J7gUU2yUJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: getRowProperties - how to use this
dataTable.setRowProperties(0, {'hello': 'world'}); var rowProperties = dataTable.getRowProperties(0); The getRowProperties() method does not return the data in the cells. It only returns whatever you passed in when you called setRowProperties(). The DataTable class allows the user to set custom properties on elements of the table: columns, rows, cells, and the table itself. This allows an application to dynamically extend the DataTable API and attach arbitrary data structures to a DataTable. It might be useful for servers that want to annotate the DataTable with extra information that doesn't fit neatly into columns and rows. On Mon, Nov 14, 2011 at 9:04 PM, NA nabeel.a...@gmail.com wrote: I'm not understanding asgallant's or MC Get Vizzy's comments. In fact, it seems like you're talking about getValue() but I'm talking about getRowProperties(). There's a method called getRowProperties documented here: http://code.google.com/apis/chart/interactive/docs/reference.html#DataTable_getRowProperties The signature is getRowProperties(rowIndex). The output of this method is an object. But when I tried to use this method, I didn't get the response I expected to see. Can someone show me how to use that method? -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Google Visualization Report Printing
In general, the Google charts do not support this. However, the GenericImageChart http://code.google.com/apis/chart/interactive/docs/gallery/genericimagechart.html has a getImageUrl() method that you could use for this purpose. On Wed, Sep 28, 2011 at 7:53 AM, Rockford333 rockford...@gmail.com wrote: Hi, I am using the Google Visualization for developing some reports. I would like to know how to print the report. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: Bar chart being cut off in certain configurations, also error b[c]
There was an issue with the GWT TabPanel -- are you using GWT? On Wed, Sep 28, 2011 at 10:58 PM, asgallant drew_gall...@abtassoc.comwrote: Can you post the code or a link to the page? -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/gNMq1oF4nAsJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: Query Google Spreadsheet columns by name in Google Query Language?
What do you mean by name? Spreadsheet columns are A, B, C... On Thu, Sep 29, 2011 at 7:09 AM, GradualStudent shethv...@gmail.com wrote: Thanks! -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] How to create and send a new query in java?
That is a server-side library. You are probably looking for this: http://code.google.com/p/gwt-google-apis/wiki/VisualizationGettingStarted Let me know if you have any other questions. And give my regards to Calvin! On Thu, Sep 29, 2011 at 8:37 PM, Spiff sardonicstuffedti...@gmail.comwrote: How can I create and send a query in Java? I see lots of instructions on how to do it in javascript, for example: var query = new google.visualization.Query(url); query.setQuery('SELECT A,D WHERE D 100 ORDER BY D'); query.send(handleQueryResponse); function handleQueryResponse(response) { var data = response.getDataTable(); // ... } Can I accomplish the same thing in Java using the google-visualization-javahttp://code.google.com/apis/chart/interactive/docs/dev/dsl_about.htmllibrary? -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/CuK0QzmWNyMJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] AreaChart areaOpacity and LineChart customized background
The GWT API has not added explicit support for the opacity option. However, you can always do something like this: options.set(areaOpacity, 0.5); In terms of customizing the background, or showing a range of acceptable values, I'm not sure what the best solution is. You could try using ComboChart, which can draw lines and areas. On Wed, Sep 28, 2011 at 1:15 PM, Manuel manuel.macc...@gmail.com wrote: Hi I would like to use the Google Chart Tools into a GWT application. Following two problems I've encountered using the GWT library: First: Reading the API (with Javascript example only) I saw that is possible to set the opacity in the AreaChart (link to the API http://code.google.com/intl/it/apis/chart/interactive/docs/gallery/areachart.html ) but I can't set that property using the GWT implementation of the class com.google.gwt.visualization.client.visualizations.corechart.AreaChart or in the class com.google.gwt.visualization.client.visualizations.corechart.Options. Is there a specific option class for the AreaChart? Second: Is it possible to customized the background of the LineChar? Ex. I would like to be able to specify through 3 colored areas in the background (good, acceptable, not acceptable) the range of acceptable values Thanks in advance Manuel -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: Add Totals row to DataTable
+1 to the option of having the totals page-based or whole-table. On Mon, Sep 26, 2011 at 10:00 PM, Guillaume gdalb...@gmail.com wrote: Hi, Thanks for coming back to us. Regarding paging: I don't think a total row at a page level would be really useful for me. Pages are often introduced for practical reasons, because the table is too big for the webpage. In that case the number of lines displayed on a page is driven by the amount of space allocated for displaying the table, which makes totals for the lines appearing on each page quite irrelevant. Obviously this is my own business requirement, someone else might find it very useful... In an ideal world we would have the on/off option for page and table total rows ;-) . I'll try to implement the workaround, thanks. Cheers, G -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/gzW25FBHOooJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: Add Totals row to DataTable
I think focusing on the Table chart here, instead of the DataTable object, would be a better idea. On Tue, Sep 27, 2011 at 7:53 PM, NA nabeel.a...@gmail.com wrote: BTW, are we talking about a total row with a DataTable or with a Table? It seems as if we're mixing the two, as pagination is for a Table but the comments and subject are for DataTable. If you can implement it for a DataTable, and have the Table detect the totals row and display it appropriately, that'd be excellent (perhaps with a 'showTotalIfPresent' option). In this case, the issue about pagination isn't relevant. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] google geo charts requests
Every chart has a Data Policy, for example http://code.google.com/apis/chart/interactive/docs/gallery/piechart.html#Data_Policy What chart(s) are you using? On Tue, Sep 27, 2011 at 12:09 AM, Evan evand...@gmail.com wrote: Hi I was wondering if there are any extra requests that the visualization makes to google servers besides the request for the javascript file? Thanks, Evan -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: Datetime error
No ETA right now, sorry. We'll try to address it soon. On Wed, Aug 17, 2011 at 5:24 PM, NA nabeel.a...@gmail.com wrote: Do we have an ETA on this? It adds an extra set of processing I have to do on every data set, which I'd love to eliminate. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Annotated Timeline min configuration option
Have a look at the scaleType option in http://code.google.com/apis/chart/interactive/docs/gallery/annotatedtimeline.html#Configuration_Options Try scaleType: 'maximized' or possibly scaleType: 'allmaximized'. I hope that helps. Let me know if you have more questions. thanks, MC Get Vizzy On Fri, Aug 12, 2011 at 1:54 AM, Kevin O'Connor kjocon...@gmail.com wrote: I've seen several people request it now, and I've seen it's on the roadmap, is there still a plan to support setting 'min' to higher than 0 and have it be respected? It seems silly that it should be any other way unless I'm missing something obvious. Does anyone know about this? -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] overlap vs stacked possible with javascript charts?
Wow, I'd never heard of bvo. I don't think you can do that with the interactive charts... On Sun, Aug 14, 2011 at 4:23 AM, dugbug doug_d...@yahoo.com wrote: Hi, Is there a way to create an overlapped chart (bars in front of each other rather than atop one another)? With image charts, chart type cht=bvo for example. Im new to the javascript charts so I may be missing something! -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] modifying formatter to use nonbreaking whitespace
I can't think of any way to do this with the existing formatters, sorry... On Tue, Aug 9, 2011 at 6:24 PM, NA nabeel.a...@gmail.com wrote: In the general case, I want to be able to take a formatter that I've already defined, and string-replace some of its contents. As an example, I have a formatter that looks like this: var dFormatter = new google.visualization.DateFormat({pattern: 'MMM d, h a'}); I'd like to modify the formatter to use non-breaking whitespaces instead of whitespaces. I'd like to do something like: var dFormatter = new google.visualization.DateFormat({pattern: 'MMMnbsp;d,nbsp;hnbsp;a'}); but this doesn't work. Is there a clever way of doing this without having to write a my own formatter? I want to do this in general for a variety of formatters, so it'd be great to be able to manipulate the formatter object after creating it to get this effect. thanks, -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Google piechart API and IE9 with 64-bit processors
The old charts are in maintenance mode, I don't think a bug like this will get fixed. Regarding the new pie chart, what do you mean by exploding? On Mon, Aug 8, 2011 at 10:09 PM, Kelly John Rose i...@kjro.se wrote: So there's a bit of an odd bug when using the 3d pie chart from the piechart version of the API. Basically on IE9 on only 64-bit processors, the piechart completely fails to render. However on IE9 with 32-bit processors, there isn't a problem. When I switch to corechart's version of the 3d pie chart, I discover it doesn't fit my needs either, because the client wants the pie chart to be exploding and at the current moment, the corechart version of the 3d pie chart doesn't support this. Is there anyone who is working on this who know's what's wrong and possibly a workaround for this? -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Possible to show multiple categories (columns) at the same time on a motion chart histogram / bar view?
This is not currently supported. Each histogram bar corresponds to an entity. There is no way of grouping bars together. On Thu, Jul 7, 2011 at 7:58 AM, gh fei...@backstopllp.com wrote: I display the way a histogram changes over time on a motion chart using bar view. Is there any way I can display multiple categories (columns) simultaneously by showing multiple histogram bars adjacent to one another, rather than forcing the user to select just one? Thanks. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] SelectListComponent not showing in Motion Chart
This is probably because the chart doesn't have enough room to show it. Can you make the chart bigger? On Mon, Jul 11, 2011 at 11:38 AM, alazaro alvaro.lazar...@gmail.com wrote: Hi, I am using Motion Chart to display some stats and when I set initial state to: '{yZoomedDataMin: 0,xZoomedIn:false,xAxisOption:_TIME,orderedByX:false,yZoomedIn:false,showTrails:false,yLambda: 1,duration:{multiplier:1,timeUnit:D},nonSelectedAlpha: 0.4,iconType:LINE,uniColorForNonSelected:false,colorOption:_UNQUE_COLOR,xZoomedDataMax: 131025600,time:2011-07-10,sizeOption:_UNISIZE,xZoomedDataMin: 130775040,xLambda:1,orderedByY:false,dimensions: {iconDimensions:[dim0]},yZoomedDataMax:0,iconKeySettings: [{key:{dim0:day}},{key:{dim0:month}},{key: {dim0:week}}],yAxisOption:2,playDuration:15000}' Then the selectListComponent is not showing. The only way to fix it is setting colorOption to _UNICOLOR, but it makes the chart a bit difficult to read. Thanks for your help. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: Datetime error
Unfortunately, this has not been fixed yet. On Fri, Jul 15, 2011 at 9:59 PM, NA nabeel.a...@gmail.com wrote: Was this corrected in the latest release? I'd love to simplify my MassageData() method to no longer have to worry about this. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: is .DataView compatible with ChartWrapper and ControlWrapper
Are you trying to select individual cells of the Table vizualization? I believe that the Table does not currently support selecting individual cells. On Mon, Jul 11, 2011 at 7:32 AM, ficuscr thomasgo...@gmail.com wrote: I am having a similar issue. Took me a moment to realize the that getChart() may not be available immediately after calling draw(). Wrapped the selection handler in a ready handler a think I got around that. I am trying to bind the selections of a DataTable and 'Wrapped' Scatter Chart. The getSeleciton() values look good. But when I call setSelection() on the table nothing happens. Next getter on the table returns an empty array. I am at a loss. http://pastebin.com/CJ0inEmE -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/ASLnb3qsiIgJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
[visualization-api] Re: Change content of Tooltip on pie chart
Sorry, that's not supported right now. On Wed, Jun 29, 2011 at 5:40 AM, Chrétien Mwizerwa Ndindiye chretie...@gmail.com wrote: Hello MC Get Vizzy, Thank you for reacting:) Actually what I really need is : always display data values on top of each bar/column on a column Chart (like in the Image Chart Api - http://code.google.com/apis/chart/image/docs/gallery/http://www.google.com/url?sa=Dq=http://code.google.com/apis/chart/image/docs/gallery/ bar_charts.html#introduction) But I'm not seeing any way of doing that. So, as a replacement solution, I'd like to be able to show all the tooltips at once on a mouseover action. 'Cause for many users, while trying to compare different data it's a king of waste of time to mouseover each column one by one to find out the value. Thanks again, Any help will be appreciated! Chrétien M. On Tue, Jun 28, 2011 at 10:53 AM, MC Get Vizzy getvi...@google.comwrote: I'm not sure what you mean. Show all the tooltips at once? On Mon, Jun 27, 2011 at 10:14 PM, Chrétien M. chretie...@gmail.comwrote: Hey MC, Could you please tell me how to show ALL tooltips (not only one) on mouseover for column chart (if possible)? Actually I'm looking for a way to display data values on top of each column, but this could be a solution too. Many thanks:) Chretien M. On Jul 21 2010, 5:01 am, MC Get Vizzy getvi...@google.com wrote: This is not currently supported. MC Complete On Mon, Jul 19, 2010 at 7:22 PM, Hans Poo hans...@gmail.com wrote: Hi, How can a display a different content in the tooltips on a pie chart. The default: series name, number of items and percentage is cool, but is not what i need. I already programmed select event to open new window with the custom content for the slice info, but it's not what i need. It should be the tooltip. Thanks Hans -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.comgoogle-visualization- api%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
[visualization-api] Re: Change content of Tooltip on pie chart
I'm not sure what you mean. Show all the tooltips at once? On Mon, Jun 27, 2011 at 10:14 PM, Chrétien M. chretie...@gmail.com wrote: Hey MC, Could you please tell me how to show ALL tooltips (not only one) on mouseover for column chart (if possible)? Actually I'm looking for a way to display data values on top of each column, but this could be a solution too. Many thanks:) Chretien M. On Jul 21 2010, 5:01 am, MC Get Vizzy getvi...@google.com wrote: This is not currently supported. MC Complete On Mon, Jul 19, 2010 at 7:22 PM, Hans Poo hans...@gmail.com wrote: Hi, How can a display a different content in the tooltips on a pie chart. The default: series name, number of items and percentage is cool, but is not what i need. I already programmed select event to open new window with the custom content for the slice info, but it's not what i need. It should be the tooltip. Thanks Hans -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.comgoogle-visualization- api%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: visualization does not work in internet explorer... still
There is a known issue with querying spreadsheets in IE9. We are working on a fix. On Mon, Jun 6, 2011 at 5:54 PM, Pegasusrjf pegasus...@gmail.com wrote: On Jun 6, 10:10 am, asgallant drew_gall...@abtassoc.com wrote: I opened the page up in IE9 and used the developer tools to run onInitKor() manually, and this is the error I got: SEC7112: Script fromhttp:// spreadsheets.google.com/tq?key=0As8yTIMYNMU0dDY3azJOdTNlTmZST1... was blocked due to mime type mismatch I was able to make that error go away by appending the option {sendMethod: 'xhr'} to the end of the query: var query = new google.visualization.Query( 'http://spreadsheets.google.com/tq?key=0As8yTIMYNMU0dDY3azJOdTNlTmZST1.. ., {sendMethod: 'xhr'}); Doing this causes IE to throw the security risk warning; if you click continue, the table loads properly. Thiis is an issue I have been dealing with since the first IE9 beta in September 2010. I have never been able to get this optino to work, but now instead of no error messages in the past trying the sendMethod: xhr option, I now get the following error: SCRIPT5022: google.visualization.Query: Error: Access is denied. default,table.I.js, line 152 character 63 -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Geochart: changing country names
You can set the formatted value with DataTable#setFormattedValue() or DataTable#setCell(). See http://code.google.com/apis/chart/interactive/docs/reference.html#DataTable There might be a better way. I'm not sure. On Thu, Jun 2, 2011 at 9:11 PM, fooentes fooen...@gmail.com wrote: Hi there, I'm trying to use the Geochart but all country names are displayed in english on hover Is there any way I can change these names? Brazil to Brasil, France to França, etc.. Thanks! function drawRegionsMap() { var data = new google.visualization.DataTable(); data.addRows(2); data.addColumn('string', 'Country'); data.addColumn('number', 'Popularity'); data.setValue(0, 0, 'Brazil'); data.setValue(0, 1, 400); data.setValue(1, 0, 'France'); data.setValue(1, 1, 600); var options = {}; var container = document.getElementById('map_canvas'); var geochart = new google.visualization.GeoChart(container); geochart.draw(data, options); }; -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Line Chart
See the option tooltipTextStyle. I think the text for the tooltip is taken from the data. You can use DataTable#setFormattedValue() to tweak how values are displayed in the tooltip. Does that help? On Thu, Jun 2, 2011 at 9:49 AM, Swapnil Patil swapnil12081...@gmail.comwrote: How to configure Custom Tooltip with custom text and style for line chart ? -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: Creating a DataTable Date via PHP derived json
I'll have a look at this. It sounds like a bug, but it might be tricky to track down and fix. Are you using the Query class, or just DataTable? Are you using script injection or XHR? Have you tried passing the JSON as a string to the DataTable constructor? Can you send me a sample of your client-side code? thanks, MC Get Vizzy On Tue, May 10, 2011 at 5:41 AM, Teliac jschoett...@gmail.com wrote: Thank you for the thoughts. I had read that, and attempted to send a string in that format. However, when the column is set to type string, the string displays as received - Date(2011,0,1). When cloumn type is set to date, the graph will not display. I am not sure why it is not interpreted as a date (per the GV documentation), though I assume it may have to do with either the PHP json formatting or (relatedly) the quotation marks which surround each json element when encoded. The workaround I settled on (though it is far from elegant) is to deliver the information as a string in javascript date notation form (new Date(2011,0,1)). In the javascript callback function, I then do a global replace (removal) of the quotation marks and eval the remaining json variable. This reads the date string as a javascript native Date declaration and works correctly. This approach is less than ideal because it requires special handling for other variables in the json-encoded PHP response as well. Please let me know if you have other suggestions, or thoughts on why the GV documented solution you refer to is not working for me. On May 8, 7:29 am, MC Get Vizzy getvi...@google.com wrote: You can send a date with a string of the format Date(y,m,d). For example, Date(2011,0,1) would be January first, 2011. This is addressed here: http://code.google.com/apis/chart/interactive/docs/dev/implementing_d... http://code.google.com/apis/chart/interactive/docs/dev/implementing_d.. .Though I admit it's kind of buried. On Fri, May 6, 2011 at 4:15 AM, Teliac jschoett...@gmail.com wrote: I have a question involving a PHP script that created a json-encoded array and returns it to the client (where it is used to create a DataTable object). Is there a way to pass a date value from a php server-side script to the client side GV JavaScript such that it is recognized by the DataTable object as a 'date' type? Some details: The php script creates a json encoded array that is requested from (and returned to) the client via a jQuery ajax call. The code looks like this: -- // DataTable object. $dt = array(); // Column information $col_ids = array(DATE,EU); $col_labels = array(Date,Equity Utilization); $col_types = array(string,number); // - Would like to pass as date rather than string // Populate DataTable object with column information. for ($y = 0; $y count($col_ids); $y++) { $dt[cols][$y][id] = $col_ids[$y]; $dt[cols][$y][label] = $col_labels[$y]; $dt[cols][$y][type] = $col_types[$y]; } // Get data from csv file and populate DataTable rows. $rc = 0; if (($handle = fopen($csvFile, r)) !== FALSE) { while (($data = fgetcsv($handle)) !== FALSE) { // We only need two pieces of data here: // Date (data[0]) // EU (data[7]) // Add data values to $dt array. $d = $data[0]; // $d is the date as a string, would like it to be interpreted as // type 'date' when read in by DataTable call on client. // Is it possible to parse it here, or otherwise format the string to // be interpreted as type 'date' by GV on client? $dt[rows][$rc][c][0][v] = $d; // Format data value as float - necessary for GV to recognize as number. $d = $data[7]; $d = floatval($d); $dt[rows][$rc][c][1][v] = $d; $rc++; } fclose($handle); } // Send information back to client via encoded json echo json_encode($dt); - The above code works as long as I pass the date with column type 'string' (would like column type to be 'date'. Thanks in advance for your input. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com
Re: [visualization-api] CoreChart implements HasMouseOutHandlers instead of HasHandlers?
I'm not an expert on the subtleties of GWT event handling. Implementing the MouseOver and MouseOut interfaces sounds like it might be a good idea, and you're welcome to add it to our issue tracker ( http://code.google.com/p/google-visualization-api-issues/issues/list). But I don't understand why your getChart() method doesn't just return a PieChart object. sorry I couldn't be more helpful, MC Get Vizzy On Tue, May 3, 2011 at 5:15 PM, xgumara xgum...@gmail.com wrote: Hi, I'm using GWT Visualization API in a GWT project with a MVP pattern. The problem is that I cannot add OnMouseOver/OnMouseOut events to the charts in the Presenter (where I should handle events) because they do not implement HasOnMouseOverHandlers/HasOnMouseOutHandlers. Let me explain: In the presenter I would like to do: (using variable name display as the view) display.getChart().addOnMouseOutHandler(new OnMouseOutHandler(){ @Override public void onMouseOutEvent(OnMouseOutEvent event) { // TODO Auto-generated method stub } }); And the same for the onMouseOverHandler. But I can't since CoreChart(s) do not implement HasMouseOutHandlers/ HasMouseOverHandlers. So the only thing I can do is: com.google.gwt.visualization.client.visualizations.corechart.PieChart chart; public com.google.gwt.event.shared.HasHandlers getChart(){ return chart; } HasHandlers does not have onMouseOutEvent and onMouseOverEvent. Charts also implement com.google.gwt.event.logical.shared.HasAttachHandlers com.google.gwt.event.shared.HasHandlers com.google.gwt.user.client.EventListener com.google.gwt.user.client.ui.IsWidget, Selectable (that works for onSelect events) Any ideas in how I could solve this? And more important, shouldn't PieChart and others CoreChart implement HasMouseOutHandlers and HasMouseOverHandlers instead of just HasHandlers? Thank you. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Creating a DataTable Date via PHP derived json
You can send a date with a string of the format Date(y,m,d). For example, Date(2011,0,1) would be January first, 2011. This is addressed here: http://code.google.com/apis/chart/interactive/docs/dev/implementing_data_source.html#jsondatatable http://code.google.com/apis/chart/interactive/docs/dev/implementing_data_source.html#jsondatatableThough I admit it's kind of buried. On Fri, May 6, 2011 at 4:15 AM, Teliac jschoett...@gmail.com wrote: I have a question involving a PHP script that created a json-encoded array and returns it to the client (where it is used to create a DataTable object). Is there a way to pass a date value from a php server-side script to the client side GV JavaScript such that it is recognized by the DataTable object as a 'date' type? Some details: The php script creates a json encoded array that is requested from (and returned to) the client via a jQuery ajax call. The code looks like this: -- // DataTable object. $dt = array(); // Column information $col_ids = array(DATE,EU); $col_labels = array(Date,Equity Utilization); $col_types = array(string,number); // - Would like to pass as date rather than string // Populate DataTable object with column information. for ($y = 0; $y count($col_ids); $y++) { $dt[cols][$y][id] = $col_ids[$y]; $dt[cols][$y][label] = $col_labels[$y]; $dt[cols][$y][type] = $col_types[$y]; } // Get data from csv file and populate DataTable rows. $rc = 0; if (($handle = fopen($csvFile, r)) !== FALSE) { while (($data = fgetcsv($handle)) !== FALSE) { // We only need two pieces of data here: // Date (data[0]) // EU (data[7]) // Add data values to $dt array. $d = $data[0]; // $d is the date as a string, would like it to be interpreted as // type 'date' when read in by DataTable call on client. // Is it possible to parse it here, or otherwise format the string to // be interpreted as type 'date' by GV on client? $dt[rows][$rc][c][0][v] = $d; // Format data value as float - necessary for GV to recognize as number. $d = $data[7]; $d = floatval($d); $dt[rows][$rc][c][1][v] = $d; $rc++; } fclose($handle); } // Send information back to client via encoded json echo json_encode($dt); - The above code works as long as I pass the date with column type 'string' (would like column type to be 'date'. Thanks in advance for your input. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Any method to get an object of the row which has been selected in an orgChart
What do you mean, the underlying object? On Sun, May 1, 2011 at 1:03 PM, Gopi Krishnan Nambiar gopikrishnan.namb...@gmail.com wrote: Hi, Is there any way to get hold of the underlying object, whose row has been selected in an orgChart ? I am only able to get the row, using the selection event as of now. The intent is to populate the an employee's details based on which employee is clicked on in the orgChart. Thanks in advance. -Gopi -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] What's definite rate limit of Geomap
It should be the same as the maps API. thanks, Vizzy On Fri, Apr 29, 2011 at 12:46 PM, Vicson Zhang vicsonzh...@gmail.comwrote: Hi, all I'm developing a business website and plan to use google api like Geomap and corechart. Because Geomap calls google map api, and map api has a rate limit about 1500 per day( seems can be exceed for payment). So now I should know what's the definite rate limit of Geomap or is there a way to calculate the rate of calling map api? Or anyone has good advise? Thanks! Vicson -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: Private Google Spreadsheets and Visualization Api
This is not the right discussion group for your question. There should be a google spreadsheets discussion group that would be more helpful here. On Sat, Apr 30, 2011 at 11:41 PM, bog.imp bog@gmail.com wrote: I talk about access to private Spreadsheets using Authorization in the Google Data Protocol http://code.google.com/apis/gdata/docs/auth/overview.html If it's possible? On Apr 30, 10:24 pm, MC Get Vizzy getvi...@google.com wrote: I'm not sure this is the right list for this question. You can query private spreadsheets with the google.visualization.Query -- the query will return successfully if the user is signed in to Google and has access to the spreadsheet. But I'm not sure that's what you're asking. On Sat, Apr 30, 2011 at 11:38 AM, bog.imp bog@gmail.com wrote: Maybe some options like in GData protocol? xdh:Authorization=AuthSub%20token... On Apr 30, 10:14 am, bog.imp bog@gmail.com wrote: It's possible access to private Spreadsheets using OAuth or AuthSub or GData protocol? More infohttp:// code.google.com/apis/gdata/docs/js-authsub.htmlhttp://code.google.com/apis/accounts/docs/AuthSub.html -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Line types in AnnotatedTimeLine graph
Still unsupported, sorry. On Wed, Apr 27, 2011 at 11:54 PM, Juan Avila Arias avilaar...@google.comwrote: Hello, I would like to ask whether or not it is possible to customize the line type (solid, dashed, etc) for AnnotatedTimeLine graphs. I found this thread: http://groups.google.com/group/google-visualization-api/browse_thread/thread/8a0897d687438960/e17d64507b2a8496?lnk=gstq=dotted#e17d64507b2a8496 ... But I woud like to know if it is still unsupported (if so, would it be supported anytime soon?). Best regards, Juan Avila Arias -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Re: Private Google Spreadsheets and Visualization Api
I'm not sure this is the right list for this question. You can query private spreadsheets with the google.visualization.Query -- the query will return successfully if the user is signed in to Google and has access to the spreadsheet. But I'm not sure that's what you're asking. On Sat, Apr 30, 2011 at 11:38 AM, bog.imp bog@gmail.com wrote: Maybe some options like in GData protocol? xdh:Authorization=AuthSub%20token... On Apr 30, 10:14 am, bog.imp bog@gmail.com wrote: It's possible access to private Spreadsheets using OAuth or AuthSub or GData protocol? More infohttp:// code.google.com/apis/gdata/docs/js-authsub.htmlhttp://code.google.com/apis/accounts/docs/AuthSub.html -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Re: [visualization-api] Annotated Timeline
Sorry, this is not currently supported. On Wed, Apr 27, 2011 at 3:49 AM, Chris farm...@gmail.com wrote: Hi, I'm trying to use the Annotated Timeline visualization chart, but noticed that it covers every hour of each day. However, if I only have datapoints from 9-5 is there a way to make it so that every day only covers 9-5 and not from 12 - 12? Thanks -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.