Merge branch '3327-No_se_ve_las_piegrafica_de_los_agentes' into 'develop'

fixed minor error pie chart

See merge request artica/pandorafms!2104

Former-commit-id: ba77d41b0b54f462fcc3653694d352141aff00e1
This commit is contained in:
daniel 2018-12-27 13:43:43 +01:00
commit fef1b55b5b
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ if (file_exists ('languages/'.$user_language.'.mo')) {
<head>
<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>
<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/jquery-ui.min.css" type="text/css" />
<script language="javascript" type='text/javascript' src='javascript/pandora.js'></script>

View File

@ -412,7 +412,7 @@ function flot_pie_chart ($values, $labels, $width, $height, $water_mark,
include_javascript_dependencies_flot_graph();
$return .= "<script type='text/javascript'>";
$return .= "$(document).ready( function () {";
$return .= "pandoraFlotPie('$graph_id', '$values', '$labels',
'$series', '$width', $font_size, $water_mark, '$separator',
'$legend_position', '$height', '$colors', " . json_encode($hide_labels) . ")";