Applied a reduction coefficient to the line thickness of the static line graphs. Ticket #3765
(cherry picked from commit 4f632f55e6b866b91a92fd9732b5e281d5882836)
This commit is contained in:
parent
9f2e523136
commit
3feabd4597
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue