Fixed CSS syntax for background linear-gradient (#2482)

This commit is contained in:
Songyan Ho 2017-03-27 23:30:41 +08:00 committed by Maxime Beauchemin
parent 121b1d0951
commit 26662eed9e

View File

@ -90,7 +90,7 @@ function tableVis(slice, payload) {
const perc = Math.round((d.val / maxes[d.col]) * 100);
return (
`linear-gradient(to right, lightgrey, lightgrey ${perc}%, ` +
`rgba(0,0,0,0) ${perc}%`
`rgba(0,0,0,0) ${perc}%)`
);
}
return null;