Re: [visualization-api] Re: Table and map in same dashboard

2014-08-21 Thread Sikker Trafik
Yep, you're right! That works - thank you very much. Did you find out about the zoomLevel issue? On Tue, Aug 19, 2014 at 1:56 AM, Andrew Gallant agall...@google.com wrote: I think you have some invalid zero-width characters before and after the #clearFloat css declaration. Overwrite your

Re: [visualization-api] Re: Table and map in same dashboard

2014-08-18 Thread Sikker Trafik
I still can't figure out how to make it work. The HTML now looks like this. The controls are floated, but the drop-down still doesn't work. I've tried different ways of making the clearFloat work, but so far without luck. Can you help me again? !--Div that will hold the dashboard-- div

Re: [visualization-api] Re: Table and map in same dashboard

2014-08-18 Thread Andrew Gallant
I think you have some invalid zero-width characters before and after the #clearFloat css declaration. Overwrite your style block with this and see if it works: style type=text/css #control1, #control2, #control3, #control4, #control5 { float: left; } #clearFloat { clear: both; } /style

Re: [visualization-api] Re: Table and map in same dashboard

2014-08-14 Thread Sikker Trafik
Hi asgallant I don't know if you're still able to help with my map. I have some questions to the code below. 1. When I try to use the float:left function (or right) for the filters, the drop-downs won't work. 2. When I use filters where no results come up in the table and on the map, it shows an

Re: [visualization-api] Re: Table and map in same dashboard

2014-08-14 Thread Andrew Gallant
When you float the controls, you need to clear the float afterwards (otherwise, the controls end up layered underneath the table's container div, which is why they don't work). See example: http://jsfiddle.net/asgallant/t2vw2hrq/ You can clear the errors by setting up error event handlers for

Re: [visualization-api] Re: Table and map in same dashboard

2014-08-14 Thread Sikker Trafik
Thank you! The error handling is exactly as I wanted it and it works - thank you. The floating is still a problem. Forgive me, but where am I supposed to type in the CSS part (the part below)? #control1, #control2, #control3, #control4, #control5 { float: left; } #clearFloat { clear:

Re: [visualization-api] Re: Table and map in same dashboard

2014-08-14 Thread Andrew Gallant
Add those styles to a style sheet or in a style tag. You need to have a div with the class clearFloat after your controls for it to work (see the example HTML). On Thursday, August 14, 2014 10:07:19 AM UTC-4, Sikker Trafik wrote: Thank you! The error handling is exactly as I wanted it and

Re: [visualization-api] Re: Table and map in same dashboard

2013-04-24 Thread Sikker Trafik
Now I've got another question. If I add showTip, it doesn't open the infoWindow. Like this: dashboard.draw(data, {showTip: true}); I don't what the problem is. I have looked through a lot of examples on this matter, but the only thing I can think of is, that I in some way have to add data

Re: [visualization-api] Re: Table and map in same dashboard

2013-04-24 Thread asgallant
If you are using lat/long pairs, then you need to add a third column to the map, which contains a string describing the location. This string is what pops up in the tooltip. On Wednesday, April 24, 2013 4:35:31 AM UTC-4, Sikker Trafik wrote: Now I've got another question. If I add showTip,

Re: [visualization-api] Re: Table and map in same dashboard

2013-04-22 Thread sikkertrafik2011
All right. Thank you so much for the help asgallant! On Wed, Apr 17, 2013 at 4:54 PM, asgallant drew_gall...@abtassoc.comwrote: The note in the Data Formathttps://developers.google.com/chart/interactive/docs/gallery/map#Data_Formatsection of the Map documentation says that Maps accept a

Re: [visualization-api] Re: Table and map in same dashboard

2013-04-17 Thread sikkertrafik2011
Thank you asgallant. When I would like to import larger data sets from my spreadsheet into the table and map, it throw an error: One or more participants failed to draw()× And on the map it says: Some of the data rows were truncated× How can I find out what the limits on map are? It looks

Re: [visualization-api] Re: Table and map in same dashboard

2013-04-17 Thread asgallant
The note in the Data Formathttps://developers.google.com/chart/interactive/docs/gallery/map#Data_Formatsection of the Map documentation says that Maps accept a maximum of 400 rows of data. On Wednesday, April 17, 2013 5:44:14 AM UTC-4, Sikker Trafik wrote: Thank you asgallant. When I

Re: [visualization-api] Re: Table and map in same dashboard

2013-04-08 Thread sikkertrafik2011
I've got another question in the same script. I try to change options for the map, but I can't figure out, why it doesn't work. The part of the script is here: var map1 = new google.visualization.ChartWrapper({ 'chartType': 'Map', 'containerId': 'map1', 'options': {

Re: [visualization-api] Re: Table and map in same dashboard

2013-04-03 Thread sikkertrafik2011
Hi Sorry for my late reply. You're absolutely right - it's working now. Thank you so much for helping me. Nikolaj On Wed, Mar 27, 2013 at 3:13 PM, asgallant drew_gall...@abtassoc.comwrote: I think you want to use columns 7 and 8 in the map's view, not 8 and 9 (columns are 0-indexed, so X is

Re: [visualization-api] Re: Table and map in same dashboard

2013-04-03 Thread asgallant
You're welcome. On Wednesday, April 3, 2013 10:05:32 AM UTC-4, Sikker Trafik wrote: Hi Sorry for my late reply. You're absolutely right - it's working now. Thank you so much for helping me. Nikolaj On Wed, Mar 27, 2013 at 3:13 PM, asgallant drew_g...@abtassoc.comjavascript: wrote:

[visualization-api] Re: Table and map in same dashboard

2013-03-27 Thread asgallant
I think you want to use columns 7 and 8 in the map's view, not 8 and 9 (columns are 0-indexed, so X is column 7 and Y is column 8). See here: http://jsfiddle.net/asgallant/U43xx/ On Wednesday, March 27, 2013 6:02:25 AM UTC-4, Sikker Trafik wrote: Hi I am trying to embed a table and a map