I have tried and failed
<TD colspan=2>
<script type="text/javascript"
src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
google.charts.load('current', {'packages':['corechart'], 'language':
'en-gb'});
google.charts.setOnLoadCallback(drawVisualization);
function drawVisualization() {
// Some raw data (not necessarily accurate)
var data = google.visualization.arrayToDataTable([
<?php include("Data_06_15_6.php"); ?>
]);
var formatter = new google.visualization.NumberFormat({
prefix: '£',
negativeParens: true
});
var options = {
title : 'Totals by Paddock for <?php echo $farm_name; ?>',
titleFontSize:30,
fontName: 'tahoma',
fontSize: '16',
format: "currency",
prefix:"£",
width:780,
height:520,
vAxis: {title: '', format: '£#,##0.00;(£#,##0.00)', prefix:"£",
fontSize: '24'},
hAxis: {format: 'currency', prefix:"£", fontSize: '24'},
seriesType: 'bars',
//series: {5: {type: 'line'}}
};
var chart = new
google.visualization.ComboChart(document.getElementById('chart_div'));
chart.draw(data, options);
}
</script>
<div id="chart_div"></div>
</TD>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/4ddc14d9-e22b-433f-9a45-e4d7f33124d7n%40googlegroups.com.