Change transparency of colors in graphs. Ticket: #4046

This commit is contained in:
m-lopez-f 2016-09-16 11:19:52 +02:00
parent afc267dc59
commit 6f89eba519
2 changed files with 3 additions and 3 deletions

View File

@ -958,9 +958,9 @@ function pandoraFlotArea(graph_id, values, labels, labels_long, legend,
//threshold: [{ below: 80, color: "rgb(200, 20, 30)" } , { below: 65, color: "rgb(30, 200, 30)" }, { below: 50, color: "rgb(30, 200, 30)" }],
lines: {
show: line_show,
fill: filled,
fill: 0.2,
fillColor: {
colors: [ { opacity: 0.9 }, { opacity: 0.9 } ]
colors: [ { opacity: 0.9 }, { opacity: 0.6 } ]
},
lineWidth: lineWidth,
steps: steps_chart

View File

@ -1009,7 +1009,7 @@ function pch_vertical_graph ($graph_type, $index, $data, $width, $height,
/* Draw the chart */
$settings = array(
"ForceTransparency" => $ForceTransparency,
"ForceTransparency" => 20,
"Gradient" => TRUE,
"GradientMode" => GRADIENT_EFFECT_CAN,
"DisplayValues" => $show_values,