Thanks for your input. This is a known bug. I hope we can fix it sometime soon.
ChartMan On Fri, Aug 14, 2009 at 4:39 AM, James <[email protected]> wrote: > > > Here is an example showing what I am talking about. Ready for the > playground. Thanks! > > --- snip --- > <!-- > copyright (c) 2009 Google inc. > > You are free to copy and use this sample. > License can be found here: > http://code.google.com/apis/ajaxsearch/faq/#license > --> > > <!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> > Google Visualization API Sample > </title> > <script type="text/javascript" src="http://www.google.com/jsapi"></ > script> > <script type="text/javascript"> > google.load('visualization', '1', {packages: ['table']}); > </script> > <script type="text/javascript"> > var visualization; > > var sortData = new google.visualization.DataTable(); > sortData.addColumn('string', 'name'); > sortData.addColumn('number', 'age'); > sortData.addRows(3); > sortData.setCell(0, 0, 'Hzano'); > sortData.setCell(1, 0, 'Hiro'); > sortData.setCell(2, 0, 'Hatorri'); > sortData.setCell(0, 1, 3); > sortData.setCell(1, 1, 8); > sortData.setCell(2, 1, 5); > > function drawVisualization() { > var table = new google.visualization.Table > (document.getElementById('table')); > table.draw(sortData, { width: 500, height: 70 } ); > } > > google.setOnLoadCallback(drawVisualization); > </script> > </head> > <body style="font-family: Arial;border: 0 none;"> > <div id="table"></div> > </body> > </html> > > > --- snip -- > > > On Aug 13, 8:07 pm, James <[email protected]> wrote: > > Hello, > > > > On the table visualization, it seems that if I specify a width which > > should be clearly large enough for the table, it still creates a > > horizontal scroll bar? The amount that you are able to scroll seems to > > be the width of the virtical scroll bar. > > > > Any way to overcome this besides just not specifying a width? I would > > expect that specifying a width would tighten up the spacing of the > > columns. > > > > thanks, > > > > -jr > --~--~---------~--~----~------------~-------~--~----~ > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected]<google-visualization-api%[email protected]> > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
