fix: cleanup dist folder, change README
- move images for README into docs/img - move libs/* into utils. libs folder is copied into dist by grafana-toolkit - remove d3-scale-chromatic sources, use it from dependencies - update compatible versions in README - update installation info
@@ -1,14 +1,14 @@
|
||||
<p align="center">
|
||||
<a href="https://github.com/flant/grafana-statusmap/releases/latest"><img src="https://img.shields.io/github/tag-date/flant/grafana-statusmap.svg?logo=github&label=latest" alt="Download from GitHub"/></a>
|
||||
<a href="https://github.com/flant/grafana-statusmap/discussions"><img src="https://img.shields.io/badge/GitHub-discussions-brightgreen" alt="GH Discussions"/></a>
|
||||
<a href="https://t.me/statusmap_ru"><img src="https://img.shields.io/badge/@statusmap_ru-RU-informational.svg?logo=telegram" alt="Telegram chat RU"/></a>
|
||||
</p>
|
||||
|
||||
# Statusmap panel for Grafana
|
||||
|
||||

|
||||
[](https://github.com/flant/grafana-statusmap/releases/latest)
|
||||
[](https://github.com/flant/grafana-statusmap/discussions)
|
||||
[](https://t.me/statusmap_ru)
|
||||
|
||||

|
||||
Panel to show discrete statuses of multiple targets over time.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
|
||||
## Features
|
||||
@@ -27,21 +27,28 @@
|
||||
- Prometheus
|
||||
- InfluxDB
|
||||
- Mysql
|
||||
* Tested with Grafana:
|
||||
- 7.0, 7.1, 7.2, 7.3
|
||||
- 6.6, 6.7
|
||||
* Supported Grafana versions:
|
||||
- 6.7+ are the most priority (6.7, 7.0-7.4)
|
||||
- also works in 5.4.3 and 6.0+
|
||||
|
||||
## Installation
|
||||
|
||||
Plugin can be installed with GF_INSTALL_PLUGINS="flant-statusmap-panel" or you can use Git and clone this repo:
|
||||
The preferred way of installation is Grafana configuration, e.g. with environment variable GF_INSTALL_PLUGINS="flant-statusmap-panel".
|
||||
|
||||
Also, you can download a released .zip file from [Releases](https://github.com/flant/grafana-statusmap/releases) page and uncompress it into Grafana's plugin directory (/var/lib/grafana/plugins/flant-statusmap-panel).
|
||||
|
||||
|
||||
```
|
||||
curl -sLO
|
||||
unzip flant-statusmap-panel-v0.4.0.zip -d /var/lib/grafana/plugins/flant-statusmap-panel
|
||||
```
|
||||
|
||||
For 5.x and 6.x versions of Grafana you can clone this repo:
|
||||
|
||||
```
|
||||
git clone git@github.com:flant/grafana-statusmap.git /var/lib/grafana/plugins/flant-statusmap-panel
|
||||
```
|
||||
|
||||
Alternatively, you can download [ZIP archive](https://github.com/flant/grafana-statusmap/archive/master.zip)
|
||||
of this repo and unpack it into /var/lib/grafana/plugins directory.
|
||||
|
||||
|
||||
## Motivation
|
||||
|
||||
@@ -134,17 +141,17 @@ ORDER BY $__timeGroup(date_insert,$__interval)
|
||||
First of all, an individual query for each possible status' value should be created.
|
||||
Each query should also have similar legend for grouping:
|
||||
|
||||

|
||||

|
||||
|
||||
Then, color mapping for status' values should be defined in __Discrete__ color mode:
|
||||
|
||||

|
||||

|
||||
|
||||
Use can use presets to define a trafic light colors or 8 colors from [solarized](https://ethanschoonover.com/solarized/) palette:
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
_Note: __Spectrum__ and __Opacity__ color modes function the same way they do in [Heatmap](https://grafana.com/plugins/heatmap) plugin._
|
||||
@@ -154,30 +161,30 @@ _Note: __Spectrum__ and __Opacity__ color modes function the same way they do in
|
||||
|
||||
#### Bucket
|
||||
|
||||

|
||||

|
||||
|
||||
__Multiple values__ checkbox specifies how they should be displayed:
|
||||
* If it's off, multiple values for one bucket are treated as error;
|
||||
* If it's on, color for such bucket would be determined by the value having least index in color mapping.
|
||||
|
||||

|
||||

|
||||
|
||||
__Display nulls__ can be treated as empty buckets or displayed with the color of `0` value.
|
||||
|
||||

|
||||

|
||||
|
||||
__Min width__ and __spacing__ are used to specify minimal bucket width and spacing between buckets.
|
||||
__Rounding__ may be used to round edges.
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
__Values index__ set to positive number to display only values from specified timeseries.
|
||||
|
||||
#### Display
|
||||
|
||||

|
||||

|
||||
|
||||
__Show legend__ checkbox toggles legend at the bottom of the panel.
|
||||
|
||||
@@ -185,7 +192,7 @@ __Rows sort__ can be used to sort labels on Y axis. Metrics — sort y labels a
|
||||
|
||||
#### Pagination
|
||||
|
||||

|
||||

|
||||
|
||||
__Enable pagination__ toggles pagination controls on graph.
|
||||
|
||||
@@ -193,7 +200,7 @@ __Rows per page__ a number of rows to display on graph.
|
||||
|
||||
#### Tooltip
|
||||
|
||||

|
||||

|
||||
|
||||
__Show tooltip__ toggles tooltip display on mouse over buckets.
|
||||
|
||||
@@ -205,7 +212,7 @@ __Items__ is a list of definitions to display URLs in tooltip.
|
||||
|
||||
Each URL has a template, icon, label and formating options: lowercase and date format for variables.
|
||||
|
||||

|
||||

|
||||
|
||||
## Development
|
||||
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
<p align="center">
|
||||
<a href="https://github.com/flant/grafana-statusmap/releases/latest"><img src="https://img.shields.io/github/tag-date/flant/grafana-statusmap.svg?logo=github&label=latest" alt="Download from GitHub"/></a>
|
||||
<a href="https://github.com/flant/grafana-statusmap/discussions"><img src="https://img.shields.io/badge/GitHub-discussions-brightgreen" alt="GH Discussions"/></a>
|
||||
<a href="https://t.me/statusmap_ru"><img src="https://img.shields.io/badge/@statusmap_ru-RU-informational.svg?logo=telegram" alt="Telegram chat RU"/></a>
|
||||
</p>
|
||||
|
||||
# Statusmap panel for Grafana
|
||||
|
||||

|
||||
[](https://github.com/flant/grafana-statusmap/releases/latest)
|
||||
[](https://github.com/flant/grafana-statusmap/discussions)
|
||||
[](https://t.me/statusmap_ru)
|
||||
|
||||

|
||||
Panel to show discrete statuses of multiple targets over time.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
|
||||
## Features
|
||||
@@ -27,21 +27,28 @@
|
||||
- Prometheus
|
||||
- InfluxDB
|
||||
- Mysql
|
||||
* Tested with Grafana:
|
||||
- 7.0, 7.1, 7.2, 7.3
|
||||
- 6.6, 6.7
|
||||
* Supported Grafana versions:
|
||||
- 6.7+ are the most priority (6.7, 7.0-7.4)
|
||||
- also works in 5.4.3 and 6.0+
|
||||
|
||||
## Installation
|
||||
|
||||
Plugin can be installed with GF_INSTALL_PLUGINS="flant-statusmap-panel" or you can use Git and clone this repo:
|
||||
The preferred way of installation is Grafana configuration, e.g. with environment variable GF_INSTALL_PLUGINS="flant-statusmap-panel".
|
||||
|
||||
Also, you can download a released .zip file from [Releases](https://github.com/flant/grafana-statusmap/releases) page and uncompress it into Grafana's plugin directory (/var/lib/grafana/plugins/flant-statusmap-panel).
|
||||
|
||||
|
||||
```
|
||||
curl -sLO
|
||||
unzip flant-statusmap-panel-v0.4.0.zip -d /var/lib/grafana/plugins/flant-statusmap-panel
|
||||
```
|
||||
|
||||
For 5.x and 6.x versions of Grafana you can clone this repo:
|
||||
|
||||
```
|
||||
git clone git@github.com:flant/grafana-statusmap.git /var/lib/grafana/plugins/flant-statusmap-panel
|
||||
```
|
||||
|
||||
Alternatively, you can download [ZIP archive](https://github.com/flant/grafana-statusmap/archive/master.zip)
|
||||
of this repo and unpack it into /var/lib/grafana/plugins directory.
|
||||
|
||||
|
||||
## Motivation
|
||||
|
||||
@@ -134,17 +141,17 @@ ORDER BY $__timeGroup(date_insert,$__interval)
|
||||
First of all, an individual query for each possible status' value should be created.
|
||||
Each query should also have similar legend for grouping:
|
||||
|
||||

|
||||

|
||||
|
||||
Then, color mapping for status' values should be defined in __Discrete__ color mode:
|
||||
|
||||

|
||||

|
||||
|
||||
Use can use presets to define a trafic light colors or 8 colors from [solarized](https://ethanschoonover.com/solarized/) palette:
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
_Note: __Spectrum__ and __Opacity__ color modes function the same way they do in [Heatmap](https://grafana.com/plugins/heatmap) plugin._
|
||||
@@ -154,30 +161,30 @@ _Note: __Spectrum__ and __Opacity__ color modes function the same way they do in
|
||||
|
||||
#### Bucket
|
||||
|
||||

|
||||

|
||||
|
||||
__Multiple values__ checkbox specifies how they should be displayed:
|
||||
* If it's off, multiple values for one bucket are treated as error;
|
||||
* If it's on, color for such bucket would be determined by the value having least index in color mapping.
|
||||
|
||||

|
||||

|
||||
|
||||
__Display nulls__ can be treated as empty buckets or displayed with the color of `0` value.
|
||||
|
||||

|
||||

|
||||
|
||||
__Min width__ and __spacing__ are used to specify minimal bucket width and spacing between buckets.
|
||||
__Rounding__ may be used to round edges.
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
__Values index__ set to positive number to display only values from specified timeseries.
|
||||
|
||||
#### Display
|
||||
|
||||

|
||||

|
||||
|
||||
__Show legend__ checkbox toggles legend at the bottom of the panel.
|
||||
|
||||
@@ -185,7 +192,7 @@ __Rows sort__ can be used to sort labels on Y axis. Metrics — sort y labels a
|
||||
|
||||
#### Pagination
|
||||
|
||||

|
||||

|
||||
|
||||
__Enable pagination__ toggles pagination controls on graph.
|
||||
|
||||
@@ -193,7 +200,7 @@ __Rows per page__ a number of rows to display on graph.
|
||||
|
||||
#### Tooltip
|
||||
|
||||

|
||||

|
||||
|
||||
__Show tooltip__ toggles tooltip display on mouse over buckets.
|
||||
|
||||
@@ -205,7 +212,7 @@ __Items__ is a list of definitions to display URLs in tooltip.
|
||||
|
||||
Each URL has a template, icon, label and formating options: lowercase and date format for variables.
|
||||
|
||||

|
||||

|
||||
|
||||
## Development
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///webpack/bootstrap"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s"],"mappings":"sCACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QA0Df,OArDAF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,oBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvDrB,EAAoBsB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQrB,EAAoBqB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,iBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKX,OAAOY,OAAO,MAGvB,GAFA1B,EAAoBkB,EAAEO,GACtBX,OAAOC,eAAeU,EAAI,UAAW,CAAET,YAAY,EAAMK,MAAOA,IACtD,EAAPE,GAA4B,iBAATF,EAAmB,IAAI,IAAIM,KAAON,EAAOrB,EAAoBU,EAAEe,EAAIE,EAAK,SAASA,GAAO,OAAON,EAAMM,IAAQC,KAAK,KAAMD,IAC9I,OAAOF,GAIRzB,EAAoB6B,EAAI,SAAS1B,GAChC,IAAIS,EAAST,GAAUA,EAAOqB,WAC7B,WAAwB,OAAOrB,EAAgB,SAC/C,WAA8B,OAAOA,GAEtC,OADAH,EAAoBU,EAAEE,EAAQ,IAAKA,GAC5BA,GAIRZ,EAAoBa,EAAI,SAASiB,EAAQC,GAAY,OAAOjB,OAAOkB,UAAUC,eAAe1B,KAAKuB,EAAQC,IAGzG/B,EAAoBkC,EAAI,IAIjBlC,EAAoBA,EAAoBmC,EAAI,I","file":"dark.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 12);\n"],"sourceRoot":""}
|
||||
@@ -1,3 +0,0 @@
|
||||
import colors from "../colors";
|
||||
|
||||
export default colors("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666");
|
||||
@@ -1,3 +0,0 @@
|
||||
import colors from "../colors";
|
||||
|
||||
export default colors("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666");
|
||||
@@ -1,3 +0,0 @@
|
||||
import colors from "../colors";
|
||||
|
||||
export default colors("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928");
|
||||
@@ -1,3 +0,0 @@
|
||||
import colors from "../colors";
|
||||
|
||||
export default colors("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2");
|
||||
@@ -1,3 +0,0 @@
|
||||
import colors from "../colors";
|
||||
|
||||
export default colors("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc");
|
||||
@@ -1,3 +0,0 @@
|
||||
import colors from "../colors";
|
||||
|
||||
export default colors("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999");
|
||||
@@ -1,3 +0,0 @@
|
||||
import colors from "../colors";
|
||||
|
||||
export default colors("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3");
|
||||
@@ -1,3 +0,0 @@
|
||||
import colors from "../colors";
|
||||
|
||||
export default colors("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f");
|
||||
@@ -1,5 +0,0 @@
|
||||
export default function(specifier) {
|
||||
var n = specifier.length / 6 | 0, colors = new Array(n), i = 0;
|
||||
while (i < n) colors[i] = "#" + specifier.slice(i * 6, ++i * 6);
|
||||
return colors;
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"d8b365f5f5f55ab4ac",
|
||||
"a6611adfc27d80cdc1018571",
|
||||
"a6611adfc27df5f5f580cdc1018571",
|
||||
"8c510ad8b365f6e8c3c7eae55ab4ac01665e",
|
||||
"8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e",
|
||||
"8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e",
|
||||
"8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e",
|
||||
"5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30",
|
||||
"5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,16 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"91cf60ffffbffc8d59",
|
||||
"1a9641a6d96afdae61d7191c",
|
||||
"1a9641a6d96affffbffdae61d7191c",
|
||||
"1a985091cf60d9ef8bfee08bfc8d59d73027",
|
||||
"1a985091cf60d9ef8bffffbffee08bfc8d59d73027",
|
||||
"1a985066bd63a6d96ad9ef8bfee08bfdae61f46d43d73027",
|
||||
"1a985066bd63a6d96ad9ef8bffffbffee08bfdae61f46d43d73027",
|
||||
"0068371a985066bd63a6d96ad9ef8bfee08bfdae61f46d43d73027a50026",
|
||||
"0068371a985066bd63a6d96ad9ef8bffffbffee08bfdae61f46d43d73027a50026"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,16 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"af8dc3f7f7f77fbf7b",
|
||||
"7b3294c2a5cfa6dba0008837",
|
||||
"7b3294c2a5cff7f7f7a6dba0008837",
|
||||
"762a83af8dc3e7d4e8d9f0d37fbf7b1b7837",
|
||||
"762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837",
|
||||
"762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837",
|
||||
"762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837",
|
||||
"40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b",
|
||||
"40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,16 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"e9a3c9f7f7f7a1d76a",
|
||||
"d01c8bf1b6dab8e1864dac26",
|
||||
"d01c8bf1b6daf7f7f7b8e1864dac26",
|
||||
"c51b7de9a3c9fde0efe6f5d0a1d76a4d9221",
|
||||
"c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221",
|
||||
"c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221",
|
||||
"c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221",
|
||||
"8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419",
|
||||
"8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,16 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"998ec3f7f7f7f1a340",
|
||||
"5e3c99b2abd2fdb863e66101",
|
||||
"5e3c99b2abd2f7f7f7fdb863e66101",
|
||||
"542788998ec3d8daebfee0b6f1a340b35806",
|
||||
"542788998ec3d8daebf7f7f7fee0b6f1a340b35806",
|
||||
"5427888073acb2abd2d8daebfee0b6fdb863e08214b35806",
|
||||
"5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806",
|
||||
"2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08",
|
||||
"2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,16 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"ef8a62f7f7f767a9cf",
|
||||
"ca0020f4a58292c5de0571b0",
|
||||
"ca0020f4a582f7f7f792c5de0571b0",
|
||||
"b2182bef8a62fddbc7d1e5f067a9cf2166ac",
|
||||
"b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac",
|
||||
"b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac",
|
||||
"b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac",
|
||||
"67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061",
|
||||
"67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,16 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"ef8a62ffffff999999",
|
||||
"ca0020f4a582bababa404040",
|
||||
"ca0020f4a582ffffffbababa404040",
|
||||
"b2182bef8a62fddbc7e0e0e09999994d4d4d",
|
||||
"b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d",
|
||||
"b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d",
|
||||
"b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d",
|
||||
"67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a",
|
||||
"67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,16 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"fc8d59ffffbf91bfdb",
|
||||
"d7191cfdae61abd9e92c7bb6",
|
||||
"d7191cfdae61ffffbfabd9e92c7bb6",
|
||||
"d73027fc8d59fee090e0f3f891bfdb4575b4",
|
||||
"d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4",
|
||||
"d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4",
|
||||
"d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4",
|
||||
"a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695",
|
||||
"a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,16 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"fc8d59ffffbf91cf60",
|
||||
"d7191cfdae61a6d96a1a9641",
|
||||
"d7191cfdae61ffffbfa6d96a1a9641",
|
||||
"d73027fc8d59fee08bd9ef8b91cf601a9850",
|
||||
"d73027fc8d59fee08bffffbfd9ef8b91cf601a9850",
|
||||
"d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850",
|
||||
"d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850",
|
||||
"a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837",
|
||||
"a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,16 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"fc8d59ffffbf99d594",
|
||||
"d7191cfdae61abdda42b83ba",
|
||||
"d7191cfdae61ffffbfabdda42b83ba",
|
||||
"d53e4ffc8d59fee08be6f59899d5943288bd",
|
||||
"d53e4ffc8d59fee08bffffbfe6f59899d5943288bd",
|
||||
"d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd",
|
||||
"d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd",
|
||||
"9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2",
|
||||
"9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,36 +0,0 @@
|
||||
export {default as schemeAccent} from "./categorical/Accent";
|
||||
export {default as schemeDark2} from "./categorical/Dark2";
|
||||
export {default as schemePaired} from "./categorical/Paired";
|
||||
export {default as schemePastel1} from "./categorical/Pastel1";
|
||||
export {default as schemePastel2} from "./categorical/Pastel2";
|
||||
export {default as schemeSet1} from "./categorical/Set1";
|
||||
export {default as schemeSet2} from "./categorical/Set2";
|
||||
export {default as schemeSet3} from "./categorical/Set3";
|
||||
export {default as interpolateBrBG, scheme as schemeBrBG} from "./diverging/BrBG";
|
||||
export {default as interpolatePRGn, scheme as schemePRGn} from "./diverging/PRGn";
|
||||
export {default as interpolatePiYG, scheme as schemePiYG} from "./diverging/PiYG";
|
||||
export {default as interpolatePuOr, scheme as schemePuOr} from "./diverging/PuOr";
|
||||
export {default as interpolateRdBu, scheme as schemeRdBu} from "./diverging/RdBu";
|
||||
export {default as interpolateRdGy, scheme as schemeRdGy} from "./diverging/RdGy";
|
||||
export {default as interpolateRdYlBu, scheme as schemeRdYlBu} from "./diverging/RdYlBu";
|
||||
export {default as interpolateRdYlGn, scheme as schemeRdYlGn} from "./diverging/RdYlGn";
|
||||
export {default as interpolateGnYlRd, scheme as schemeGnYlRd} from "./diverging/GnYlRd";
|
||||
export {default as interpolateSpectral, scheme as schemeSpectral} from "./diverging/Spectral";
|
||||
export {default as interpolateBuGn, scheme as schemeBuGn} from "./sequential-multi/BuGn";
|
||||
export {default as interpolateBuPu, scheme as schemeBuPu} from "./sequential-multi/BuPu";
|
||||
export {default as interpolateGnBu, scheme as schemeGnBu} from "./sequential-multi/GnBu";
|
||||
export {default as interpolateOrRd, scheme as schemeOrRd} from "./sequential-multi/OrRd";
|
||||
export {default as interpolatePuBuGn, scheme as schemePuBuGn} from "./sequential-multi/PuBuGn";
|
||||
export {default as interpolatePuBu, scheme as schemePuBu} from "./sequential-multi/PuBu";
|
||||
export {default as interpolatePuRd, scheme as schemePuRd} from "./sequential-multi/PuRd";
|
||||
export {default as interpolateRdPu, scheme as schemeRdPu} from "./sequential-multi/RdPu";
|
||||
export {default as interpolateYlGnBu, scheme as schemeYlGnBu} from "./sequential-multi/YlGnBu";
|
||||
export {default as interpolateYlGn, scheme as schemeYlGn} from "./sequential-multi/YlGn";
|
||||
export {default as interpolateYlOrBr, scheme as schemeYlOrBr} from "./sequential-multi/YlOrBr";
|
||||
export {default as interpolateYlOrRd, scheme as schemeYlOrRd} from "./sequential-multi/YlOrRd";
|
||||
export {default as interpolateBlues, scheme as schemeBlues} from "./sequential-single/Blues";
|
||||
export {default as interpolateGreens, scheme as schemeGreens} from "./sequential-single/Greens";
|
||||
export {default as interpolateGreys, scheme as schemeGreys} from "./sequential-single/Greys";
|
||||
export {default as interpolatePurples, scheme as schemePurples} from "./sequential-single/Purples";
|
||||
export {default as interpolateReds, scheme as schemeReds} from "./sequential-single/Reds";
|
||||
export {default as interpolateOranges, scheme as schemeOranges} from "./sequential-single/Oranges";
|
||||
@@ -1,5 +0,0 @@
|
||||
import d3 from 'd3';
|
||||
|
||||
export default function(scheme) {
|
||||
return d3.interpolateRgbBasis(scheme[scheme.length - 1]);
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"e5f5f999d8c92ca25f",
|
||||
"edf8fbb2e2e266c2a4238b45",
|
||||
"edf8fbb2e2e266c2a42ca25f006d2c",
|
||||
"edf8fbccece699d8c966c2a42ca25f006d2c",
|
||||
"edf8fbccece699d8c966c2a441ae76238b45005824",
|
||||
"f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824",
|
||||
"f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,14 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"e0ecf49ebcda8856a7",
|
||||
"edf8fbb3cde38c96c688419d",
|
||||
"edf8fbb3cde38c96c68856a7810f7c",
|
||||
"edf8fbbfd3e69ebcda8c96c68856a7810f7c",
|
||||
"edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b",
|
||||
"f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b",
|
||||
"f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,14 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"e0f3dba8ddb543a2ca",
|
||||
"f0f9e8bae4bc7bccc42b8cbe",
|
||||
"f0f9e8bae4bc7bccc443a2ca0868ac",
|
||||
"f0f9e8ccebc5a8ddb57bccc443a2ca0868ac",
|
||||
"f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e",
|
||||
"f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e",
|
||||
"f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,14 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"fee8c8fdbb84e34a33",
|
||||
"fef0d9fdcc8afc8d59d7301f",
|
||||
"fef0d9fdcc8afc8d59e34a33b30000",
|
||||
"fef0d9fdd49efdbb84fc8d59e34a33b30000",
|
||||
"fef0d9fdd49efdbb84fc8d59ef6548d7301f990000",
|
||||
"fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000",
|
||||
"fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,14 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"ece7f2a6bddb2b8cbe",
|
||||
"f1eef6bdc9e174a9cf0570b0",
|
||||
"f1eef6bdc9e174a9cf2b8cbe045a8d",
|
||||
"f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d",
|
||||
"f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b",
|
||||
"fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b",
|
||||
"fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,14 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"ece2f0a6bddb1c9099",
|
||||
"f6eff7bdc9e167a9cf02818a",
|
||||
"f6eff7bdc9e167a9cf1c9099016c59",
|
||||
"f6eff7d0d1e6a6bddb67a9cf1c9099016c59",
|
||||
"f6eff7d0d1e6a6bddb67a9cf3690c002818a016450",
|
||||
"fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450",
|
||||
"fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,14 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"e7e1efc994c7dd1c77",
|
||||
"f1eef6d7b5d8df65b0ce1256",
|
||||
"f1eef6d7b5d8df65b0dd1c77980043",
|
||||
"f1eef6d4b9dac994c7df65b0dd1c77980043",
|
||||
"f1eef6d4b9dac994c7df65b0e7298ace125691003f",
|
||||
"f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f",
|
||||
"f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,14 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"fde0ddfa9fb5c51b8a",
|
||||
"feebe2fbb4b9f768a1ae017e",
|
||||
"feebe2fbb4b9f768a1c51b8a7a0177",
|
||||
"feebe2fcc5c0fa9fb5f768a1c51b8a7a0177",
|
||||
"feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177",
|
||||
"fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177",
|
||||
"fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,14 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"f7fcb9addd8e31a354",
|
||||
"ffffccc2e69978c679238443",
|
||||
"ffffccc2e69978c67931a354006837",
|
||||
"ffffccd9f0a3addd8e78c67931a354006837",
|
||||
"ffffccd9f0a3addd8e78c67941ab5d238443005a32",
|
||||
"ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32",
|
||||
"ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,14 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"edf8b17fcdbb2c7fb8",
|
||||
"ffffcca1dab441b6c4225ea8",
|
||||
"ffffcca1dab441b6c42c7fb8253494",
|
||||
"ffffccc7e9b47fcdbb41b6c42c7fb8253494",
|
||||
"ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84",
|
||||
"ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84",
|
||||
"ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,14 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"fff7bcfec44fd95f0e",
|
||||
"ffffd4fed98efe9929cc4c02",
|
||||
"ffffd4fed98efe9929d95f0e993404",
|
||||
"ffffd4fee391fec44ffe9929d95f0e993404",
|
||||
"ffffd4fee391fec44ffe9929ec7014cc4c028c2d04",
|
||||
"ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04",
|
||||
"ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,14 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"ffeda0feb24cf03b20",
|
||||
"ffffb2fecc5cfd8d3ce31a1c",
|
||||
"ffffb2fecc5cfd8d3cf03b20bd0026",
|
||||
"ffffb2fed976feb24cfd8d3cf03b20bd0026",
|
||||
"ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026",
|
||||
"ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026",
|
||||
"ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,14 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"deebf79ecae13182bd",
|
||||
"eff3ffbdd7e76baed62171b5",
|
||||
"eff3ffbdd7e76baed63182bd08519c",
|
||||
"eff3ffc6dbef9ecae16baed63182bd08519c",
|
||||
"eff3ffc6dbef9ecae16baed64292c62171b5084594",
|
||||
"f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594",
|
||||
"f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,14 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"e5f5e0a1d99b31a354",
|
||||
"edf8e9bae4b374c476238b45",
|
||||
"edf8e9bae4b374c47631a354006d2c",
|
||||
"edf8e9c7e9c0a1d99b74c47631a354006d2c",
|
||||
"edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32",
|
||||
"f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32",
|
||||
"f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,14 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"f0f0f0bdbdbd636363",
|
||||
"f7f7f7cccccc969696525252",
|
||||
"f7f7f7cccccc969696636363252525",
|
||||
"f7f7f7d9d9d9bdbdbd969696636363252525",
|
||||
"f7f7f7d9d9d9bdbdbd969696737373525252252525",
|
||||
"fffffff0f0f0d9d9d9bdbdbd969696737373525252252525",
|
||||
"fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,14 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"fee6cefdae6be6550d",
|
||||
"feeddefdbe85fd8d3cd94701",
|
||||
"feeddefdbe85fd8d3ce6550da63603",
|
||||
"feeddefdd0a2fdae6bfd8d3ce6550da63603",
|
||||
"feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04",
|
||||
"fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04",
|
||||
"fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,14 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"efedf5bcbddc756bb1",
|
||||
"f2f0f7cbc9e29e9ac86a51a3",
|
||||
"f2f0f7cbc9e29e9ac8756bb154278f",
|
||||
"f2f0f7dadaebbcbddc9e9ac8756bb154278f",
|
||||
"f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486",
|
||||
"fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486",
|
||||
"fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,14 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"fee0d2fc9272de2d26",
|
||||
"fee5d9fcae91fb6a4acb181d",
|
||||
"fee5d9fcae91fb6a4ade2d26a50f15",
|
||||
"fee5d9fcbba1fc9272fb6a4ade2d26a50f15",
|
||||
"fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d",
|
||||
"fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d",
|
||||
"fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///webpack/bootstrap"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s"],"mappings":"sCACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QA0Df,OArDAF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,oBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvDrB,EAAoBsB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQrB,EAAoBqB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,iBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKX,OAAOY,OAAO,MAGvB,GAFA1B,EAAoBkB,EAAEO,GACtBX,OAAOC,eAAeU,EAAI,UAAW,CAAET,YAAY,EAAMK,MAAOA,IACtD,EAAPE,GAA4B,iBAATF,EAAmB,IAAI,IAAIM,KAAON,EAAOrB,EAAoBU,EAAEe,EAAIE,EAAK,SAASA,GAAO,OAAON,EAAMM,IAAQC,KAAK,KAAMD,IAC9I,OAAOF,GAIRzB,EAAoB6B,EAAI,SAAS1B,GAChC,IAAIS,EAAST,GAAUA,EAAOqB,WAC7B,WAAwB,OAAOrB,EAAgB,SAC/C,WAA8B,OAAOA,GAEtC,OADAH,EAAoBU,EAAEE,EAAQ,IAAKA,GAC5BA,GAIRZ,EAAoBa,EAAI,SAASiB,EAAQC,GAAY,OAAOjB,OAAOkB,UAAUC,eAAe1B,KAAKuB,EAAQC,IAGzG/B,EAAoBkC,EAAI,IAIjBlC,EAAoBA,EAAoBmC,EAAI,I","file":"light.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 11);\n"],"sourceRoot":""}
|
||||
@@ -16,7 +16,8 @@
|
||||
},
|
||||
"links": [
|
||||
{"name": "Github", "url": "https://github.com/flant/grafana-statusmap"},
|
||||
{"name": "MIT Licence", "url": "https://github.com/flant/grafana-statusmap/blob/master/LICENSE"}
|
||||
{"name": "MIT Licence", "url": "https://github.com/flant/grafana-statusmap/blob/master/LICENSE"},
|
||||
{"name": "Developer", "url": "https://flant.com"}
|
||||
],
|
||||
"screenshots": [
|
||||
{"name": "Panel with light theme", "path": "img/flant-statusmap-panel.png"},
|
||||
@@ -24,8 +25,8 @@
|
||||
{"name": "Color mapping", "path": "img/color-mapping.png"},
|
||||
{"name": "Queries example", "path": "img/queries-example.png"}
|
||||
],
|
||||
"version": "0.3.4",
|
||||
"updated": "2020-09-12"
|
||||
"version": "0.4.0-pre",
|
||||
"updated": "2021-02-15"
|
||||
},
|
||||
|
||||
"dependencies": {
|
||||
|
||||
|
After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 74 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
@@ -25,11 +25,11 @@
|
||||
"@types/grafana": "github:flant/types-grafana",
|
||||
"@types/jquery": "1.10.35",
|
||||
"@types/lodash": "4.14.123",
|
||||
"emotion": "10.0.27"
|
||||
"d3": "4.13.0",
|
||||
"emotion": "10.0.27",
|
||||
"lodash": "4.17.19"
|
||||
},
|
||||
"dependencies": {
|
||||
"d3": "4.13.0",
|
||||
"d3-scale-chromatic": "^2",
|
||||
"lodash": "4.17.19"
|
||||
"d3-scale-chromatic": "^2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import _ from 'lodash';
|
||||
import $ from 'jquery';
|
||||
import * as d3 from 'd3';
|
||||
import { d3ScaleChromatic } from './d3/d3-scale-chromatic';
|
||||
import { d3ScaleChromatic } from './util/d3/d3-scale-chromatic';
|
||||
import { contextSrv } from 'grafana/app/core/core';
|
||||
import { tickStep } from 'grafana/app/core/utils/ticks';
|
||||
import coreModule from 'grafana/app/core/core_module';
|
||||
|
||||
import { StatusHeatmapCtrl } from './module';
|
||||
import { PanelEvents } from './libs/grafana/events/index';
|
||||
import { PanelEvents } from './util/grafana/events/index';
|
||||
|
||||
const LEGEND_STEP_WIDTH = 2;
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 6.2 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 74 KiB |
|
Before Width: | Height: | Size: 40 KiB |
@@ -1,3 +0,0 @@
|
||||
import colors from "../colors";
|
||||
|
||||
export default colors("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666");
|
||||
@@ -1,3 +0,0 @@
|
||||
import colors from "../colors";
|
||||
|
||||
export default colors("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666");
|
||||
@@ -1,3 +0,0 @@
|
||||
import colors from "../colors";
|
||||
|
||||
export default colors("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928");
|
||||
@@ -1,3 +0,0 @@
|
||||
import colors from "../colors";
|
||||
|
||||
export default colors("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2");
|
||||
@@ -1,3 +0,0 @@
|
||||
import colors from "../colors";
|
||||
|
||||
export default colors("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc");
|
||||
@@ -1,3 +0,0 @@
|
||||
import colors from "../colors";
|
||||
|
||||
export default colors("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999");
|
||||
@@ -1,3 +0,0 @@
|
||||
import colors from "../colors";
|
||||
|
||||
export default colors("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3");
|
||||
@@ -1,3 +0,0 @@
|
||||
import colors from "../colors";
|
||||
|
||||
export default colors("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f");
|
||||
@@ -1,5 +0,0 @@
|
||||
export default function(specifier) {
|
||||
var n = specifier.length / 6 | 0, colors = new Array(n), i = 0;
|
||||
while (i < n) colors[i] = "#" + specifier.slice(i * 6, ++i * 6);
|
||||
return colors;
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"d8b365f5f5f55ab4ac",
|
||||
"a6611adfc27d80cdc1018571",
|
||||
"a6611adfc27df5f5f580cdc1018571",
|
||||
"8c510ad8b365f6e8c3c7eae55ab4ac01665e",
|
||||
"8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e",
|
||||
"8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e",
|
||||
"8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e",
|
||||
"5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30",
|
||||
"5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,16 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"91cf60ffffbffc8d59",
|
||||
"1a9641a6d96afdae61d7191c",
|
||||
"1a9641a6d96affffbffdae61d7191c",
|
||||
"1a985091cf60d9ef8bfee08bfc8d59d73027",
|
||||
"1a985091cf60d9ef8bffffbffee08bfc8d59d73027",
|
||||
"1a985066bd63a6d96ad9ef8bfee08bfdae61f46d43d73027",
|
||||
"1a985066bd63a6d96ad9ef8bffffbffee08bfdae61f46d43d73027",
|
||||
"0068371a985066bd63a6d96ad9ef8bfee08bfdae61f46d43d73027a50026",
|
||||
"0068371a985066bd63a6d96ad9ef8bffffbffee08bfdae61f46d43d73027a50026"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,16 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"af8dc3f7f7f77fbf7b",
|
||||
"7b3294c2a5cfa6dba0008837",
|
||||
"7b3294c2a5cff7f7f7a6dba0008837",
|
||||
"762a83af8dc3e7d4e8d9f0d37fbf7b1b7837",
|
||||
"762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837",
|
||||
"762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837",
|
||||
"762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837",
|
||||
"40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b",
|
||||
"40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,16 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"e9a3c9f7f7f7a1d76a",
|
||||
"d01c8bf1b6dab8e1864dac26",
|
||||
"d01c8bf1b6daf7f7f7b8e1864dac26",
|
||||
"c51b7de9a3c9fde0efe6f5d0a1d76a4d9221",
|
||||
"c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221",
|
||||
"c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221",
|
||||
"c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221",
|
||||
"8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419",
|
||||
"8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,16 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"998ec3f7f7f7f1a340",
|
||||
"5e3c99b2abd2fdb863e66101",
|
||||
"5e3c99b2abd2f7f7f7fdb863e66101",
|
||||
"542788998ec3d8daebfee0b6f1a340b35806",
|
||||
"542788998ec3d8daebf7f7f7fee0b6f1a340b35806",
|
||||
"5427888073acb2abd2d8daebfee0b6fdb863e08214b35806",
|
||||
"5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806",
|
||||
"2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08",
|
||||
"2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,16 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"ef8a62f7f7f767a9cf",
|
||||
"ca0020f4a58292c5de0571b0",
|
||||
"ca0020f4a582f7f7f792c5de0571b0",
|
||||
"b2182bef8a62fddbc7d1e5f067a9cf2166ac",
|
||||
"b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac",
|
||||
"b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac",
|
||||
"b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac",
|
||||
"67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061",
|
||||
"67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,16 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"ef8a62ffffff999999",
|
||||
"ca0020f4a582bababa404040",
|
||||
"ca0020f4a582ffffffbababa404040",
|
||||
"b2182bef8a62fddbc7e0e0e09999994d4d4d",
|
||||
"b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d",
|
||||
"b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d",
|
||||
"b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d",
|
||||
"67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a",
|
||||
"67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,16 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"fc8d59ffffbf91bfdb",
|
||||
"d7191cfdae61abd9e92c7bb6",
|
||||
"d7191cfdae61ffffbfabd9e92c7bb6",
|
||||
"d73027fc8d59fee090e0f3f891bfdb4575b4",
|
||||
"d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4",
|
||||
"d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4",
|
||||
"d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4",
|
||||
"a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695",
|
||||
"a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,16 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"fc8d59ffffbf91cf60",
|
||||
"d7191cfdae61a6d96a1a9641",
|
||||
"d7191cfdae61ffffbfa6d96a1a9641",
|
||||
"d73027fc8d59fee08bd9ef8b91cf601a9850",
|
||||
"d73027fc8d59fee08bffffbfd9ef8b91cf601a9850",
|
||||
"d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850",
|
||||
"d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850",
|
||||
"a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837",
|
||||
"a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,16 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"fc8d59ffffbf99d594",
|
||||
"d7191cfdae61abdda42b83ba",
|
||||
"d7191cfdae61ffffbfabdda42b83ba",
|
||||
"d53e4ffc8d59fee08be6f59899d5943288bd",
|
||||
"d53e4ffc8d59fee08bffffbfe6f59899d5943288bd",
|
||||
"d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd",
|
||||
"d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd",
|
||||
"9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2",
|
||||
"9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,36 +0,0 @@
|
||||
export {default as schemeAccent} from "./categorical/Accent";
|
||||
export {default as schemeDark2} from "./categorical/Dark2";
|
||||
export {default as schemePaired} from "./categorical/Paired";
|
||||
export {default as schemePastel1} from "./categorical/Pastel1";
|
||||
export {default as schemePastel2} from "./categorical/Pastel2";
|
||||
export {default as schemeSet1} from "./categorical/Set1";
|
||||
export {default as schemeSet2} from "./categorical/Set2";
|
||||
export {default as schemeSet3} from "./categorical/Set3";
|
||||
export {default as interpolateBrBG, scheme as schemeBrBG} from "./diverging/BrBG";
|
||||
export {default as interpolatePRGn, scheme as schemePRGn} from "./diverging/PRGn";
|
||||
export {default as interpolatePiYG, scheme as schemePiYG} from "./diverging/PiYG";
|
||||
export {default as interpolatePuOr, scheme as schemePuOr} from "./diverging/PuOr";
|
||||
export {default as interpolateRdBu, scheme as schemeRdBu} from "./diverging/RdBu";
|
||||
export {default as interpolateRdGy, scheme as schemeRdGy} from "./diverging/RdGy";
|
||||
export {default as interpolateRdYlBu, scheme as schemeRdYlBu} from "./diverging/RdYlBu";
|
||||
export {default as interpolateRdYlGn, scheme as schemeRdYlGn} from "./diverging/RdYlGn";
|
||||
export {default as interpolateGnYlRd, scheme as schemeGnYlRd} from "./diverging/GnYlRd";
|
||||
export {default as interpolateSpectral, scheme as schemeSpectral} from "./diverging/Spectral";
|
||||
export {default as interpolateBuGn, scheme as schemeBuGn} from "./sequential-multi/BuGn";
|
||||
export {default as interpolateBuPu, scheme as schemeBuPu} from "./sequential-multi/BuPu";
|
||||
export {default as interpolateGnBu, scheme as schemeGnBu} from "./sequential-multi/GnBu";
|
||||
export {default as interpolateOrRd, scheme as schemeOrRd} from "./sequential-multi/OrRd";
|
||||
export {default as interpolatePuBuGn, scheme as schemePuBuGn} from "./sequential-multi/PuBuGn";
|
||||
export {default as interpolatePuBu, scheme as schemePuBu} from "./sequential-multi/PuBu";
|
||||
export {default as interpolatePuRd, scheme as schemePuRd} from "./sequential-multi/PuRd";
|
||||
export {default as interpolateRdPu, scheme as schemeRdPu} from "./sequential-multi/RdPu";
|
||||
export {default as interpolateYlGnBu, scheme as schemeYlGnBu} from "./sequential-multi/YlGnBu";
|
||||
export {default as interpolateYlGn, scheme as schemeYlGn} from "./sequential-multi/YlGn";
|
||||
export {default as interpolateYlOrBr, scheme as schemeYlOrBr} from "./sequential-multi/YlOrBr";
|
||||
export {default as interpolateYlOrRd, scheme as schemeYlOrRd} from "./sequential-multi/YlOrRd";
|
||||
export {default as interpolateBlues, scheme as schemeBlues} from "./sequential-single/Blues";
|
||||
export {default as interpolateGreens, scheme as schemeGreens} from "./sequential-single/Greens";
|
||||
export {default as interpolateGreys, scheme as schemeGreys} from "./sequential-single/Greys";
|
||||
export {default as interpolatePurples, scheme as schemePurples} from "./sequential-single/Purples";
|
||||
export {default as interpolateReds, scheme as schemeReds} from "./sequential-single/Reds";
|
||||
export {default as interpolateOranges, scheme as schemeOranges} from "./sequential-single/Oranges";
|
||||
@@ -1,5 +0,0 @@
|
||||
import d3 from 'd3';
|
||||
|
||||
export default function(scheme) {
|
||||
return d3.interpolateRgbBasis(scheme[scheme.length - 1]);
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"e5f5f999d8c92ca25f",
|
||||
"edf8fbb2e2e266c2a4238b45",
|
||||
"edf8fbb2e2e266c2a42ca25f006d2c",
|
||||
"edf8fbccece699d8c966c2a42ca25f006d2c",
|
||||
"edf8fbccece699d8c966c2a441ae76238b45005824",
|
||||
"f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824",
|
||||
"f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,14 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"e0ecf49ebcda8856a7",
|
||||
"edf8fbb3cde38c96c688419d",
|
||||
"edf8fbb3cde38c96c68856a7810f7c",
|
||||
"edf8fbbfd3e69ebcda8c96c68856a7810f7c",
|
||||
"edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b",
|
||||
"f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b",
|
||||
"f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,14 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"e0f3dba8ddb543a2ca",
|
||||
"f0f9e8bae4bc7bccc42b8cbe",
|
||||
"f0f9e8bae4bc7bccc443a2ca0868ac",
|
||||
"f0f9e8ccebc5a8ddb57bccc443a2ca0868ac",
|
||||
"f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e",
|
||||
"f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e",
|
||||
"f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,14 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"fee8c8fdbb84e34a33",
|
||||
"fef0d9fdcc8afc8d59d7301f",
|
||||
"fef0d9fdcc8afc8d59e34a33b30000",
|
||||
"fef0d9fdd49efdbb84fc8d59e34a33b30000",
|
||||
"fef0d9fdd49efdbb84fc8d59ef6548d7301f990000",
|
||||
"fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000",
|
||||
"fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||
@@ -1,14 +0,0 @@
|
||||
import colors from "../colors";
|
||||
import ramp from "../ramp";
|
||||
|
||||
export var scheme = new Array(3).concat(
|
||||
"ece7f2a6bddb2b8cbe",
|
||||
"f1eef6bdc9e174a9cf0570b0",
|
||||
"f1eef6bdc9e174a9cf2b8cbe045a8d",
|
||||
"f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d",
|
||||
"f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b",
|
||||
"fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b",
|
||||
"fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858"
|
||||
).map(colors);
|
||||
|
||||
export default ramp(scheme);
|
||||