better colors (?)
This commit is contained in:
parent
e40b400f6f
commit
8f7f34c190
@ -32,7 +32,7 @@
|
|||||||
var fillOpacity = 0.35;
|
var fillOpacity = 0.35;
|
||||||
|
|
||||||
var colorKeys = {};
|
var colorKeys = {};
|
||||||
var colorScale = chroma.bezier(['red', 'blue', 'green']).scale();
|
var colorScale = chroma.scale(['red', 'blue', 'green']).mode('hsl');
|
||||||
var getColor = function(id){
|
var getColor = function(id){
|
||||||
if (!id) return "#000000";
|
if (!id) return "#000000";
|
||||||
if (!colorKeys[id]) {
|
if (!colorKeys[id]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user