'; $output .= ''; } if (!$return) echo $output; return $output; } function d3_relationship_graph ($elements, $matrix, $unit, $width = 700, $return = false) { global $config; if (is_array($elements)) $elements = json_encode($elements); if (is_array($matrix)) $matrix = json_encode($matrix); $output = "
"; $output .= include_javascript_d3(true); $output .= ""; if (!$return) echo $output; return $output; } function d3_tree_map_graph ($data, $width = 700, $height = 700, $return = false) { global $config; if (is_array($data)) $data = json_encode($data); $output = ""; $output .= include_javascript_d3(true); $output .= ""; $output .= ""; if (!$return) echo $output; return $output; } function d3_sunburst_graph ($data, $width = 700, $height = 700, $return = false) { global $config; if (is_array($data)) $data = json_encode($data); $output = ""; $output .= include_javascript_d3(true); $output .= ""; $output .= ""; if (!$return) echo $output; return $output; } function d3_bullet_chart($chart_data, $width, $height, $color, $legend, $homeurl, $unit, $font, $font_size) { global $config; $output = ''; $output .= include_javascript_d3(true); $id_bullet = uniqid(); $output .= ' '; return $output; } function d3_gauges($chart_data, $width, $height, $color, $legend, $homeurl, $unit, $font, $font_size, $no_data_image) { global $config; if (is_array($chart_data)) $data = json_encode($chart_data); $output = include_javascript_d3(true); foreach ($chart_data as $module) { $output .= ""; } $output .= ""; return $output; } ?>