Change transparency of colors in graphs. Ticket: #4046
This commit is contained in:
parent
afc267dc59
commit
6f89eba519
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue