Fixed the horizontal bars in the dashboard. TICKET: #3157

(cherry picked from commit f2afb2e05f)
This commit is contained in:
mdtrooper 2016-01-08 10:47:04 +01:00
parent 836b3a125a
commit a9f8740320
1 changed files with 2 additions and 8 deletions

View File

@ -559,14 +559,8 @@ function hbar_graph($flash_chart, $chart_data, $width, $height,
}
if ($flash_chart) {
if ($return) {
return flot_hcolumn_chart(
$chart_data, $width, $height, $water_mark_url);
}
else {
echo flot_hcolumn_chart(
$chart_data, $width, $height, $water_mark_url);
}
return flot_hcolumn_chart(
$chart_data, $width, $height, $water_mark_url);
}
else {
$graph = array();