Exemple #1
0
$graph = true;
$scale = 1000;
$table_row = $report_tab3->get_data($cbs, $nr, $oms, $geslacht, $start_lft, $end_lft, $graph, $scale, $rand, $regio, $cbs2, $regio2, $eindjaar, $col, $jaar);
$col = 'val1';
$jaar = 2010;
$table_row = $report_tab3->get_data($cbs, $nr, $oms, $geslacht, $start_lft, $end_lft, $graph, $scale, $rand, $regio, $cbs2, $regio2, $eindjaar, $col, $jaar);
$col = 'val2';
$jaar = 2011;
$table_row = $report_tab3->get_data($cbs, $nr, $oms, $geslacht, $start_lft, $end_lft, $graph, $scale, $rand, $regio, $cbs2, $regio2, $eindjaar, $col, $jaar);
$col = 'val3';
$jaar = 2012;
$table_row = $report_tab3->get_data($cbs, $nr, $oms, $geslacht, $start_lft, $end_lft, $graph, $scale, $rand, $regio, $cbs2, $regio2, $eindjaar, $col, $jaar);
$graph_title = 'aantal dossiers bij het AMW met eerste problematiek relatie ouder-kind of opvoeding per 1.000 0-17 jarigen';
$graph_type = 'line_graph';
$xml_file = date("Ymd") . $rand;
$report_tab3->show_graph($graph_title, $graph_type, $rand, $xml_file, $cbs, $cbs2, $regio, $regio2);
?>
<div id="LineChart3"></div>
<script type="text/javascript"><!--
  var LineChart3 = new FusionCharts( "../fusioncharts/MSLine.swf",
  "LineChart_3", "900", "505", "0", "1" );
  LineChart3.setXMLUrl("../temp/<?php 
echo $xml_file;
?>
.xml");
  LineChart3.render("LineChart3");

  // -->
</script>
<?php 
include 'source.php';
Exemple #2
0
$col = 'val5';
$jaar = 2010;
$table_row = $header->get_data($cbs, $nr, $oms, $geslacht, $start_lft, $end_lft, $graph, $scale, $rand, $regio, $cbs2, $regio2, $eindjaar, $col, $jaar);
$col = 'val6';
$jaar = 2011;
$table_row = $header->get_data($cbs, $nr, $oms, $geslacht, $start_lft, $end_lft, $graph, $scale, $rand, $regio, $cbs2, $regio2, $eindjaar, $col, $jaar);
$col = 'val7';
$jaar = 2012;
$table_row = $header->get_data($cbs, $nr, $oms, $geslacht, $start_lft, $end_lft, $graph, $scale, $rand, $regio, $cbs2, $regio2, $eindjaar, $col, $jaar);
$col = 'val8';
$jaar = 2013;
$table_row = $header->get_data($cbs, $nr, $oms, $geslacht, $start_lft, $end_lft, $graph, $scale, $rand, $regio, $cbs2, $regio2, $eindjaar, $col, $jaar);
$graph_title = 'percentage niet-westerse allochtone jeugdigen (0-17 jaar)';
$graph_type = 'line_graph';
$xml_file = date("Ymd") . $rand;
$header->show_graph($graph_title, $graph_type, $rand, $xml_file, $cbs, $cbs2, $regio, $regio2);
?>
<div id="LineChart1"></div>
<script type="text/javascript"><!--
  var LineChart1 = new FusionCharts( "../fusioncharts/MSLine.swf",
  "LineChart_1", "900", "505", "0", "1" );
  LineChart1.setXMLUrl("../temp/<?php 
echo $xml_file;
?>
.xml");
  LineChart1.render("LineChart1");

  // -->
</script>
<?php 
include 'source.php';