So you're saying to remove the select statement all together? Like this?
<script type="text/javascript"
src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("visualization", "1", {packages:["corechart"]});
google.setOnLoadCallback(drawChart);
function drawChart() {
var query = new
google.visualization.Query('https://spreadsheets.google.com/spreadsheet/tq?range=A19:E35&key=0AhCv9Xu_eRnSdHBELWZoZHRaQTl5VXdRa3JLTzByUlE&gid=2');
var data = response.getDataTable();
var chart = new
google.visualization.LineChart(document.querySelector('#chart_div'));
chart.draw(data, {
//chartArea: {width: '70%', height: '50%'},
fontName: ["Arial"],
colors:['#20413A','#ff6600','#0000ff','#ff0000'],
curveType: ['none'],
fontSize: ['11'],
hAxis: {title: 'Metric A Name', titleTextStyle: {italic: false,
color: 'black', fontSize: 12}},
legend: {position: 'right', textStyle: {color: 'black',
fontSize: 12}},
lineWidth: 2,
pointSize: 7,
tooltip: {textStyle: {color: 'Black'}, showColorCode: false}
});
});
}
</script>
--
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.