Add increase line width in pChart graphs

This commit is contained in:
m-lopez-f 2015-11-10 08:55:34 +01:00
parent b3221f39d8
commit dabf188970
1 changed files with 3 additions and 1 deletions

View File

@ -633,6 +633,8 @@ function pch_vertical_graph ($graph_type, $index, $data, $width, $height,
$legend = array(), $font, $antialiasing, $water_mark = '', $font_size, $legend = array(), $font, $antialiasing, $water_mark = '', $font_size,
$backgroundColor = 'white', $unit = '', $series_type = array()) { $backgroundColor = 'white', $unit = '', $series_type = array()) {
global $config;
/* CAT:Vertical Charts */ /* CAT:Vertical Charts */
if (!is_array($legend) || empty($legend)) { if (!is_array($legend) || empty($legend)) {
unset($legend); unset($legend);
@ -707,7 +709,7 @@ function pch_vertical_graph ($graph_type, $index, $data, $width, $height,
$MyData->setPalette($point_id, $palette_color);*/ $MyData->setPalette($point_id, $palette_color);*/
} }
$MyData->setSerieWeight($point_id, 0); $MyData->setSerieWeight($point_id, $config['custom_graph_width']);
} }
//$MyData->addPoints($data,"Yaxis"); //$MyData->addPoints($data,"Yaxis");