I have created this web app. Working fine. However, Table Charts show in 
half od t he screen. How can I make it to display its true width?
Here us Link to 
App 
https://script.google.com/macros/s/AKfycbzvq30iPr7t2YjisSLIZ_9xyftsEYQ6bNmVtNQ40_8/dev
I am attaching TXT file which has my code.
Please help.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.
function doGet()
{
  var ss = 
SpreadsheetApp.openByUrl('https://docs.google.com/spreadsheets/d/16kZE9gQY1hIczYH7U9z6t77mSEZpPasENynG4_M0ERk/edit?usp=sharing');
  var data = ss.getDataRange();
  
var loadfilter = Charts.newStringFilter().setFilterColumnIndex(4).build();
var truckfilter = Charts.newStringFilter().setFilterColumnIndex(0).build();
var datefilter = Charts.newStringFilter().setFilterColumnIndex(2).build();
var statusfilter = Charts.newCategoryFilter().setFilterColumnIndex(6).build();

var tablechart = 
Charts.newTableChart().setDataViewDefinition(Charts.newDataViewDefinition().setColumns([0,1,2,3,4,5,6,7])).build();

  var dashboard = Charts.newDashboardPanel().setDataTable(data) 
.bind([loadfilter, truckfilter, datefilter, statusfilter], 
[tablechart]).build();
  
  var app = UiApp.createApplication();
  var filterpanel = app.createHorizontalPanel();
  var tablepanel =app.createHorizontalPanel();
  
  
  
filterpanel.add(loadfilter).add(truckfilter).add(datefilter).add(statusfilter).setSpacing(30);
  tablepanel.add(tablechart);
  dashboard.add(app.createVerticalPanel().add(filterpanel).add(tablepanel));
  
app.add(dashboard);
return app;

}

Reply via email to