Fixed problems with percentil in customs graphs. Gitlab: #326
This commit is contained in:
parent
a36e74990d
commit
5bb39c4618
pandora_console
|
@ -174,7 +174,7 @@ echo "</div>";
|
|||
|
||||
echo "</div></td>";
|
||||
|
||||
echo "<tr><td class='datos2'><b>".__('Type of graph')."</b></td>";
|
||||
echo "<tr><td class='datos2'><b>".__('Percentil')."</b></td>";
|
||||
echo "<td class='datos2'>" . html_print_checkbox ("percentil", 1, $percentil, true) . "</td></tr>";
|
||||
|
||||
echo "</table>";
|
||||
|
|
|
@ -94,9 +94,9 @@ if ($view_graph) {
|
|||
$events = $graph["events"];
|
||||
$description = $graph["description"];
|
||||
$stacked = (int) get_parameter ('stacked', -1);
|
||||
$percentil = (int) get_parameter ('percentil', 0);
|
||||
$percentil = ($graph['percentil']) ? 1 : null;
|
||||
$check = get_parameter('threshold',false);
|
||||
|
||||
|
||||
if($check == CUSTOM_GRAPH_BULLET_CHART_THRESHOLD){
|
||||
$check = true;
|
||||
$stacked = CUSTOM_GRAPH_BULLET_CHART_THRESHOLD;
|
||||
|
|
Loading…
Reference in New Issue