<script type="text/javascript">
google.setOnLoadCallback(drawChart);
function drawChart() {
var data = new
google.visualization.DataTable();
data.addColumn('date',
'Date');
data.addColumn('number',
'Cash');
data.addColumn('number',
'Bankacc');
data.addRow([new
Date('2014-11-09 20:28:47'), 350,10000000]);data.addRow([new Date('2014-11-09
20:28:47'), 350,9000000]);data.addRow([new Date('2014-11-09 20:28:48'),
350,10000000]);data.addRow([new Date('2014-11-09 20:28:49'),
350,9000000]);data.addRow([new Date('2014-11-09 20:28:50'),
350,10000000]);data.addRow([new Date('2014-11-09 20:28:50'),
350,9000000]);data.addRow([new Date('2014-11-09 20:28:50'),
350,10000000]);data.addRow([new Date('2014-11-09 20:28:51'),
350,9000000]);data.addRow([new Date('2014-11-09 20:29:08'),
350,10000000]);data.addRow([new Date('2014-11-09 20:29:08'),
350,9000000]);data.addRow([new Date('2014-11-09 20:29:33'),
350,10000000]);data.addRow([new Date('2014-11-10 15:27:31'),
350,10000001]);data.addRow([new Date('2014-11-10 15:40:52'),
350,10000002]);data.addRow([new Date('2014-11-10 15:52:22'),
350,10000003]);data.addRow([new Date('2014-11-10 16:09:47'),
350,10000004]);data.addRow([new Date('2014-11-10 16:17:54'), 350,10000005]);
var options = {
pointSize: 4,
title: '',
'width': 380,
format:'yyyy-MM-dd hh:mm:ss',
'height': 280,
'chartArea': {'width': '80%', 'height':
'85%', 'top': '10'},
legend: 'bottom'
};
var chart = new
google.visualization.LineChart(document.getElementById('chart_div'));
chart.draw(data, options);
}
</script>
Its kind of strange. The Browser I tested was Firefox and IE. It´s working
on my pc but not on my laptop.. And some Users of me have this problem
too...
--
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.