Applied a reduction coefficient to the line thickness of the static line graphs. Ticket #3765

This commit is contained in:
Alejandro Gallardo Escobar 2016-06-02 18:02:26 +02:00
parent f5799dccf8
commit 038769eae1
1 changed files with 3 additions and 1 deletions

View File

@ -703,7 +703,9 @@ function pch_vertical_graph ($graph_type, $index, $data, $width, $height,
$MyData->setPalette($point_id, $palette_color);*/
}
$MyData->setSerieWeight($point_id, $config['custom_graph_width']);
// The weight of the line is not calculated in pixels, so it needs to be transformed
$reduction_coefficient = 0.31;
$MyData->setSerieWeight($point_id, $config['custom_graph_width'] * $reduction_coefficient);
}
//$MyData->addPoints($data,"Yaxis");