$data) { ?>

$numbers) { $unit = strtolower($unit); ?>
$row) { $scripts .= ' [new Date(' . date('Y, n, j, G, i, s', $time) . '), ' . implode(', ', $row ) . "],\n"; } $scripts .= " ]);\n\n"; $scripts .= " var chart = new google.visualization.AnnotatedTimeLine(document.getElementById('". $module . (!empty($unit) ? '-' . $unit : '') . "'));\n"; $scripts .= ' chart.draw(data, {displayAnnotations: false});'."\n"; $scripts .= " }\n\n"; ?>

 

'file', 'weight' => 1)); drupal_add_js($scripts, array('type' => 'inline', 'weight' => 2)); ?>