|
|
|
@ -184,7 +184,7 @@ class FlatViewTable extends SortableTable |
|
|
|
|
|
|
|
|
|
if (is_array($customdisplays) && count(($customdisplays))) { |
|
|
|
|
|
|
|
|
|
$user_results = $this->datagen->get_data_to_graph2(); |
|
|
|
|
$user_results = $this->datagen->get_data_to_graph2(false); |
|
|
|
|
$pre_result = $new_result = array(); |
|
|
|
|
$DataSet = new pData(); |
|
|
|
|
//filling the Dataset |
|
|
|
@ -296,8 +296,12 @@ class FlatViewTable extends SortableTable |
|
|
|
|
|
|
|
|
|
//Setting max height by default see #3296 |
|
|
|
|
if (!empty($max)) { |
|
|
|
|
if (is_int($max)) { |
|
|
|
|
$Test->setFixedScale(0, $max + 1, $max + 1); |
|
|
|
|
} else { |
|
|
|
|
$Test->setFixedScale(0, $max); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$Test->drawScale($DataSet->GetData(), $DataSet->GetDataDescription(), SCALE_ADDALLSTART0, 150, 150, 150, TRUE, 0, 1, FALSE); |
|
|
|
|
|
|
|
|
|