简单问题
目标:使边框(左和右)完全透明,可以看到身体背景色。
尝试:
<html>
<body>
<div id="wrap">
<div class="trap">
Make the white borders transparent, so when I change the background color the background color will be seen through the borders.
I've tried rgb() with opacity but
我有多张热图。我正在分别绘制它们。为了绘制它们,我调用函数,它为所有的热图定义相同的色阶。该函数具有如下的数据参数:
var data = [{
z: Q,
x:x,
y:y,
//custom colorscale; this makes sure different maps are on same scale
colorscale: [[-3, 'rgb(166,206,227)'], [-2, 'rgb(31,120,180)'], [-1, 'rgb(178,223,138)'], [1, 'rgb(51,160,44)