fixed minor error pie chart
Former-commit-id: e335f96e7538f939c2fd20137c19c354125f0edb
This commit is contained in:
parent
2043546c52
commit
a789b3350e
|
@ -63,7 +63,7 @@ if (file_exists ('languages/'.$user_language.'.mo')) {
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<title>Pandora FMS Graph (<?php echo agents_get_alias($agent_id) . ' - ' . $interface_name; ?>)</title>
|
<title>Pandora FMS Graph (<?php echo agents_get_alias($agent_id) . ' - ' . $interface_name; ?>)</title>
|
||||||
<link rel="stylesheet" href="styles/pandora.css" type="text/css" />
|
<link rel="stylesheet" href="styles/pandora.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="styles/pandora_minimal.css" type="text/css" />
|
<link rel="stylesheet" href="styles/pandora_minimal.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="styles/jquery-ui.min.css" type="text/css" />
|
<link rel="stylesheet" href="styles/jquery-ui.min.css" type="text/css" />
|
||||||
<script language="javascript" type='text/javascript' src='javascript/pandora.js'></script>
|
<script language="javascript" type='text/javascript' src='javascript/pandora.js'></script>
|
||||||
|
|
|
@ -412,7 +412,7 @@ function flot_pie_chart ($values, $labels, $width, $height, $water_mark,
|
||||||
include_javascript_dependencies_flot_graph();
|
include_javascript_dependencies_flot_graph();
|
||||||
|
|
||||||
$return .= "<script type='text/javascript'>";
|
$return .= "<script type='text/javascript'>";
|
||||||
|
$return .= "$(document).ready( function () {";
|
||||||
$return .= "pandoraFlotPie('$graph_id', '$values', '$labels',
|
$return .= "pandoraFlotPie('$graph_id', '$values', '$labels',
|
||||||
'$series', '$width', $font_size, $water_mark, '$separator',
|
'$series', '$width', $font_size, $water_mark, '$separator',
|
||||||
'$legend_position', '$height', '$colors', " . json_encode($hide_labels) . ")";
|
'$legend_position', '$height', '$colors', " . json_encode($hide_labels) . ")";
|
||||||
|
|
Loading…
Reference in New Issue