Fixed the horizontal bars in the dashboard. TICKET: #3157
(cherry picked from commit f2afb2e05f
)
This commit is contained in:
parent
836b3a125a
commit
a9f8740320
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue