mirror of
https://github.com/timberjoegithub/grafana-statusmap.git
synced 2026-07-22 15:53:09 +00:00
- fix linter warnings - use yarn: remove Gruntfile.js and package-lock.json ++
6 lines
118 B
JavaScript
6 lines
118 B
JavaScript
import d3 from 'd3';
|
|
|
|
export default function(scheme) {
|
|
return d3.interpolateRgbBasis(scheme[scheme.length - 1]);
|
|
}
|