Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
021633670a | ||
|
|
b6213efff2 | ||
|
|
0f64d36b42 | ||
|
|
b7c525252e | ||
|
|
c20eb9e1d3 | ||
|
|
7cc09175f0 | ||
|
|
3b0d119113 | ||
|
|
ce18758cd1 | ||
|
|
1793f12a1f | ||
|
|
012bcac0ef | ||
|
|
f037ad082e | ||
|
|
9a2e4a394e | ||
|
|
4bd3ecbcf2 | ||
|
|
4b7d111cd6 | ||
|
|
80725f6cd5 | ||
|
|
3e37a0c3cc | ||
|
|
a4d48eb591 | ||
|
|
b96d205787 | ||
|
|
bd30626721 | ||
|
|
f02831fcbe | ||
|
|
7c2f9a9114 | ||
|
|
276d3cce92 | ||
|
|
46177c71e8 | ||
|
|
c7e7cd33bc | ||
|
|
6d4c9bb0ef | ||
|
|
7f8264a893 | ||
|
|
ef4b0e1228 | ||
|
|
99ba3cbdd6 | ||
|
|
4af775ee1f | ||
|
|
7817a3928a | ||
|
|
080f358e1b | ||
|
|
8c7279561d | ||
|
|
4e281e53d5 | ||
|
|
2479569d71 | ||
|
|
a911d64a27 | ||
|
|
d592dd8ca2 | ||
|
|
d7338a7409 | ||
|
|
48597eda59 | ||
|
|
129a37bda6 | ||
|
|
f4d2ede57b | ||
|
|
80548d3972 | ||
|
|
6b6219c1a9 | ||
|
|
b33248c664 | ||
|
|
28d4f51876 | ||
|
|
9463913189 | ||
|
|
a3f1495680 | ||
|
|
18574c3fa1 | ||
|
|
1e7ef33b67 | ||
|
|
a475e77b96 | ||
|
|
33e7001c11 | ||
|
|
34cf3462c6 | ||
|
|
f1c41e984c | ||
|
|
b06c5dffc0 | ||
|
|
e0891296af | ||
|
|
6885311a1c | ||
|
|
f9d71c166a | ||
|
|
742e80d713 | ||
|
|
eb6f149f8b | ||
|
|
d4d297862e | ||
|
|
06cb92bbb8 | ||
|
|
5a758213c6 | ||
|
|
20691c9aae | ||
|
|
624be3450d | ||
|
|
63e36b1656 | ||
|
|
433a059bcf | ||
|
|
1862c5ac17 | ||
|
|
6665b7e18a | ||
|
|
4994f2f956 | ||
|
|
8d2039bf37 | ||
|
|
12492216d6 | ||
|
|
51623fdc72 | ||
|
|
27b674640b | ||
|
|
803504befd | ||
|
|
570fe11341 | ||
|
|
0537671450 | ||
|
|
089f42d940 | ||
|
|
2158753c5e | ||
|
|
dee408e7a3 | ||
|
|
c37d116550 | ||
|
|
a1a06ea78a | ||
|
|
f813f4cea7 | ||
|
|
3ffe5554f3 | ||
|
|
e1abad408e | ||
|
|
188d912653 | ||
|
|
8d917d0c1e | ||
|
|
f6973a81b8 | ||
|
|
f13adb369b | ||
|
|
cb5d353b36 | ||
|
|
e5249b8852 | ||
|
|
8dde6da21a | ||
|
|
3c3931b2c0 | ||
|
|
77ab254a5e | ||
|
|
12b974a2bc | ||
|
|
cc4b908afd | ||
|
|
cda8fdfe8d | ||
|
|
ec8f8e386a | ||
|
|
76dc89b2dc | ||
|
|
ca2fcb582a | ||
|
|
54539cb35f | ||
|
|
8e12d35da9 | ||
|
|
34f65b1455 | ||
|
|
e783d32efa | ||
|
|
a51f237291 | ||
|
|
46ba4be810 | ||
|
|
7ce802f3ef | ||
|
|
bccc3320a8 | ||
|
|
5d7cf54348 | ||
|
|
1f43ffe158 | ||
|
|
c7882402ce | ||
|
|
09cdd2f224 | ||
|
|
0a8463e2ed | ||
|
|
4d952a841b | ||
|
|
36e907f8b6 | ||
|
|
af55883905 | ||
|
|
afec01cb93 |
@@ -0,0 +1,2 @@
|
|||||||
|
/dist linguist-generated
|
||||||
|
/src/libs/d3-scale-chromatic linguist-vendored
|
||||||
@@ -1,2 +1,5 @@
|
|||||||
node_modules
|
node_modules
|
||||||
.jshintrc
|
.jshintrc
|
||||||
|
.idea
|
||||||
|
.sass-cache
|
||||||
|
.tscache
|
||||||
@@ -0,0 +1,72 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
## v0.3.4
|
||||||
|
|
||||||
|
- Fix to work in Grafana 7.2.0,7.2.1
|
||||||
|
- Fix 'name' in tooltip for opacity and gradient modes
|
||||||
|
- Fix color scale for opacity and gradient modes
|
||||||
|
|
||||||
|
## v0.3.3
|
||||||
|
|
||||||
|
- Fix fallback to string events for older versions of Grafana
|
||||||
|
|
||||||
|
## v0.3.2
|
||||||
|
|
||||||
|
- Fix plugin metadata for Grafana repository
|
||||||
|
|
||||||
|
## v0.3.1
|
||||||
|
|
||||||
|
- Fix to work in Grafana 7.1.0
|
||||||
|
|
||||||
|
## v0.3.0
|
||||||
|
|
||||||
|
- Tooltip freeze on click
|
||||||
|
- Show URLs in tooltip
|
||||||
|
- Pagination controls
|
||||||
|
- Fix tooltip and null buckets
|
||||||
|
- Fix display for 6.7+, 7.0+
|
||||||
|
|
||||||
|
## v0.2.0
|
||||||
|
|
||||||
|
- Migrate code base to typescript
|
||||||
|
- Fixes to work in 6.3.0+ grafana
|
||||||
|
|
||||||
|
## v0.1.1
|
||||||
|
|
||||||
|
- Fix for annotations in grafana 5.x before 5.4
|
||||||
|
|
||||||
|
## v0.1.0
|
||||||
|
|
||||||
|
- Tested with Grafana 6.0.0
|
||||||
|
- Tested with InfluxDB and Mysql datasources
|
||||||
|
- Add initial support for display annotations
|
||||||
|
- Add example for k8s statuses (thanks, @vrutkovs)
|
||||||
|
- Fix hanging on big values
|
||||||
|
- Fix horizontal spacing = 0
|
||||||
|
- Fix for "Object doesn't support property or method 'remove'"
|
||||||
|
- Fix card width for targets with different datapoints count
|
||||||
|
|
||||||
|
## v0.0.4
|
||||||
|
|
||||||
|
- Fix display of multivalues buckets as an empty cell
|
||||||
|
|
||||||
|
## v0.0.3
|
||||||
|
|
||||||
|
- Add solarized preset
|
||||||
|
- Reorganize statuses editor for discrete mode
|
||||||
|
- Separate options for vertical and horizontal spacing for cards
|
||||||
|
- Add simple sort options for Y axis
|
||||||
|
- Fix display null values as zero
|
||||||
|
|
||||||
|
## v0.0.2
|
||||||
|
|
||||||
|
- Install with GF_INSTALL_PLUGINS
|
||||||
|
- Fix legend overlap
|
||||||
|
- Fix colors for dark theme
|
||||||
|
- Fix panel rendering timeout error
|
||||||
|
|
||||||
|
|
||||||
|
## v0.0.1
|
||||||
|
|
||||||
|
- First public release
|
||||||
|
|
||||||
@@ -1,10 +1,20 @@
|
|||||||
|
'use strict';
|
||||||
module.exports = (grunt) => {
|
module.exports = (grunt) => {
|
||||||
require('load-grunt-tasks')(grunt);
|
require('load-grunt-tasks')(grunt);
|
||||||
|
|
||||||
grunt.loadNpmTasks('grunt-execute');
|
|
||||||
grunt.loadNpmTasks('grunt-contrib-clean');
|
grunt.loadNpmTasks('grunt-contrib-clean');
|
||||||
|
grunt.loadNpmTasks('grunt-notify');
|
||||||
|
|
||||||
grunt.initConfig({
|
grunt.initConfig({
|
||||||
|
notify: {
|
||||||
|
watch: {
|
||||||
|
options: {
|
||||||
|
message: 'grunt watch Complete',
|
||||||
|
title: 'flant-statusmap-panel rebuilded',
|
||||||
|
duration: 2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
clean: ['dist'],
|
clean: ['dist'],
|
||||||
|
|
||||||
@@ -12,12 +22,12 @@ module.exports = (grunt) => {
|
|||||||
src_to_dist: {
|
src_to_dist: {
|
||||||
cwd: 'src',
|
cwd: 'src',
|
||||||
expand: true,
|
expand: true,
|
||||||
src: ['**/*', '!**/*.js', '!**/*.scss'],
|
src: ['**/*', '!**/*.js', '!**/*.ts', '!**/*.scss'],
|
||||||
dest: 'dist'
|
dest: 'dist'
|
||||||
},
|
},
|
||||||
pluginDef: {
|
root_to_dist: {
|
||||||
expand: true,
|
expand: true,
|
||||||
src: ['plugin.json', 'README.md'],
|
src: ['plugin.json', 'README.md', 'CHANGELOG.md'],
|
||||||
dest: 'dist'
|
dest: 'dist'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -25,7 +35,7 @@ module.exports = (grunt) => {
|
|||||||
watch: {
|
watch: {
|
||||||
rebuild_all: {
|
rebuild_all: {
|
||||||
files: ['src/**/*', 'plugin.json'],
|
files: ['src/**/*', 'plugin.json'],
|
||||||
tasks: ['default'],
|
tasks: ['default', 'notify:watch'],
|
||||||
options: {
|
options: {
|
||||||
spawn: false,
|
spawn: false,
|
||||||
livereload: true
|
livereload: true
|
||||||
@@ -36,14 +46,23 @@ module.exports = (grunt) => {
|
|||||||
babel: {
|
babel: {
|
||||||
options: {
|
options: {
|
||||||
sourceMap: true,
|
sourceMap: true,
|
||||||
presets: ['es2015'],
|
presets: ['@babel/preset-env', '@babel/typescript'],
|
||||||
plugins: ['transform-es2015-modules-systemjs', 'transform-es2015-for-of', 'transform-class-properties', 'transform-object-rest-spread'],
|
plugins: ['angularjs-annotate', '@babel/plugin-transform-modules-systemjs', '@babel/plugin-transform-for-of', '@babel/plugin-proposal-class-properties', '@babel/plugin-proposal-object-rest-spread'],
|
||||||
|
},
|
||||||
|
d3lib: {
|
||||||
|
files: [{
|
||||||
|
cwd: 'src',
|
||||||
|
expand: true,
|
||||||
|
src: ['libs/**/*.js'],
|
||||||
|
dest: 'dist',
|
||||||
|
ext: '.js'
|
||||||
|
}]
|
||||||
},
|
},
|
||||||
dist: {
|
dist: {
|
||||||
files: [{
|
files: [{
|
||||||
cwd: 'src',
|
cwd: 'src',
|
||||||
expand: true,
|
expand: true,
|
||||||
src: ['*.js', '**/*.js'],
|
src: ['*.ts', '**/*.ts'],
|
||||||
dest: 'dist',
|
dest: 'dist',
|
||||||
ext: '.js'
|
ext: '.js'
|
||||||
}]
|
}]
|
||||||
@@ -53,14 +72,15 @@ module.exports = (grunt) => {
|
|||||||
sass: {
|
sass: {
|
||||||
dist: {
|
dist: {
|
||||||
files: {
|
files: {
|
||||||
'dist/css/status-heatmap.css': 'src/css/status-heatmap.scss'
|
'dist/css/statusmap.dark.css': 'src/css/statusmap.dark.scss',
|
||||||
|
'dist/css/statusmap.light.css': 'src/css/statusmap.light.scss'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
grunt.registerTask('default', ['clean', 'copy:src_to_dist', 'copy:pluginDef', 'babel', 'sass']);
|
grunt.registerTask('default', ['clean', 'copy:src_to_dist', 'copy:root_to_dist', 'babel', 'sass']);
|
||||||
// grunt.registerTask('clean', ['clean']);
|
// grunt.registerTask('clean', ['clean']);
|
||||||
// grunt.registerTask('watch', ['watch']);
|
// grunt.registerTask('watch', ['watch']);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,23 +1,40 @@
|
|||||||
|
<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://community.flant.com/c/grafana-statusmap/8"><img src="https://img.shields.io/discourse/status?server=https%3A%2F%2Fcommunity.flant.com" alt="Discourse forum for 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
|
# Statusmap panel for Grafana
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
* Grouping values into rows and buckets using legend from query
|
* Grouping values into rows and buckets using legend from query
|
||||||
* User defined color mapping
|
* User defined color mapping
|
||||||
* Multiple values in bucket can be displayed via tooltip
|
* Multiple values in bucket are displayed via tooltip
|
||||||
* Increasing rows/buckets' interval for better visual representation
|
* Increasing rows/buckets' interval for better visual representation
|
||||||
* Representing null values as empty bucket or zero value
|
* Representing null values as empty bucket or zero value
|
||||||
|
|
||||||
|
:calendar: New features are planned in [#62](https://github.com/flant/grafana-statusmap/issues/62)
|
||||||
|
|
||||||
### Supported environment
|
### Supported environment
|
||||||
|
|
||||||
* Prometheus datasource
|
* Tested with datasources:
|
||||||
* Tested with Grafana 5.1.3
|
- Prometheus
|
||||||
|
- InfluxDB
|
||||||
|
- Mysql
|
||||||
|
* Tested with Grafana:
|
||||||
|
- 7.0, 7.1, 7.2
|
||||||
|
- 6.3, 6.6, 6.7
|
||||||
|
- 5.4.3
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Plugin can be installed via Git:
|
Plugin can be installed with GF_INSTALL_PLUGINS="flant-statusmap-panel" or you can use Git and clone this repo:
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone git@github.com:flant/grafana-statusmap.git /var/lib/grafana/plugins/flant-statusmap-panel
|
git clone git@github.com:flant/grafana-statusmap.git /var/lib/grafana/plugins/flant-statusmap-panel
|
||||||
@@ -26,15 +43,19 @@ git clone git@github.com:flant/grafana-statusmap.git /var/lib/grafana/plugins/fl
|
|||||||
Alternatively, you can download [ZIP archive](https://github.com/flant/grafana-statusmap/archive/master.zip)
|
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.
|
of this repo and unpack it into /var/lib/grafana/plugins directory.
|
||||||
|
|
||||||
|
|
||||||
## Motivation
|
## Motivation
|
||||||
|
|
||||||
We had a desperate need to show a set of timeseries statuses over time period, so we can see
|
We had a desperate need to visualize a set of timeseries statuses over time period, so we can
|
||||||
a history of changes for objects' statuses. Since we maintain a lot of Kubernetes clusters
|
see a history of changes for objects' status. Since we maintain a lot of Kubernetes clusters
|
||||||
(and related infrastructure), our main cases for that are visualization of servers & Kubernetes
|
(and related infrastructure), our main cases for that are visualization of servers & Kubernetes
|
||||||
pods health states as well as HTTP services health checks. We've tried a variety of Grafana
|
pods health states as well as HTTP services health checks. We've tried a variety of Grafana
|
||||||
plugins available (they are listed in *Acknowledgements* below) but none of them could provide
|
plugins available (they are listed in *Acknowledgements* below) but none of them could provide
|
||||||
the features and visualization really close to what we've been looking for.
|
the features and visualization really close to what we've been looking for.
|
||||||
|
|
||||||
|
_NB: You can find more details about our journey of creating the plugin in
|
||||||
|
[this post](https://medium.com/flant-com/statusmap-grafana-plugin-to-visualize-status-over-time-fe6ced391853)._
|
||||||
|
|
||||||
_Objects_ being visualized with this plugin may be different: not only IT components (e.g. server
|
_Objects_ being visualized with this plugin may be different: not only IT components (e.g. server
|
||||||
hosts and Kubernetes pods) but just anything you can imagine like coffee makers on the picture
|
hosts and Kubernetes pods) but just anything you can imagine like coffee makers on the picture
|
||||||
above. These objects should have _discrete statuses_ which are sets of predefined values, e.g.
|
above. These objects should have _discrete statuses_ which are sets of predefined values, e.g.
|
||||||
@@ -42,9 +63,20 @@ above. These objects should have _discrete statuses_ which are sets of predefine
|
|||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
### Prometheus
|
### Datasource notes
|
||||||
|
|
||||||
To work with data from Prometheus you will need to setup discrete statuses of your objects.
|
To create neat graphs your datasource should return good data. Plugin adjust `$__interval` variable depending on
|
||||||
|
bucket width in panel options. Your queries should aggregate statuses over `$__interval`.
|
||||||
|
|
||||||
|
To make multiple values mode works as expected you should define multiple queries: one query for each possible status.
|
||||||
|
|
||||||
|
Plugin doesn't aggregate data in time for now, it only renders input data as buckets. Because of this
|
||||||
|
data should contain points for each timestamp in time range and equal timestamps for every possible
|
||||||
|
target (y-axis label). This limitation is addressed by [issue #53](https://github.com/flant/grafana-statusmap/issues/53).
|
||||||
|
|
||||||
|
#### Prometheus
|
||||||
|
|
||||||
|
To work with data from Prometheus you will need to setup discrete statuses for your objects.
|
||||||
Requirements to store these statuses in metrics are as follows:
|
Requirements to store these statuses in metrics are as follows:
|
||||||
* metrics should have two values: `0` and `1`;
|
* metrics should have two values: `0` and `1`;
|
||||||
* there should be a label with status' value.
|
* there should be a label with status' value.
|
||||||
@@ -58,8 +90,8 @@ When it's done, you can collect all the data via query, e.g.:
|
|||||||
If there was no such status (`<STATUS_VALUE>`) during query's interval, Prometheus would
|
If there was no such status (`<STATUS_VALUE>`) during query's interval, Prometheus would
|
||||||
return nothing. Otherwise, status' value will be returned.
|
return nothing. Otherwise, status' value will be returned.
|
||||||
|
|
||||||
For example, if you have 5 statuses and a metric (`coffee_maker_status`) with 5 allowed
|
For example, if you have 5 types of statuses and a metric (`coffee_maker_status`) with 5
|
||||||
values (`0`, `1`, `2`, `3`, `4`), you should transform this metric using the following rule:
|
allowed values (`0`, `1`, `2`, `3`, `4`), you should transform this metric using following rule:
|
||||||
|
|
||||||
```
|
```
|
||||||
- record: coffee_maker_status:discrete
|
- record: coffee_maker_status:discrete
|
||||||
@@ -76,6 +108,28 @@ coffee_maker_status:discrete{status="3"} 1
|
|||||||
Now, when Prometheus has `0` and `1` values for each status, all these metrics can be
|
Now, when Prometheus has `0` and `1` values for each status, all these metrics can be
|
||||||
aggregated, so you will get all available statuses of your objects over time.
|
aggregated, so you will get all available statuses of your objects over time.
|
||||||
|
|
||||||
|
#### InfluxDB
|
||||||
|
|
||||||
|
Choose 'Time series' for 'Format as' and use `GROUP BY ($__interval)` in query. `$tag_<tag name>` can be used in 'Alias by' to define y-axis labels.
|
||||||
|
|
||||||
|
#### Mysql
|
||||||
|
|
||||||
|
Example query with aggregation over `$__interval` is like this (you need one query for each possible status value):
|
||||||
|
|
||||||
|
```
|
||||||
|
SELECT
|
||||||
|
$__timeGroupAlias(date_insert,$__interval),
|
||||||
|
name AS metric,
|
||||||
|
min(statusi) AS "statusi"
|
||||||
|
FROM coffee_makers
|
||||||
|
WHERE
|
||||||
|
$__timeFilter(date_insert) AND statusi=1
|
||||||
|
GROUP BY 1,2
|
||||||
|
ORDER BY $__timeGroup(date_insert,$__interval)
|
||||||
|
```
|
||||||
|
|
||||||
|
`metric` column is used as y-axis label.
|
||||||
|
|
||||||
### Panel
|
### Panel
|
||||||
|
|
||||||
First of all, an individual query for each possible status' value should be created.
|
First of all, an individual query for each possible status' value should be created.
|
||||||
@@ -87,11 +141,20 @@ Then, color mapping for status' values should be defined in __Discrete__ color m
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
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._
|
_Note: __Spectrum__ and __Opacity__ color modes function the same way they do in [Heatmap](https://grafana.com/plugins/heatmap) plugin._
|
||||||
|
|
||||||
|
|
||||||
### More options
|
### More options
|
||||||
|
|
||||||
|
#### Bucket
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
__Multiple values__ checkbox specifies how they should be displayed:
|
__Multiple values__ checkbox specifies how they should be displayed:
|
||||||
@@ -100,15 +163,50 @@ __Multiple values__ checkbox specifies how they should be displayed:
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
__Null values__ can be treated as empty buckets or displayed with the color of `0` value.
|
__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.
|
__Min width__ and __spacing__ are used to specify minimal bucket width and spacing between buckets.
|
||||||
__Rounding__ may be used to round edges.
|
__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.
|
||||||
|
|
||||||
|
__Rows sort__ can be used to sort labels on Y axis. Metrics — sort y labels as they are defined on Metrics tab. a→z and z→a sort labels descending or ascending in a [natural](https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare) order.
|
||||||
|
|
||||||
|
#### Pagination
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
__Enable pagination__ toggles pagination controls on graph.
|
||||||
|
|
||||||
|
__Rows per page__ a number of rows to display on graph.
|
||||||
|
|
||||||
|
#### Tooltip
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
__Show tooltip__ toggles tooltip display on mouse over buckets.
|
||||||
|
|
||||||
|
__Freeze on click__ toggles tooltip "freezing" on click. Frozen tooltip can be used to compare data with floating tooltip or to follow URLs.
|
||||||
|
|
||||||
|
__Show items__ toggles display of additional items in tooltip.
|
||||||
|
|
||||||
|
__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
|
## Development
|
||||||
|
|
||||||
@@ -119,7 +217,7 @@ the directory containing Statusmap plugin):
|
|||||||
docker run --rm -it -v $PWD:/var/lib/grafana/plugins/flant-statusmap-panel \
|
docker run --rm -it -v $PWD:/var/lib/grafana/plugins/flant-statusmap-panel \
|
||||||
-p 3000:3000 --name grafana.docker \
|
-p 3000:3000 --name grafana.docker \
|
||||||
--env=GF_USERS_DEFAULT_THEME=light \
|
--env=GF_USERS_DEFAULT_THEME=light \
|
||||||
grafana/grafana:5.1.3
|
grafana/grafana:7.1.3
|
||||||
```
|
```
|
||||||
|
|
||||||
This will expose local plugin from your machine to Grafana container. Now run `grunt` to compile
|
This will expose local plugin from your machine to Grafana container. Now run `grunt` to compile
|
||||||
@@ -135,9 +233,7 @@ The first public release of this plugin has been fully made by [Flant](https://f
|
|||||||
|
|
||||||
This plugin is based on "Heatmap" panel by Grafana and partly inspired by ideas from Carpet plot, Discrete panel, Status Panel, Status Dot, Status By Group.
|
This plugin is based on "Heatmap" panel by Grafana and partly inspired by ideas from Carpet plot, Discrete panel, Status Panel, Status Dot, Status By Group.
|
||||||
|
|
||||||
#### Changelog
|
|
||||||
|
|
||||||
##### v0.0.1
|
### CHANGELOG
|
||||||
|
|
||||||
- First public release
|
|
||||||
|
|
||||||
|
The latest changes can be found here: [CHANGELOG.md](https://github.com/flant/grafana-statusmap/blob/master/CHANGELOG.md)
|
||||||
|
|||||||
@@ -0,0 +1,72 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
## v0.3.4
|
||||||
|
|
||||||
|
- Fix to work in Grafana 7.2.0,7.2.1
|
||||||
|
- Fix 'name' in tooltip for opacity and gradient modes
|
||||||
|
- Fix color scale for opacity and gradient modes
|
||||||
|
|
||||||
|
## v0.3.3
|
||||||
|
|
||||||
|
- Fix fallback to string events for older versions of Grafana
|
||||||
|
|
||||||
|
## v0.3.2
|
||||||
|
|
||||||
|
- Fix plugin metadata for Grafana repository
|
||||||
|
|
||||||
|
## v0.3.1
|
||||||
|
|
||||||
|
- Fix to work in Grafana 7.1.0
|
||||||
|
|
||||||
|
## v0.3.0
|
||||||
|
|
||||||
|
- Tooltip freeze on click
|
||||||
|
- Show URLs in tooltip
|
||||||
|
- Pagination controls
|
||||||
|
- Fix tooltip and null buckets
|
||||||
|
- Fix display for 6.7+, 7.0+
|
||||||
|
|
||||||
|
## v0.2.0
|
||||||
|
|
||||||
|
- Migrate code base to typescript
|
||||||
|
- Fixes to work in 6.3.0+ grafana
|
||||||
|
|
||||||
|
## v0.1.1
|
||||||
|
|
||||||
|
- Fix for annotations in grafana 5.x before 5.4
|
||||||
|
|
||||||
|
## v0.1.0
|
||||||
|
|
||||||
|
- Tested with Grafana 6.0.0
|
||||||
|
- Tested with InfluxDB and Mysql datasources
|
||||||
|
- Add initial support for display annotations
|
||||||
|
- Add example for k8s statuses (thanks, @vrutkovs)
|
||||||
|
- Fix hanging on big values
|
||||||
|
- Fix horizontal spacing = 0
|
||||||
|
- Fix for "Object doesn't support property or method 'remove'"
|
||||||
|
- Fix card width for targets with different datapoints count
|
||||||
|
|
||||||
|
## v0.0.4
|
||||||
|
|
||||||
|
- Fix display of multivalues buckets as an empty cell
|
||||||
|
|
||||||
|
## v0.0.3
|
||||||
|
|
||||||
|
- Add solarized preset
|
||||||
|
- Reorganize statuses editor for discrete mode
|
||||||
|
- Separate options for vertical and horizontal spacing for cards
|
||||||
|
- Add simple sort options for Y axis
|
||||||
|
- Fix display null values as zero
|
||||||
|
|
||||||
|
## v0.0.2
|
||||||
|
|
||||||
|
- Install with GF_INSTALL_PLUGINS
|
||||||
|
- Fix legend overlap
|
||||||
|
- Fix colors for dark theme
|
||||||
|
- Fix panel rendering timeout error
|
||||||
|
|
||||||
|
|
||||||
|
## v0.0.1
|
||||||
|
|
||||||
|
- First public release
|
||||||
|
|
||||||
@@ -1,84 +1,227 @@
|
|||||||
|
<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://community.flant.com/c/grafana-statusmap/8"><img src="https://img.shields.io/discourse/status?server=https%3A%2F%2Fcommunity.flant.com" alt="Discourse forum for 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
|
# Statusmap panel for Grafana
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
* Group values into rows and buckets by query's legend
|
* Grouping values into rows and buckets using legend from query
|
||||||
* User defined color mapping
|
* User defined color mapping
|
||||||
* Multiple values in bucket display in tooltip
|
* Multiple values in bucket are displayed via tooltip
|
||||||
* Interval shaping to better visual representation
|
* Increasing rows/buckets' interval for better visual representation
|
||||||
* Represent null values as empty bucket or as zero value
|
* Representing null values as empty bucket or zero value
|
||||||
|
|
||||||
|
:calendar: New features are planned in [#62](https://github.com/flant/grafana-statusmap/issues/62)
|
||||||
|
|
||||||
### Supported environment
|
### Supported environment
|
||||||
|
|
||||||
* Prometheus datasource
|
* Tested with datasources:
|
||||||
* Tested with Grafana 5.1.3
|
- Prometheus
|
||||||
|
- InfluxDB
|
||||||
|
- Mysql
|
||||||
|
* Tested with Grafana:
|
||||||
|
- 7.0, 7.1, 7.2
|
||||||
|
- 6.3, 6.6, 6.7
|
||||||
|
- 5.4.3
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Plugin can be installed with git:
|
Plugin can be installed with GF_INSTALL_PLUGINS="flant-statusmap-panel" or you can use Git and clone this repo:
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone git@github.com:flant/grafana-statusmap.git /var/lib/grafana/plugins/flant-statusmap-panel
|
git clone git@github.com:flant/grafana-statusmap.git /var/lib/grafana/plugins/flant-statusmap-panel
|
||||||
```
|
```
|
||||||
|
|
||||||
Or you can download ZIP archive of this repo and unpack it into /var/lib/grafana/plugins directory.
|
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
|
## Motivation
|
||||||
|
|
||||||
This plugin emerges from our needs to visually represent history of changes for a set of objects
|
We had a desperate need to visualize a set of timeseries statuses over time period, so we can
|
||||||
with discrete statuses.
|
see a history of changes for objects' status. Since we maintain a lot of Kubernetes clusters
|
||||||
_Objects_ can be hosts, Kubernetes pods or coffee makers and _discrete statuses_ are a set
|
(and related infrastructure), our main cases for that are visualization of servers & Kubernetes
|
||||||
of predefined values: something like `ok` = 0, `off` = 1, `fail` = 2.
|
pods health states as well as HTTP services health checks. We've tried a variety of Grafana
|
||||||
|
plugins available (they are listed in *Acknowledgements* below) but none of them could provide
|
||||||
|
the features and visualization really close to what we've been looking for.
|
||||||
|
|
||||||
|
_NB: You can find more details about our journey of creating the plugin in
|
||||||
|
[this post](https://medium.com/flant-com/statusmap-grafana-plugin-to-visualize-status-over-time-fe6ced391853)._
|
||||||
|
|
||||||
|
_Objects_ being visualized with this plugin may be different: not only IT components (e.g. server
|
||||||
|
hosts and Kubernetes pods) but just anything you can imagine like coffee makers on the picture
|
||||||
|
above. These objects should have _discrete statuses_ which are sets of predefined values, e.g.
|
||||||
|
`ok` = 0, `off` = 1, `fail` = 2, etc.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
Recommended setup is to create query for each possible status value with similar legend:
|
### Datasource notes
|
||||||
|
|
||||||
|
To create neat graphs your datasource should return good data. Plugin adjust `$__interval` variable depending on
|
||||||
|
bucket width in panel options. Your queries should aggregate statuses over `$__interval`.
|
||||||
|
|
||||||
|
To make multiple values mode works as expected you should define multiple queries: one query for each possible status.
|
||||||
|
|
||||||
|
Plugin doesn't aggregate data in time for now, it only renders input data as buckets. Because of this
|
||||||
|
data should contain points for each timestamp in time range and equal timestamps for every possible
|
||||||
|
target (y-axis label). This limitation is addressed by [issue #53](https://github.com/flant/grafana-statusmap/issues/53).
|
||||||
|
|
||||||
|
#### Prometheus
|
||||||
|
|
||||||
|
To work with data from Prometheus you will need to setup discrete statuses for your objects.
|
||||||
|
Requirements to store these statuses in metrics are as follows:
|
||||||
|
* metrics should have two values: `0` and `1`;
|
||||||
|
* there should be a label with status' value.
|
||||||
|
|
||||||
|
When it's done, you can collect all the data via query, e.g.:
|
||||||
|
|
||||||
|
```
|
||||||
|
(max_over_time(coffee_maker_status{status="<STATUS_VALUE>"}[$__interval]) == 1) * <STATUS_VALUE>
|
||||||
|
```
|
||||||
|
|
||||||
|
If there was no such status (`<STATUS_VALUE>`) during query's interval, Prometheus would
|
||||||
|
return nothing. Otherwise, status' value will be returned.
|
||||||
|
|
||||||
|
For example, if you have 5 types of statuses and a metric (`coffee_maker_status`) with 5
|
||||||
|
allowed values (`0`, `1`, `2`, `3`, `4`), you should transform this metric using following rule:
|
||||||
|
|
||||||
|
```
|
||||||
|
- record: coffee_maker_status:discrete
|
||||||
|
expr: |
|
||||||
|
count_values("status", coffee_maker_status)
|
||||||
|
```
|
||||||
|
|
||||||
|
That's how `coffee_maker_status` metric with value `3` will be transformed into new metric:
|
||||||
|
|
||||||
|
```
|
||||||
|
coffee_maker_status:discrete{status="3"} 1
|
||||||
|
```
|
||||||
|
|
||||||
|
Now, when Prometheus has `0` and `1` values for each status, all these metrics can be
|
||||||
|
aggregated, so you will get all available statuses of your objects over time.
|
||||||
|
|
||||||
|
#### InfluxDB
|
||||||
|
|
||||||
|
Choose 'Time series' for 'Format as' and use `GROUP BY ($__interval)` in query. `$tag_<tag name>` can be used in 'Alias by' to define y-axis labels.
|
||||||
|
|
||||||
|
#### Mysql
|
||||||
|
|
||||||
|
Example query with aggregation over `$__interval` is like this (you need one query for each possible status value):
|
||||||
|
|
||||||
|
```
|
||||||
|
SELECT
|
||||||
|
$__timeGroupAlias(date_insert,$__interval),
|
||||||
|
name AS metric,
|
||||||
|
min(statusi) AS "statusi"
|
||||||
|
FROM coffee_makers
|
||||||
|
WHERE
|
||||||
|
$__timeFilter(date_insert) AND statusi=1
|
||||||
|
GROUP BY 1,2
|
||||||
|
ORDER BY $__timeGroup(date_insert,$__interval)
|
||||||
|
```
|
||||||
|
|
||||||
|
`metric` column is used as y-axis label.
|
||||||
|
|
||||||
|
### Panel
|
||||||
|
|
||||||
|
First of all, an individual query for each possible status' value should be created.
|
||||||
|
Each query should also have similar legend for grouping:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Next define color mapping for status values in __Discrete__ color mode.
|
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:
|
||||||
|
|
||||||
__Spectrum__ and __Opacity__ color modes works as in a [Heatmap](https://grafana.com/plugins/heatmap) plugin.
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
_Note: __Spectrum__ and __Opacity__ color modes function the same way they do in [Heatmap](https://grafana.com/plugins/heatmap) plugin._
|
||||||
|
|
||||||
|
|
||||||
### More options
|
### More options
|
||||||
|
|
||||||
|
#### Bucket
|
||||||
|
|
||||||

|

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

|

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

|

|
||||||
|
|
||||||
__Min width__ and __spacing__ are determine minimal bucket width and spacing between buckets.
|
__Min width__ and __spacing__ are used to specify minimal bucket width and spacing between buckets.
|
||||||
__Rounding__ is for round edges.
|
__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.
|
||||||
|
|
||||||
|
__Rows sort__ can be used to sort labels on Y axis. Metrics — sort y labels as they are defined on Metrics tab. a→z and z→a sort labels descending or ascending in a [natural](https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare) order.
|
||||||
|
|
||||||
|
#### Pagination
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
__Enable pagination__ toggles pagination controls on graph.
|
||||||
|
|
||||||
|
__Rows per page__ a number of rows to display on graph.
|
||||||
|
|
||||||
|
#### Tooltip
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
__Show tooltip__ toggles tooltip display on mouse over buckets.
|
||||||
|
|
||||||
|
__Freeze on click__ toggles tooltip "freezing" on click. Frozen tooltip can be used to compare data with floating tooltip or to follow URLs.
|
||||||
|
|
||||||
|
__Show items__ toggles display of additional items in tooltip.
|
||||||
|
|
||||||
|
__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
|
## Development
|
||||||
|
|
||||||
The easy way to test and develop plugin is to run Grafana instance in docker with following command in the directory containing the plugin.
|
To test and improve the plugin you can run Grafana instance in Docker using following command (in
|
||||||
This will expose the local plugin on your machine to the Grafana container.
|
the directory containing Statusmap plugin):
|
||||||
|
|
||||||
```
|
```
|
||||||
docker run --rm -it -v $PWD:/var/lib/grafana/plugins/flant-statusmap-panel \
|
docker run --rm -it -v $PWD:/var/lib/grafana/plugins/flant-statusmap-panel \
|
||||||
-p 3000:3000 --name grafana.docker \
|
-p 3000:3000 --name grafana.docker \
|
||||||
--env=GF_USERS_DEFAULT_THEME=light \
|
--env=GF_USERS_DEFAULT_THEME=light \
|
||||||
grafana/grafana:5.1.3
|
grafana/grafana:7.1.3
|
||||||
```
|
```
|
||||||
|
|
||||||
Now run `grunt` to compile dist directory and start changes watcher:
|
This will expose local plugin from your machine to Grafana container. Now run `grunt` to compile
|
||||||
|
dist directory and start changes watcher:
|
||||||
|
|
||||||
```
|
```
|
||||||
grunt watch
|
grunt watch
|
||||||
@@ -86,13 +229,11 @@ grunt watch
|
|||||||
|
|
||||||
## Acknowledgements
|
## Acknowledgements
|
||||||
|
|
||||||
Idea of a plugin comes from Dmitry Stolyarov @distol, initial version written by Sergey Gnuskov @gsmetal and final changes made by Ivan Mikheykin @diafour.
|
The first public release of this plugin has been fully made by [Flant](https://flant.com/) engineers. The whole idea has come from Dmitry Stolyarov ([@distol](https://github.com/distol)), initial version has been written by Sergey Gnuskov ([@gsmetal](https://github.com/gsmetal)) and final changes has been made by Ivan Mikheykin ([@diafour](https://github.com/diafour)).
|
||||||
|
|
||||||
This plugin is based on a "Heatmap" panel by Grafana and inspired by ideas from Carpet plot, Discrete panel, Status Panel, Status Dot, Status By Group.
|
This plugin is based on "Heatmap" panel by Grafana and partly inspired by ideas from Carpet plot, Discrete panel, Status Panel, Status Dot, Status By Group.
|
||||||
|
|
||||||
#### Changelog
|
|
||||||
|
|
||||||
##### v0.0.1
|
### CHANGELOG
|
||||||
|
|
||||||
- First public release
|
|
||||||
|
|
||||||
|
The latest changes can be found here: [CHANGELOG.md](https://github.com/flant/grafana-statusmap/blob/master/CHANGELOG.md)
|
||||||
|
|||||||
@@ -0,0 +1,181 @@
|
|||||||
|
"use strict";
|
||||||
|
|
||||||
|
System.register(["d3", "jquery", "lodash"], function (_export, _context) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
var d3, $, _, TOOLTIP_PADDING_X, TOOLTIP_PADDING_Y, AnnotationTooltip;
|
||||||
|
|
||||||
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||||
|
|
||||||
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
||||||
|
|
||||||
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||||
|
|
||||||
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||||
|
|
||||||
|
return {
|
||||||
|
setters: [function (_d) {
|
||||||
|
d3 = _d.default;
|
||||||
|
}, function (_jquery) {
|
||||||
|
$ = _jquery.default;
|
||||||
|
}, function (_lodash) {
|
||||||
|
_ = _lodash.default;
|
||||||
|
}],
|
||||||
|
execute: function () {
|
||||||
|
TOOLTIP_PADDING_X = 30;
|
||||||
|
TOOLTIP_PADDING_Y = 10;
|
||||||
|
|
||||||
|
_export("AnnotationTooltip", AnnotationTooltip =
|
||||||
|
/*#__PURE__*/
|
||||||
|
function () {
|
||||||
|
function AnnotationTooltip(elem, scope) {
|
||||||
|
_classCallCheck(this, AnnotationTooltip);
|
||||||
|
|
||||||
|
_defineProperty(this, "scope", void 0);
|
||||||
|
|
||||||
|
_defineProperty(this, "dashboard", void 0);
|
||||||
|
|
||||||
|
_defineProperty(this, "panelCtrl", void 0);
|
||||||
|
|
||||||
|
_defineProperty(this, "panel", void 0);
|
||||||
|
|
||||||
|
_defineProperty(this, "mouseOverAnnotationTick", void 0);
|
||||||
|
|
||||||
|
_defineProperty(this, "tooltipBase", void 0);
|
||||||
|
|
||||||
|
_defineProperty(this, "tooltip", void 0);
|
||||||
|
|
||||||
|
this.scope = scope;
|
||||||
|
this.dashboard = scope.ctrl.dashboard;
|
||||||
|
this.panelCtrl = scope.ctrl;
|
||||||
|
this.panel = scope.ctrl.panel;
|
||||||
|
this.mouseOverAnnotationTick = false;
|
||||||
|
elem.on("mouseover", this.onMouseOver.bind(this));
|
||||||
|
elem.on("mouseleave", this.onMouseLeave.bind(this));
|
||||||
|
}
|
||||||
|
|
||||||
|
_createClass(AnnotationTooltip, [{
|
||||||
|
key: "onMouseOver",
|
||||||
|
value: function onMouseOver(e) {
|
||||||
|
if (!this.panel.tooltip.show || !this.scope.ctrl.data || _.isEmpty(this.scope.ctrl.data)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!this.tooltip) {
|
||||||
|
this.add();
|
||||||
|
this.move(e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "onMouseLeave",
|
||||||
|
value: function onMouseLeave() {
|
||||||
|
this.destroy();
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "onMouseMove",
|
||||||
|
value: function onMouseMove(e) {
|
||||||
|
if (!this.panel.tooltip.show) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
this.move(e);
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "add",
|
||||||
|
value: function add() {
|
||||||
|
this.tooltipBase = d3.select("body").append("div").attr("class", "statusmap-annotation-tooltip drop drop-popover drop-popover--annotation drop-element drop-enabled drop-target-attached-center drop-open drop-open-transitionend drop-after-open").style("position", "absolute");
|
||||||
|
this.tooltip = this.tooltipBase.append("div").attr("class", "drop-content").append("div").append("annotation-tooltip").append("div").attr("class", "graph-annotation");
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "destroy",
|
||||||
|
value: function destroy() {
|
||||||
|
if (this.tooltip) {
|
||||||
|
this.tooltip.remove();
|
||||||
|
}
|
||||||
|
|
||||||
|
this.tooltip = null;
|
||||||
|
|
||||||
|
if (this.tooltipBase) {
|
||||||
|
this.tooltipBase.remove();
|
||||||
|
}
|
||||||
|
|
||||||
|
this.tooltipBase = null;
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "show",
|
||||||
|
value: function show(pos) {
|
||||||
|
if (!this.panel.tooltip.show || !this.tooltip) {
|
||||||
|
return;
|
||||||
|
} // shared tooltip mode
|
||||||
|
//if (pos.panelRelY) {
|
||||||
|
// return;
|
||||||
|
//}
|
||||||
|
|
||||||
|
|
||||||
|
var annoId = d3.select(pos.target).attr('annoId');
|
||||||
|
|
||||||
|
if (!annoId) {
|
||||||
|
this.destroy();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var anno = this.panelCtrl.annotations[annoId];
|
||||||
|
|
||||||
|
if (!anno) {
|
||||||
|
this.destroy();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var annoTitle = "";
|
||||||
|
var tooltipTimeFormat = 'YYYY-MM-DD HH:mm:ss';
|
||||||
|
var annoTime = this.dashboard.formatDate(anno.time, tooltipTimeFormat);
|
||||||
|
var annoText = anno.text;
|
||||||
|
var annoTags = [];
|
||||||
|
|
||||||
|
if (anno.tags) {
|
||||||
|
annoTags = _.map(anno.tags, function (t) {
|
||||||
|
return {
|
||||||
|
"text": t,
|
||||||
|
"backColor": "rgb(63, 43, 91)",
|
||||||
|
"borderColor": "rgb(101, 81, 129)"
|
||||||
|
};
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
var tooltipHtml = "<div class=\"graph-annotation__header\">\n <span class=\"graph-annotation__title\">".concat(annoTitle, "</span>\n <span class=\"graph-annotation__time\">").concat(annoTime, "</span></div>\n <div class=\"graph-annotation__body\">\n <div>").concat(annoText, "</div>\n ").concat(_.join(_.map(annoTags, function (t) {
|
||||||
|
return "<span class=\"label label-tag small\" style=\"background-color: ".concat(t.backColor, "; border-color: ").concat(t.borderColor, "\">").concat(t.text, "</span>");
|
||||||
|
}), ""), "\n </div>\n <div class=\"statusmap-histogram\"></div>");
|
||||||
|
this.tooltip.html(tooltipHtml);
|
||||||
|
this.move(pos);
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "move",
|
||||||
|
value: function move(pos) {
|
||||||
|
if (!this.tooltipBase) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var elem = $(this.tooltipBase.node())[0];
|
||||||
|
var tooltipWidth = elem.clientWidth;
|
||||||
|
var tooltipHeight = elem.clientHeight;
|
||||||
|
var left = pos.pageX - tooltipWidth / 2;
|
||||||
|
var top = pos.pageY + TOOLTIP_PADDING_Y;
|
||||||
|
|
||||||
|
if (pos.pageX + tooltipWidth / 2 + 10 > window.innerWidth) {
|
||||||
|
left = pos.pageX - tooltipWidth - TOOLTIP_PADDING_X;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (pos.pageY - window.pageYOffset + tooltipHeight + 20 > window.innerHeight) {
|
||||||
|
top = pos.pageY - tooltipHeight - TOOLTIP_PADDING_Y;
|
||||||
|
}
|
||||||
|
|
||||||
|
return this.tooltipBase.style("left", left + "px").style("top", top + "px");
|
||||||
|
}
|
||||||
|
}]);
|
||||||
|
|
||||||
|
return AnnotationTooltip;
|
||||||
|
}());
|
||||||
|
}
|
||||||
|
};
|
||||||
|
});
|
||||||
|
//# sourceMappingURL=annotations.js.map
|
||||||
@@ -1,38 +1,31 @@
|
|||||||
'use strict';
|
"use strict";
|
||||||
|
|
||||||
System.register(['angular', 'lodash', 'jquery', 'd3', './libs/d3-scale-chromatic/index', 'app/core/core', 'app/core/utils/ticks'], function (_export, _context) {
|
System.register(["lodash", "jquery", "d3", "./libs/d3-scale-chromatic/index", "app/core/core", "app/core/utils/ticks", "app/core/core_module", "./libs/grafana/events/index"], function (_export, _context) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var angular, _, $, d3, d3ScaleChromatic, contextSrv, tickStep, mod, MIN_LEGEND_STEPS;
|
var _, $, d3, d3ScaleChromatic, contextSrv, tickStep, coreModule, PanelEvents, LEGEND_STEP_WIDTH;
|
||||||
|
|
||||||
function drawColorLegend(elem, colorScheme, rangeFrom, rangeTo, maxValue, minValue) {
|
function drawColorLegend(elem, colorScheme, rangeFrom, rangeTo, maxValue, minValue) {
|
||||||
var legendElem = $(elem).find('svg');
|
var legendElem = $(elem).find('svg');
|
||||||
var legend = d3.select(legendElem.get(0));
|
var legend = d3.select(legendElem.get(0));
|
||||||
clearLegend(elem);
|
clearLegend(elem);
|
||||||
|
var legendWidth = Math.floor(legendElem.outerWidth()) - 30; // narrow legendWidth by 30px to get space for first and last tick values
|
||||||
|
|
||||||
var legendWidth = Math.floor(legendElem.outerWidth()) - 30;
|
|
||||||
var legendHeight = legendElem.attr("height");
|
var legendHeight = legendElem.attr("height");
|
||||||
|
var rangeStep = (rangeTo - rangeFrom) / (legendWidth / LEGEND_STEP_WIDTH); // width in pixels in legend space of unit segment in range space
|
||||||
var rangeStep = 1;
|
// rangeStep * witdhFactor == width in pixels of one rangeStep
|
||||||
if (rangeTo - rangeFrom > legendWidth) {
|
|
||||||
rangeStep = Math.floor((rangeTo - rangeFrom) / legendWidth);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (rangeStep * MIN_LEGEND_STEPS > rangeTo) {
|
|
||||||
rangeStep = rangeTo / MIN_LEGEND_STEPS;
|
|
||||||
}
|
|
||||||
|
|
||||||
var widthFactor = legendWidth / (rangeTo - rangeFrom);
|
var widthFactor = legendWidth / (rangeTo - rangeFrom);
|
||||||
var valuesRange = d3.range(rangeFrom, rangeTo, rangeStep);
|
var valuesRange = d3.range(rangeFrom, rangeTo, rangeStep);
|
||||||
|
|
||||||
var colorScale = getColorScale(colorScheme, maxValue, minValue);
|
var colorScale = getColorScale(colorScheme, maxValue, minValue);
|
||||||
legend.selectAll(".status-heatmap-color-legend-rect").data(valuesRange).enter().append("rect").attr("x", function (d) {
|
legend.selectAll(".status-heatmap-color-legend-rect").data(valuesRange).enter().append("rect") // translate from range space into pixels
|
||||||
return d * widthFactor;
|
// and shift all rectangles to the right by 10
|
||||||
}).attr("y", 0).attr("width", rangeStep * widthFactor + 1) // Overlap rectangles to prevent gaps
|
.attr("x", function (d) {
|
||||||
.attr("height", legendHeight).attr("stroke-width", 0).attr("fill", function (d) {
|
return (d - rangeFrom) * widthFactor + 10;
|
||||||
|
}).attr("y", 0) // rectangles are slightly overlaped to prevent gaps
|
||||||
|
.attr("width", LEGEND_STEP_WIDTH + 1).attr("height", legendHeight).attr("stroke-width", 0).attr("fill", function (d) {
|
||||||
return colorScale(d);
|
return colorScale(d);
|
||||||
});
|
});
|
||||||
|
|
||||||
drawLegendValues(elem, colorScale, rangeFrom, rangeTo, maxValue, minValue, legendWidth);
|
drawLegendValues(elem, colorScale, rangeFrom, rangeTo, maxValue, minValue, legendWidth);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -40,59 +33,53 @@ System.register(['angular', 'lodash', 'jquery', 'd3', './libs/d3-scale-chromatic
|
|||||||
var legendElem = $(elem).find('svg');
|
var legendElem = $(elem).find('svg');
|
||||||
var legend = d3.select(legendElem.get(0));
|
var legend = d3.select(legendElem.get(0));
|
||||||
clearLegend(elem);
|
clearLegend(elem);
|
||||||
|
var legendWidth = Math.floor(legendElem.outerWidth()) - 30; // narrow legendWidth by 30px to get space for first and last tick values
|
||||||
|
|
||||||
var legendWidth = Math.floor(legendElem.outerWidth()) - 30;
|
|
||||||
var legendHeight = legendElem.attr("height");
|
var legendHeight = legendElem.attr("height");
|
||||||
|
var rangeStep = (rangeTo - rangeFrom) / (legendWidth / LEGEND_STEP_WIDTH); // width in pixels in legend space of unit segment in range space
|
||||||
|
// rangeStep * witdhFactor == width in pixels of one rangeStep
|
||||||
|
|
||||||
var rangeStep = 10;
|
|
||||||
var widthFactor = legendWidth / (rangeTo - rangeFrom);
|
var widthFactor = legendWidth / (rangeTo - rangeFrom);
|
||||||
|
|
||||||
if (rangeStep * MIN_LEGEND_STEPS > rangeTo) {
|
|
||||||
rangeStep = rangeTo / MIN_LEGEND_STEPS;
|
|
||||||
}
|
|
||||||
|
|
||||||
var valuesRange = d3.range(rangeFrom, rangeTo, rangeStep);
|
var valuesRange = d3.range(rangeFrom, rangeTo, rangeStep);
|
||||||
|
|
||||||
var opacityScale = getOpacityScale(options, maxValue, minValue);
|
var opacityScale = getOpacityScale(options, maxValue, minValue);
|
||||||
legend.selectAll(".status-heatmap-opacity-legend-rect").data(valuesRange).enter().append("rect").attr("x", function (d) {
|
legend.selectAll(".status-heatmap-opacity-legend-rect").data(valuesRange).enter().append("rect") // translate from range space into pixels
|
||||||
return d * widthFactor;
|
// and shift all rectangles to the right by 10
|
||||||
}).attr("y", 0).attr("width", rangeStep * widthFactor).attr("height", legendHeight).attr("stroke-width", 0).attr("fill", options.cardColor).style("opacity", function (d) {
|
.attr("x", function (d) {
|
||||||
|
return d * widthFactor + 10;
|
||||||
|
}).attr("y", 0) // rectangles are slightly overlaped to prevent gaps
|
||||||
|
.attr("width", LEGEND_STEP_WIDTH + 1).attr("height", legendHeight).attr("stroke-width", 0).attr("fill", options.cardColor).style("opacity", function (d) {
|
||||||
return opacityScale(d);
|
return opacityScale(d);
|
||||||
});
|
});
|
||||||
|
|
||||||
drawLegendValues(elem, opacityScale, rangeFrom, rangeTo, maxValue, minValue, legendWidth);
|
drawLegendValues(elem, opacityScale, rangeFrom, rangeTo, maxValue, minValue, legendWidth);
|
||||||
}
|
}
|
||||||
|
|
||||||
function drawDiscreteColorLegend(elem, colorOptions, discreteHelper) {
|
function drawDiscreteColorLegend(elem, colorOptions, discreteExtraSeries) {
|
||||||
var legendElem = $(elem).find('svg');
|
var legendElem = $(elem).find('svg');
|
||||||
var legend = d3.select(legendElem.get(0));
|
var legend = d3.select(legendElem.get(0));
|
||||||
clearLegend(elem);
|
clearLegend(elem);
|
||||||
|
|
||||||
var thresholds = colorOptions.thresholds;
|
var thresholds = colorOptions.thresholds;
|
||||||
|
|
||||||
var tooltips = _.map(thresholds, function (tr) {
|
var tooltips = _.map(thresholds, function (tr) {
|
||||||
return tr.tooltip;
|
return tr.tooltip;
|
||||||
});
|
});
|
||||||
var valuesNumber = thresholds.length;
|
|
||||||
|
|
||||||
// graph width as a fallback
|
var valuesNumber = thresholds.length; // graph width as a fallback
|
||||||
var $heatmap = $(elem).parent().parent().parent().find('.status-heatmap-panel');
|
|
||||||
var graphWidth = $heatmap.find('svg').attr("width");
|
var $heatmap = $(elem).parent().parent().parent().find('.statusmap-panel');
|
||||||
|
var graphWidthAttr = $heatmap.find('svg').attr("width");
|
||||||
|
var graphWidth = parseInt(graphWidthAttr); // calculate max width of tooltip and use it as width for each item
|
||||||
|
|
||||||
// calculate max width of tooltip and use it as width for each item
|
|
||||||
var textWidth = [];
|
var textWidth = [];
|
||||||
legend.selectAll(".hidden-texts").data(tooltips).enter().append("text").attr("class", "axis tick").attr("font-family", "sans-serif").text(function (d) {
|
legend.selectAll(".hidden-texts").data(tooltips).enter().append("text").attr("class", "axis tick hidden-texts").attr("font-family", "sans-serif").text(function (d) {
|
||||||
return d;
|
return d;
|
||||||
}).each(function (d, i) {
|
}).each(function (d, i) {
|
||||||
var thisWidth = this.getBBox().width;
|
var thisWidth = this.getBBox().width;
|
||||||
textWidth.push(thisWidth);
|
textWidth.push(thisWidth);
|
||||||
this.remove(); // remove them just after displaying them
|
|
||||||
});
|
});
|
||||||
|
legend.selectAll(".hidden-texts").remove();
|
||||||
var legendWidth = Math.floor(_.min([graphWidth - 30, (_.max(textWidth) + 3) * valuesNumber]));
|
var legendWidth = Math.floor(_.min([graphWidth - 30, (_.max(textWidth) + 3) * valuesNumber]));
|
||||||
legendElem.attr("width", legendWidth);
|
legendElem.attr("width", legendWidth);
|
||||||
|
|
||||||
var legendHeight = legendElem.attr("height");
|
var legendHeight = legendElem.attr("height");
|
||||||
|
|
||||||
var itemWidth = Math.floor(legendWidth / valuesNumber);
|
var itemWidth = Math.floor(legendWidth / valuesNumber);
|
||||||
var valuesRange = d3.range(valuesNumber); // from 0 to valuesNumber-1
|
var valuesRange = d3.range(valuesNumber); // from 0 to valuesNumber-1
|
||||||
|
|
||||||
@@ -100,9 +87,8 @@ System.register(['angular', 'lodash', 'jquery', 'd3', './libs/d3-scale-chromatic
|
|||||||
return d * itemWidth;
|
return d * itemWidth;
|
||||||
}).attr("y", 0).attr("width", itemWidth + 1) // Overlap rectangles to prevent gaps
|
}).attr("y", 0).attr("width", itemWidth + 1) // Overlap rectangles to prevent gaps
|
||||||
.attr("height", legendHeight).attr("stroke-width", 0).attr("fill", function (d) {
|
.attr("height", legendHeight).attr("stroke-width", 0).attr("fill", function (d) {
|
||||||
return discreteHelper.getDiscreteColor(d);
|
return discreteExtraSeries.getDiscreteColor(d);
|
||||||
});
|
});
|
||||||
|
|
||||||
drawDiscreteLegendValues(elem, colorOptions, legendWidth);
|
drawDiscreteLegendValues(elem, colorOptions, legendWidth);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -114,23 +100,18 @@ System.register(['angular', 'lodash', 'jquery', 'd3', './libs/d3-scale-chromatic
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var legendValueScale = d3.scaleLinear().domain([0, rangeTo]).range([0, legendWidth]);
|
var legendValueScale = d3.scaleLinear().domain([rangeFrom, rangeTo]).range([0, legendWidth]);
|
||||||
|
var ticks = buildLegendTicks(rangeFrom, rangeTo, maxValue, minValue);
|
||||||
var ticks = buildLegendTicks(0, rangeTo, maxValue, minValue);
|
|
||||||
var xAxis = d3.axisBottom(legendValueScale).tickValues(ticks).tickSize(2);
|
var xAxis = d3.axisBottom(legendValueScale).tickValues(ticks).tickSize(2);
|
||||||
|
|
||||||
var colorRect = legendElem.find(":first-child");
|
var colorRect = legendElem.find(":first-child");
|
||||||
var posY = getSvgElemHeight(legendElem) + 2;
|
var posY = getSvgElemHeight(legendElem) + 2;
|
||||||
var posX = getSvgElemX(colorRect);
|
var posX = getSvgElemX(colorRect);
|
||||||
|
|
||||||
d3.select(legendElem.get(0)).append("g").attr("class", "axis").attr("transform", "translate(" + posX + "," + posY + ")").call(xAxis);
|
d3.select(legendElem.get(0)).append("g").attr("class", "axis").attr("transform", "translate(" + posX + "," + posY + ")").call(xAxis);
|
||||||
|
|
||||||
legend.select(".axis").select(".domain").remove();
|
legend.select(".axis").select(".domain").remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
function drawDiscreteLegendValues(elem, colorOptions, legendWidth) {
|
function drawDiscreteLegendValues(elem, colorOptions, legendWidth) {
|
||||||
var thresholds = colorOptions.thresholds;
|
var thresholds = colorOptions.thresholds;
|
||||||
|
|
||||||
var legendElem = $(elem).find('svg');
|
var legendElem = $(elem).find('svg');
|
||||||
var legend = d3.select(legendElem.get(0));
|
var legend = d3.select(legendElem.get(0));
|
||||||
|
|
||||||
@@ -139,13 +120,12 @@ System.register(['angular', 'lodash', 'jquery', 'd3', './libs/d3-scale-chromatic
|
|||||||
}
|
}
|
||||||
|
|
||||||
var valuesNumber = thresholds.length;
|
var valuesNumber = thresholds.length;
|
||||||
var rangeStep = Math.floor(legendWidth / valuesNumber);
|
var rangeStep = Math.floor(legendWidth / valuesNumber); //let valuesRange = d3.range(0, legendWidth, rangeStep);
|
||||||
var valuesRange = d3.range(0, legendWidth, rangeStep);
|
|
||||||
|
|
||||||
var legendValueScale = d3.scaleLinear().domain([0, valuesNumber]).range([0, legendWidth]);
|
var legendValueScale = d3.scaleLinear().domain([0, valuesNumber]).range([0, legendWidth]);
|
||||||
|
|
||||||
var thresholdValues = [];
|
var thresholdValues = [];
|
||||||
var thresholdTooltips = [];
|
var thresholdTooltips = [];
|
||||||
|
|
||||||
for (var i = 0; i < thresholds.length; i++) {
|
for (var i = 0; i < thresholds.length; i++) {
|
||||||
thresholdValues.push(thresholds[i].value);
|
thresholdValues.push(thresholds[i].value);
|
||||||
thresholdTooltips.push(thresholds[i].tooltip);
|
thresholdTooltips.push(thresholds[i].tooltip);
|
||||||
@@ -153,12 +133,14 @@ System.register(['angular', 'lodash', 'jquery', 'd3', './libs/d3-scale-chromatic
|
|||||||
|
|
||||||
var xAxis = d3.axisBottom(legendValueScale).tickValues(d3.range(0, valuesNumber, 1)) //thresholdValues)
|
var xAxis = d3.axisBottom(legendValueScale).tickValues(d3.range(0, valuesNumber, 1)) //thresholdValues)
|
||||||
.tickSize(2).tickFormat(function (t) {
|
.tickSize(2).tickFormat(function (t) {
|
||||||
var i = Math.floor(t);
|
var i = Math.floor(t.valueOf());
|
||||||
var v = thresholdTooltips[i];
|
var v = thresholdTooltips[i];
|
||||||
|
|
||||||
if (v != undefined) {
|
if (v != undefined) {
|
||||||
return "" + v;
|
return "" + v;
|
||||||
} else {
|
} else {
|
||||||
v = thresholdValues[i];
|
v = thresholdValues[i];
|
||||||
|
|
||||||
if (v != undefined) {
|
if (v != undefined) {
|
||||||
return "" + v;
|
return "" + v;
|
||||||
} else {
|
} else {
|
||||||
@@ -166,34 +148,25 @@ System.register(['angular', 'lodash', 'jquery', 'd3', './libs/d3-scale-chromatic
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
var colorRect = legendElem.find(":first-child");
|
var colorRect = legendElem.find(":first-child");
|
||||||
var posY = getSvgElemHeight(legendElem) + 2;
|
var posY = getSvgElemHeight(legendElem) + 2;
|
||||||
var posX = getSvgElemX(colorRect) + Math.floor(rangeStep / 2);
|
var posX = getSvgElemX(colorRect) + Math.floor(rangeStep / 2);
|
||||||
|
|
||||||
d3.select(legendElem.get(0)).append("g").attr("class", "axis").attr("transform", "translate(" + posX + "," + posY + ")").call(xAxis);
|
d3.select(legendElem.get(0)).append("g").attr("class", "axis").attr("transform", "translate(" + posX + "," + posY + ")").call(xAxis);
|
||||||
|
|
||||||
legend.select(".axis").select(".domain").remove();
|
legend.select(".axis").select(".domain").remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
function drawSimpleColorLegend(elem, colorScale) {
|
function drawSimpleColorLegend(elem, colorScale) {
|
||||||
var legendElem = $(elem).find('svg');
|
var legendElem = $(elem).find('svg');
|
||||||
|
var legend = d3.select(legendElem.get(0));
|
||||||
clearLegend(elem);
|
clearLegend(elem);
|
||||||
|
|
||||||
var legendWidth = Math.floor(legendElem.outerWidth());
|
var legendWidth = Math.floor(legendElem.outerWidth());
|
||||||
var legendHeight = legendElem.attr("height");
|
var legendHeight = legendElem.attr("height");
|
||||||
|
|
||||||
if (legendWidth) {
|
if (legendWidth) {
|
||||||
var valuesNumber = Math.floor(legendWidth / 2);
|
var valuesRange = d3.range(0, legendWidth, LEGEND_STEP_WIDTH);
|
||||||
var rangeStep = Math.floor(legendWidth / valuesNumber);
|
legend.selectAll(".status-heatmap-color-legend-rect").data(valuesRange).enter().append("rect").attr("x", function (d) {
|
||||||
var valuesRange = d3.range(0, legendWidth, rangeStep);
|
|
||||||
|
|
||||||
var legend = d3.select(legendElem.get(0));
|
|
||||||
var legendRects = legend.selectAll(".status-heatmap-color-legend-rect").data(valuesRange);
|
|
||||||
|
|
||||||
legendRects.enter().append("rect").attr("x", function (d) {
|
|
||||||
return d;
|
return d;
|
||||||
}).attr("y", 0).attr("width", rangeStep + 1) // Overlap rectangles to prevent gaps
|
}).attr("y", 0).attr("width", LEGEND_STEP_WIDTH + 1) // Overlap rectangles to prevent gaps
|
||||||
.attr("height", legendHeight).attr("stroke-width", 0).attr("fill", function (d) {
|
.attr("height", legendHeight).attr("stroke-width", 0).attr("fill", function (d) {
|
||||||
return colorScale(d);
|
return colorScale(d);
|
||||||
});
|
});
|
||||||
@@ -202,28 +175,24 @@ System.register(['angular', 'lodash', 'jquery', 'd3', './libs/d3-scale-chromatic
|
|||||||
|
|
||||||
function drawSimpleOpacityLegend(elem, options) {
|
function drawSimpleOpacityLegend(elem, options) {
|
||||||
var legendElem = $(elem).find('svg');
|
var legendElem = $(elem).find('svg');
|
||||||
var graphElem = $(elem);
|
|
||||||
clearLegend(elem);
|
|
||||||
|
|
||||||
var legend = d3.select(legendElem.get(0));
|
var legend = d3.select(legendElem.get(0));
|
||||||
|
clearLegend(elem);
|
||||||
var legendWidth = Math.floor(legendElem.outerWidth());
|
var legendWidth = Math.floor(legendElem.outerWidth());
|
||||||
var legendHeight = legendElem.attr("height");
|
var legendHeight = legendElem.attr("height");
|
||||||
|
|
||||||
if (legendWidth) {
|
if (legendWidth) {
|
||||||
var legendOpacityScale = void 0;
|
var legendOpacityScale;
|
||||||
|
|
||||||
if (options.colorScale === 'linear') {
|
if (options.colorScale === 'linear') {
|
||||||
legendOpacityScale = d3.scaleLinear().domain([0, legendWidth]).range([0, 1]);
|
legendOpacityScale = d3.scaleLinear().domain([0, legendWidth]).range([0, 1]);
|
||||||
} else if (options.colorScale === 'sqrt') {
|
} else if (options.colorScale === 'sqrt') {
|
||||||
legendOpacityScale = d3.scalePow().exponent(options.exponent).domain([0, legendWidth]).range([0, 1]);
|
legendOpacityScale = d3.scalePow().exponent(options.exponent).domain([0, legendWidth]).range([0, 1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
var rangeStep = 10;
|
var valuesRange = d3.range(0, legendWidth, LEGEND_STEP_WIDTH);
|
||||||
var valuesRange = d3.range(0, legendWidth, rangeStep);
|
legend.selectAll(".status-heatmap-opacity-legend-rect").data(valuesRange).enter().append("rect").attr("x", function (d) {
|
||||||
var legendRects = legend.selectAll(".status-heatmap-opacity-legend-rect").data(valuesRange);
|
|
||||||
|
|
||||||
legendRects.enter().append("rect").attr("x", function (d) {
|
|
||||||
return d;
|
return d;
|
||||||
}).attr("y", 0).attr("width", rangeStep).attr("height", legendHeight).attr("stroke-width", 0).attr("fill", options.cardColor).style("opacity", function (d) {
|
}).attr("y", 0).attr("width", LEGEND_STEP_WIDTH + 1).attr("height", legendHeight).attr("stroke-width", 0).attr("fill", options.cardColor).style("opacity", function (d) {
|
||||||
return legendOpacityScale(d);
|
return legendOpacityScale(d);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -236,30 +205,29 @@ System.register(['angular', 'lodash', 'jquery', 'd3', './libs/d3-scale-chromatic
|
|||||||
|
|
||||||
function getColorScale(colorScheme, maxValue) {
|
function getColorScale(colorScheme, maxValue) {
|
||||||
var minValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
|
var minValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
|
||||||
|
|
||||||
var colorInterpolator = d3ScaleChromatic[colorScheme.value];
|
var colorInterpolator = d3ScaleChromatic[colorScheme.value];
|
||||||
var colorScaleInverted = colorScheme.invert === 'always' || colorScheme.invert === 'dark' && !contextSrv.user.lightTheme;
|
var colorScaleInverted = colorScheme.invert === 'always' || colorScheme.invert === 'dark' && !contextSrv.user.lightTheme;
|
||||||
|
|
||||||
var start = colorScaleInverted ? maxValue : minValue;
|
var start = colorScaleInverted ? maxValue : minValue;
|
||||||
var end = colorScaleInverted ? minValue : maxValue;
|
var end = colorScaleInverted ? minValue : maxValue;
|
||||||
|
|
||||||
return d3.scaleSequential(colorInterpolator).domain([start, end]);
|
return d3.scaleSequential(colorInterpolator).domain([start, end]);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getOpacityScale(options, maxValue) {
|
function getOpacityScale(options, maxValue) {
|
||||||
var minValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
|
var minValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
|
||||||
|
var legendOpacityScale;
|
||||||
|
|
||||||
var legendOpacityScale = void 0;
|
|
||||||
if (options.colorScale === 'linear') {
|
if (options.colorScale === 'linear') {
|
||||||
legendOpacityScale = d3.scaleLinear().domain([minValue, maxValue]).range([0, 1]);
|
legendOpacityScale = d3.scaleLinear().domain([minValue, maxValue]).range([0, 1]);
|
||||||
} else if (options.colorScale === 'sqrt') {
|
} else if (options.colorScale === 'sqrt') {
|
||||||
legendOpacityScale = d3.scalePow().exponent(options.exponent).domain([minValue, maxValue]).range([0, 1]);
|
legendOpacityScale = d3.scalePow().exponent(options.exponent).domain([minValue, maxValue]).range([0, 1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return legendOpacityScale;
|
return legendOpacityScale;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getSvgElemX(elem) {
|
function getSvgElemX(elem) {
|
||||||
var svgElem = elem.get(0);
|
var svgElem = elem.get(0);
|
||||||
|
|
||||||
if (svgElem && svgElem.x && svgElem.x.baseVal) {
|
if (svgElem && svgElem.x && svgElem.x.baseVal) {
|
||||||
return svgElem.x.baseVal.value;
|
return svgElem.x.baseVal.value;
|
||||||
} else {
|
} else {
|
||||||
@@ -269,6 +237,7 @@ System.register(['angular', 'lodash', 'jquery', 'd3', './libs/d3-scale-chromatic
|
|||||||
|
|
||||||
function getSvgElemHeight(elem) {
|
function getSvgElemHeight(elem) {
|
||||||
var svgElem = elem.get(0);
|
var svgElem = elem.get(0);
|
||||||
|
|
||||||
if (svgElem && svgElem.height && svgElem.height.baseVal) {
|
if (svgElem && svgElem.height && svgElem.height.baseVal) {
|
||||||
return svgElem.height.baseVal.value;
|
return svgElem.height.baseVal.value;
|
||||||
} else {
|
} else {
|
||||||
@@ -283,25 +252,29 @@ System.register(['angular', 'lodash', 'jquery', 'd3', './libs/d3-scale-chromatic
|
|||||||
var ticks = [];
|
var ticks = [];
|
||||||
|
|
||||||
for (var i = 0; i < ticksNum; i++) {
|
for (var i = 0; i < ticksNum; i++) {
|
||||||
var current = tickStepSize * i;
|
var current = tickStepSize * i + rangeFrom; // Add user-defined min and max if it had been set
|
||||||
// Add user-defined min and max if it had been set
|
|
||||||
if (isValueCloseTo(minValue, current, tickStepSize)) {
|
if (isValueCloseTo(minValue, current, tickStepSize)) {
|
||||||
ticks.push(minValue);
|
ticks.push(minValue);
|
||||||
continue;
|
continue;
|
||||||
} else if (minValue < current) {
|
} else if (minValue < current) {
|
||||||
ticks.push(minValue);
|
ticks.push(minValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isValueCloseTo(maxValue, current, tickStepSize)) {
|
if (isValueCloseTo(maxValue, current, tickStepSize)) {
|
||||||
ticks.push(maxValue);
|
ticks.push(maxValue);
|
||||||
continue;
|
continue;
|
||||||
} else if (maxValue < current) {
|
} else if (maxValue < current) {
|
||||||
ticks.push(maxValue);
|
ticks.push(maxValue);
|
||||||
}
|
}
|
||||||
ticks.push(tickStepSize * i);
|
|
||||||
|
ticks.push(current);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isValueCloseTo(maxValue, rangeTo, tickStepSize)) {
|
if (!isValueCloseTo(maxValue, rangeTo, tickStepSize)) {
|
||||||
ticks.push(maxValue);
|
ticks.push(maxValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
ticks.push(rangeTo);
|
ticks.push(rangeTo);
|
||||||
ticks = _.sortBy(_.uniq(ticks));
|
ticks = _.sortBy(_.uniq(ticks));
|
||||||
return ticks;
|
return ticks;
|
||||||
@@ -311,10 +284,9 @@ System.register(['angular', 'lodash', 'jquery', 'd3', './libs/d3-scale-chromatic
|
|||||||
var diff = Math.abs(val - valueTo);
|
var diff = Math.abs(val - valueTo);
|
||||||
return diff < step * 0.3;
|
return diff < step * 0.3;
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
setters: [function (_angular) {
|
setters: [function (_lodash) {
|
||||||
angular = _angular.default;
|
|
||||||
}, function (_lodash) {
|
|
||||||
_ = _lodash.default;
|
_ = _lodash.default;
|
||||||
}, function (_jquery) {
|
}, function (_jquery) {
|
||||||
$ = _jquery.default;
|
$ = _jquery.default;
|
||||||
@@ -326,26 +298,26 @@ System.register(['angular', 'lodash', 'jquery', 'd3', './libs/d3-scale-chromatic
|
|||||||
contextSrv = _appCoreCore.contextSrv;
|
contextSrv = _appCoreCore.contextSrv;
|
||||||
}, function (_appCoreUtilsTicks) {
|
}, function (_appCoreUtilsTicks) {
|
||||||
tickStep = _appCoreUtilsTicks.tickStep;
|
tickStep = _appCoreUtilsTicks.tickStep;
|
||||||
|
}, function (_appCoreCore_module) {
|
||||||
|
coreModule = _appCoreCore_module.default;
|
||||||
|
}, function (_libsGrafanaEventsIndex) {
|
||||||
|
PanelEvents = _libsGrafanaEventsIndex.PanelEvents;
|
||||||
}],
|
}],
|
||||||
execute: function () {
|
execute: function () {
|
||||||
mod = angular.module('grafana.directives');
|
LEGEND_STEP_WIDTH = 2;
|
||||||
MIN_LEGEND_STEPS = 10;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Color legend for heatmap editor.
|
* Bigger color legend for opacity and spectrum modes editor.
|
||||||
*/
|
*/
|
||||||
mod.directive('optionsColorLegend', function () {
|
|
||||||
|
coreModule.directive('optionsColorLegend', function () {
|
||||||
return {
|
return {
|
||||||
restrict: 'E',
|
restrict: 'E',
|
||||||
template: '<div class="status-heatmap-color-legend"><svg width="16.8rem" height="24px"></svg></div>',
|
template: '<div class="status-heatmap-color-legend"><svg width="16.8rem" height="24px"></svg></div>',
|
||||||
link: function link(scope, elem, attrs) {
|
link: function link(scope, elem, attrs) {
|
||||||
var ctrl = scope.ctrl;
|
var ctrl = scope.ctrl;
|
||||||
var panel = scope.ctrl.panel;
|
var panel = scope.ctrl.panel;
|
||||||
|
|
||||||
render();
|
render();
|
||||||
|
ctrl.events.on(PanelEvents.render, function () {
|
||||||
ctrl.events.on('render', function () {
|
|
||||||
render();
|
render();
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -354,7 +326,10 @@ System.register(['angular', 'lodash', 'jquery', 'd3', './libs/d3-scale-chromatic
|
|||||||
var legendWidth = Math.floor(legendElem.outerWidth());
|
var legendWidth = Math.floor(legendElem.outerWidth());
|
||||||
|
|
||||||
if (panel.color.mode === 'spectrum') {
|
if (panel.color.mode === 'spectrum') {
|
||||||
var colorScheme = _.find(ctrl.colorSchemes, { value: panel.color.colorScheme });
|
var colorScheme = _.find(ctrl.colorSchemes, {
|
||||||
|
value: panel.color.colorScheme
|
||||||
|
});
|
||||||
|
|
||||||
var colorScale = getColorScale(colorScheme, legendWidth);
|
var colorScale = getColorScale(colorScheme, legendWidth);
|
||||||
drawSimpleColorLegend(elem, colorScale);
|
drawSimpleColorLegend(elem, colorScale);
|
||||||
} else if (panel.color.mode === 'opacity') {
|
} else if (panel.color.mode === 'opacity') {
|
||||||
@@ -365,40 +340,61 @@ System.register(['angular', 'lodash', 'jquery', 'd3', './libs/d3-scale-chromatic
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Heatmap legend with scale values.
|
* Graph legend with values.
|
||||||
*/
|
*/
|
||||||
mod.directive('statusHeatmapLegend', function () {
|
|
||||||
|
coreModule.directive('statusHeatmapLegend', function () {
|
||||||
return {
|
return {
|
||||||
restrict: 'E',
|
restrict: 'E',
|
||||||
template: '<div class="status-heatmap-color-legend"><svg width="100px" height="6px"></svg></div>',
|
template: '<div class="status-heatmap-color-legend"><svg width="100px" height="6px"></svg></div>',
|
||||||
link: function link(scope, elem, attrs) {
|
link: function link(scope, elem, attrs) {
|
||||||
var ctrl = scope.ctrl;
|
var ctrl = scope.ctrl;
|
||||||
var panel = scope.ctrl.panel;
|
var panel = scope.ctrl.panel;
|
||||||
|
|
||||||
render();
|
render();
|
||||||
ctrl.events.on('render', function () {
|
ctrl.events.on(PanelEvents.render, function () {
|
||||||
render();
|
render();
|
||||||
});
|
});
|
||||||
|
|
||||||
function render() {
|
function render() {
|
||||||
clearLegend(elem);
|
clearLegend(elem);
|
||||||
if (!_.isEmpty(ctrl.cardsData) && !_.isEmpty(ctrl.cardsData.cards)) {
|
|
||||||
var rangeFrom = ctrl.cardsData.minValue;
|
if (!ctrl.panel.legend.show) {
|
||||||
var rangeTo = ctrl.cardsData.maxValue;
|
return;
|
||||||
var maxValue = panel.color.max || rangeTo;
|
}
|
||||||
var minValue = panel.color.min || rangeFrom;
|
|
||||||
|
if (ctrl.bucketMatrix) {
|
||||||
|
var rangeFrom = ctrl.bucketMatrix.minValue;
|
||||||
|
var rangeTo = ctrl.bucketMatrix.maxValue;
|
||||||
|
var maxValue = panel.color.max != null ? panel.color.max : rangeTo;
|
||||||
|
var minValue = panel.color.min != null ? panel.color.min : rangeFrom;
|
||||||
|
|
||||||
|
if (ctrl.bucketMatrix.noDatapoints) {
|
||||||
|
if (panel.color.max != null) {
|
||||||
|
rangeTo = maxValue = 100;
|
||||||
|
} else {
|
||||||
|
rangeTo = 100;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (panel.color.min != null) {
|
||||||
|
rangeFrom = minValue = 0;
|
||||||
|
} else {
|
||||||
|
rangeFrom = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (panel.color.mode === 'spectrum') {
|
if (panel.color.mode === 'spectrum') {
|
||||||
var colorScheme = _.find(ctrl.colorSchemes, { value: panel.color.colorScheme });
|
var colorScheme = _.find(ctrl.colorSchemes, {
|
||||||
|
value: panel.color.colorScheme
|
||||||
|
});
|
||||||
|
|
||||||
drawColorLegend(elem, colorScheme, rangeFrom, rangeTo, maxValue, minValue);
|
drawColorLegend(elem, colorScheme, rangeFrom, rangeTo, maxValue, minValue);
|
||||||
} else if (panel.color.mode === 'opacity') {
|
} else if (panel.color.mode === 'opacity') {
|
||||||
var colorOptions = panel.color;
|
var colorOptions = panel.color;
|
||||||
drawOpacityLegend(elem, colorOptions, rangeFrom, rangeTo, maxValue, minValue);
|
drawOpacityLegend(elem, colorOptions, rangeFrom, rangeTo, maxValue, minValue);
|
||||||
} else if (panel.color.mode === 'discrete') {
|
} else if (panel.color.mode === 'discrete') {
|
||||||
var _colorOptions = panel.color;
|
var _colorOptions = panel.color;
|
||||||
drawDiscreteColorLegend(elem, _colorOptions, ctrl.discreteHelper);
|
drawDiscreteColorLegend(elem, _colorOptions, ctrl.discreteExtraSeries);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,49 +1,38 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
System.register(["lodash"], function (_export, _context) {
|
System.register([], function (_export, _context) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var _, _createClass, ColorModeDiscrete;
|
var ColorModeDiscrete;
|
||||||
|
|
||||||
function _classCallCheck(instance, Constructor) {
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||||
if (!(instance instanceof Constructor)) {
|
|
||||||
throw new TypeError("Cannot call a class as a function");
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
||||||
}
|
|
||||||
}
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||||
|
|
||||||
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||||
|
|
||||||
return {
|
return {
|
||||||
setters: [function (_lodash) {
|
setters: [],
|
||||||
_ = _lodash.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
execute: function () {
|
||||||
_createClass = function () {
|
// Extra Series methods to handle discrete color mode
|
||||||
function defineProperties(target, props) {
|
_export("ColorModeDiscrete", ColorModeDiscrete =
|
||||||
for (var i = 0; i < props.length; i++) {
|
/*#__PURE__*/
|
||||||
var descriptor = props[i];
|
function () {
|
||||||
descriptor.enumerable = descriptor.enumerable || false;
|
|
||||||
descriptor.configurable = true;
|
|
||||||
if ("value" in descriptor) descriptor.writable = true;
|
|
||||||
Object.defineProperty(target, descriptor.key, descriptor);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return function (Constructor, protoProps, staticProps) {
|
|
||||||
if (protoProps) defineProperties(Constructor.prototype, protoProps);
|
|
||||||
if (staticProps) defineProperties(Constructor, staticProps);
|
|
||||||
return Constructor;
|
|
||||||
};
|
|
||||||
}();
|
|
||||||
|
|
||||||
_export("ColorModeDiscrete", ColorModeDiscrete = function () {
|
|
||||||
function ColorModeDiscrete(scope) {
|
function ColorModeDiscrete(scope) {
|
||||||
_classCallCheck(this, ColorModeDiscrete);
|
_classCallCheck(this, ColorModeDiscrete);
|
||||||
|
|
||||||
|
_defineProperty(this, "scope", void 0);
|
||||||
|
|
||||||
|
_defineProperty(this, "panelCtrl", void 0);
|
||||||
|
|
||||||
|
_defineProperty(this, "panel", void 0);
|
||||||
|
|
||||||
this.scope = scope;
|
this.scope = scope;
|
||||||
this.panelCtrl = scope.ctrl;
|
this.panelCtrl = scope.ctrl;
|
||||||
this.panel = scope.ctrl.panel;
|
this.panel = scope.ctrl.panel;
|
||||||
}
|
} // get tooltip for each value ordered by thresholds priority
|
||||||
|
|
||||||
// get tooltip for each value ordered by thresholds priority
|
|
||||||
|
|
||||||
|
|
||||||
_createClass(ColorModeDiscrete, [{
|
_createClass(ColorModeDiscrete, [{
|
||||||
@@ -62,80 +51,180 @@ System.register(["lodash"], function (_export, _context) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return tooltips;
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "convertValueToTooltips",
|
||||||
|
value: function convertValueToTooltips(values) {
|
||||||
|
var thresholds = this.panel.color.thresholds;
|
||||||
|
var tooltips = [];
|
||||||
|
|
||||||
|
for (var i = 0; i < thresholds.length; i++) {
|
||||||
|
//for (let j = 0; j < values.length; j++) {
|
||||||
|
if (values == thresholds[i].value) {
|
||||||
|
tooltips.push({
|
||||||
|
"tooltip": thresholds[i].tooltip ? thresholds[i].tooltip : values,
|
||||||
|
"color": thresholds[i].color
|
||||||
|
}); //}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return tooltips;
|
return tooltips;
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
key: "getNotMatchedValues",
|
key: "getNotMatchedValues",
|
||||||
value: function getNotMatchedValues(values) {
|
value: function getNotMatchedValues(values) {
|
||||||
var notMatched = [];
|
var notMatched = [];
|
||||||
|
|
||||||
for (var j = 0; j < values.length; j++) {
|
for (var j = 0; j < values.length; j++) {
|
||||||
if (!this.getMatchedThreshold(values[j])) {
|
if (!this.getMatchedThreshold(values[j])) {
|
||||||
notMatched.push(values[j]);
|
notMatched.push(values[j]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return notMatched;
|
return notMatched;
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
key: "getNotColoredValues",
|
key: "getNotColoredValues",
|
||||||
value: function getNotColoredValues(values) {
|
value: function getNotColoredValues(values) {
|
||||||
var notMatched = [];
|
var notMatched = [];
|
||||||
|
|
||||||
for (var j = 0; j < values.length; j++) {
|
for (var j = 0; j < values.length; j++) {
|
||||||
var threshold = this.getMatchedThreshold(values[j]);
|
var threshold = this.getMatchedThreshold(values[j]);
|
||||||
|
|
||||||
if (!threshold || !threshold.color || threshold.color == "") {
|
if (!threshold || !threshold.color || threshold.color == "") {
|
||||||
notMatched.push(values[j]);
|
notMatched.push(values[j]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return notMatched;
|
return notMatched;
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
key: "getDiscreteColor",
|
key: "getDiscreteColor",
|
||||||
value: function getDiscreteColor(index) {
|
value: function getDiscreteColor(index) {
|
||||||
var color = this.getThreshold(index).color;
|
var color = this.getThreshold(index).color;
|
||||||
|
|
||||||
if (!color || color == "") {
|
if (!color || color == "") {
|
||||||
return 'rgba(0,0,0,1)';
|
return 'rgba(0,0,0,1)';
|
||||||
}
|
}
|
||||||
|
|
||||||
return color;
|
return color;
|
||||||
}
|
}
|
||||||
|
}, {
|
||||||
|
key: "getBucketColorSingle",
|
||||||
|
value: function getBucketColorSingle(value) {
|
||||||
|
//let thresholds = this.panel.color.thresholds;
|
||||||
|
if (value == null) {
|
||||||
|
// treat as null value
|
||||||
|
return 'rgba(0,0,0,1)'; //return this.getMatchedThreshold(null).color;
|
||||||
|
}
|
||||||
|
|
||||||
|
var threshold = this.getMatchedThreshold(value);
|
||||||
|
|
||||||
|
if (!threshold || !threshold.color || threshold.color == "") {
|
||||||
|
return 'rgba(0,0,0,1)';
|
||||||
|
} else {
|
||||||
|
return threshold.color;
|
||||||
|
}
|
||||||
|
} // returns color from first matched thresold in order from 0 to thresholds.length
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
key: "getBucketColor",
|
key: "getBucketColor",
|
||||||
value: function getBucketColor(values) {
|
value: function getBucketColor(values) {
|
||||||
var thresholds = this.panel.color.thresholds;
|
var thresholds = this.panel.color.thresholds;
|
||||||
|
|
||||||
for (var i = 0; i < thresholds.length; i++) {
|
if (!values || values.length == 0) {
|
||||||
|
// treat as null value
|
||||||
|
return this.getMatchedThreshold(null).color;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (values.length == 1) {
|
||||||
|
var threshold = this.getMatchedThreshold(values[0]);
|
||||||
|
|
||||||
|
if (!threshold || !threshold.color || threshold.color == "") {
|
||||||
|
return 'rgba(0,0,0,1)';
|
||||||
|
} else {
|
||||||
|
return threshold.color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
var isAllValuesNulls = true;
|
||||||
|
|
||||||
for (var j = 0; j < values.length; j++) {
|
for (var j = 0; j < values.length; j++) {
|
||||||
if (values[j] == thresholds[i].value) {
|
if (values[j] != null) {
|
||||||
|
isAllValuesNulls = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isAllValuesNulls) {
|
||||||
|
return this.getMatchedThreshold(null).color;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (var i = 0; i < thresholds.length; i++) {
|
||||||
|
for (var _j = 0; _j < values.length; _j++) {
|
||||||
|
if (values[_j] == thresholds[i].value) {
|
||||||
return this.getDiscreteColor(i);
|
return this.getDiscreteColor(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return 'rgba(0,0,0,1)';
|
return 'rgba(0,0,0,1)';
|
||||||
}
|
}
|
||||||
|
}, {
|
||||||
|
key: "updateCardsValuesHasColorInfoSingle",
|
||||||
|
value: function updateCardsValuesHasColorInfoSingle() {
|
||||||
|
var _this = this;
|
||||||
|
|
||||||
|
if (!this.panelCtrl.bucketMatrix) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
this.panelCtrl.bucketMatrix.noColorDefined = false;
|
||||||
|
this.panelCtrl.bucketMatrix.targets.map(function (target) {
|
||||||
|
_this.panelCtrl.bucketMatrix.buckets[target].map(function (bucket) {
|
||||||
|
bucket.noColorDefined = false;
|
||||||
|
|
||||||
|
var threshold = _this.getMatchedThreshold(bucket.value);
|
||||||
|
|
||||||
|
if (!threshold || !threshold.color || threshold.color == "") {
|
||||||
|
bucket.noColorDefined = true;
|
||||||
|
_this.panelCtrl.bucketMatrix.noColorDefined = true;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
}, {
|
}, {
|
||||||
key: "updateCardsValuesHasColorInfo",
|
key: "updateCardsValuesHasColorInfo",
|
||||||
value: function updateCardsValuesHasColorInfo() {
|
value: function updateCardsValuesHasColorInfo() {
|
||||||
if (!this.panelCtrl.cardsData) {
|
var _this2 = this;
|
||||||
|
|
||||||
|
if (!this.panelCtrl.bucketMatrix) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.panelCtrl.cardsData.noColorDefined = false;
|
|
||||||
var cards = this.panelCtrl.cardsData.cards;
|
this.panelCtrl.bucketMatrix.noColorDefined = false;
|
||||||
for (var i = 0; i < cards.length; i++) {
|
this.panelCtrl.bucketMatrix.targets.map(function (target) {
|
||||||
cards[i].noColorDefined = false;
|
_this2.panelCtrl.bucketMatrix.buckets[target].map(function (bucket) {
|
||||||
var values = cards[i].values;
|
bucket.noColorDefined = false;
|
||||||
for (var j = 0; j < values.length; j++) {
|
|
||||||
var threshold = this.getMatchedThreshold(values[j]);
|
for (var j = 0; j < bucket.values.length; j++) {
|
||||||
|
var threshold = _this2.getMatchedThreshold(bucket.values[j]);
|
||||||
|
|
||||||
if (!threshold || !threshold.color || threshold.color == "") {
|
if (!threshold || !threshold.color || threshold.color == "") {
|
||||||
cards[i].noColorDefined = true;
|
bucket.noColorDefined = true;
|
||||||
this.panelCtrl.cardsData.noColorDefined = true;
|
_this2.panelCtrl.bucketMatrix.noColorDefined = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
});
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
key: "getMatchedThreshold",
|
key: "getMatchedThreshold",
|
||||||
value: function getMatchedThreshold(value) {
|
value: function getMatchedThreshold(value) {
|
||||||
if (value == null) {
|
if (value == null) {
|
||||||
if (this.panel.color.nullPointMode == 'as empty') {
|
if (this.panel.nullPointMode == 'as empty') {
|
||||||
// FIXME: make this explicit for user
|
// FIXME: make this explicit for user
|
||||||
// Right now this color never used because null as empty handles in getCardOpacity method.
|
// Right now this color never used because null as empty handles in getCardOpacity method.
|
||||||
return {
|
return {
|
||||||
@@ -149,17 +238,20 @@ System.register(["lodash"], function (_export, _context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var thresholds = this.panel.color.thresholds;
|
var thresholds = this.panel.color.thresholds;
|
||||||
|
|
||||||
for (var k = 0; k < thresholds.length; k++) {
|
for (var k = 0; k < thresholds.length; k++) {
|
||||||
if (value == thresholds[k].value) {
|
if (value == thresholds[k].value) {
|
||||||
return thresholds[k];
|
return thresholds[k];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
key: "getThreshold",
|
key: "getThreshold",
|
||||||
value: function getThreshold(index) {
|
value: function getThreshold(index) {
|
||||||
var thresholds = this.panel.color.thresholds;
|
var thresholds = this.panel.color.thresholds;
|
||||||
|
|
||||||
if (index < 0 || index >= thresholds.length == null) {
|
if (index < 0 || index >= thresholds.length == null) {
|
||||||
return {
|
return {
|
||||||
"color": "rgba(0,0,0,0)",
|
"color": "rgba(0,0,0,0)",
|
||||||
@@ -167,6 +259,7 @@ System.register(["lodash"], function (_export, _context) {
|
|||||||
"tooltip": "null"
|
"tooltip": "null"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
return thresholds[index];
|
return thresholds[index];
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
@@ -174,71 +267,126 @@ System.register(["lodash"], function (_export, _context) {
|
|||||||
value: function roundIntervalCeil(interval) {
|
value: function roundIntervalCeil(interval) {
|
||||||
switch (true) {
|
switch (true) {
|
||||||
case interval <= 10:
|
case interval <= 10:
|
||||||
return 10; // 0.01s
|
return 10;
|
||||||
|
// 0.01s
|
||||||
|
|
||||||
case interval <= 20:
|
case interval <= 20:
|
||||||
return 20; // 0.02s
|
return 20;
|
||||||
|
// 0.02s
|
||||||
|
|
||||||
case interval <= 50:
|
case interval <= 50:
|
||||||
return 50; // 0.05s
|
return 50;
|
||||||
|
// 0.05s
|
||||||
|
|
||||||
case interval <= 100:
|
case interval <= 100:
|
||||||
return 100; // 0.1s
|
return 100;
|
||||||
|
// 0.1s
|
||||||
|
|
||||||
case interval <= 200:
|
case interval <= 200:
|
||||||
return 200; // 0.2s
|
return 200;
|
||||||
|
// 0.2s
|
||||||
|
|
||||||
case interval <= 500:
|
case interval <= 500:
|
||||||
return 500; // 0.5s
|
return 500;
|
||||||
|
// 0.5s
|
||||||
|
|
||||||
case interval <= 1000:
|
case interval <= 1000:
|
||||||
return 1000; // 1s
|
return 1000;
|
||||||
|
// 1s
|
||||||
|
|
||||||
case interval <= 2000:
|
case interval <= 2000:
|
||||||
return 2000; // 2s
|
return 2000;
|
||||||
|
// 2s
|
||||||
|
|
||||||
case interval <= 5000:
|
case interval <= 5000:
|
||||||
return 5000; // 5s
|
return 5000;
|
||||||
|
// 5s
|
||||||
|
|
||||||
case interval <= 10000:
|
case interval <= 10000:
|
||||||
return 10000; // 10s
|
return 10000;
|
||||||
|
// 10s
|
||||||
|
|
||||||
case interval <= 15000:
|
case interval <= 15000:
|
||||||
return 15000; // 15s
|
return 15000;
|
||||||
|
// 15s
|
||||||
|
|
||||||
case interval <= 20000:
|
case interval <= 20000:
|
||||||
return 20000; // 20s
|
return 20000;
|
||||||
|
// 20s
|
||||||
|
|
||||||
case interval <= 30000:
|
case interval <= 30000:
|
||||||
return 30000; // 30s
|
return 30000;
|
||||||
|
// 30s
|
||||||
|
|
||||||
case interval <= 60000:
|
case interval <= 60000:
|
||||||
return 60000; // 1m
|
return 60000;
|
||||||
|
// 1m
|
||||||
|
|
||||||
case interval <= 120000:
|
case interval <= 120000:
|
||||||
return 120000; // 2m
|
return 120000;
|
||||||
|
// 2m
|
||||||
|
|
||||||
case interval <= 300000:
|
case interval <= 300000:
|
||||||
return 300000; // 5m
|
return 300000;
|
||||||
|
// 5m
|
||||||
|
|
||||||
case interval <= 600000:
|
case interval <= 600000:
|
||||||
return 600000; // 10m
|
return 600000;
|
||||||
|
// 10m
|
||||||
|
|
||||||
case interval <= 900000:
|
case interval <= 900000:
|
||||||
return 900000; // 15m
|
return 900000;
|
||||||
|
// 15m
|
||||||
|
|
||||||
case interval <= 1200000:
|
case interval <= 1200000:
|
||||||
return 1200000; // 20m
|
return 1200000;
|
||||||
|
// 20m
|
||||||
|
|
||||||
case interval <= 1800000:
|
case interval <= 1800000:
|
||||||
return 1800000; // 30m
|
return 1800000;
|
||||||
|
// 30m
|
||||||
|
|
||||||
case interval <= 3600000:
|
case interval <= 3600000:
|
||||||
return 3600000; // 1h
|
return 3600000;
|
||||||
|
// 1h
|
||||||
|
|
||||||
case interval <= 7200000:
|
case interval <= 7200000:
|
||||||
return 7200000; // 2h
|
return 7200000;
|
||||||
|
// 2h
|
||||||
|
|
||||||
case interval <= 10800000:
|
case interval <= 10800000:
|
||||||
return 10800000; // 3h
|
return 10800000;
|
||||||
|
// 3h
|
||||||
|
|
||||||
case interval <= 21600000:
|
case interval <= 21600000:
|
||||||
return 21600000; // 6h
|
return 21600000;
|
||||||
|
// 6h
|
||||||
|
|
||||||
case interval <= 43200000:
|
case interval <= 43200000:
|
||||||
return 43200000; // 12h
|
return 43200000;
|
||||||
|
// 12h
|
||||||
|
|
||||||
case interval <= 86400000:
|
case interval <= 86400000:
|
||||||
return 86400000; // 1d
|
return 86400000;
|
||||||
|
// 1d
|
||||||
|
|
||||||
case interval <= 604800000:
|
case interval <= 604800000:
|
||||||
return 604800000; // 1w
|
return 604800000;
|
||||||
|
// 1w
|
||||||
|
|
||||||
case interval <= 2592000000:
|
case interval <= 2592000000:
|
||||||
return 2592000000; // 30d
|
return 2592000000;
|
||||||
|
// 30d
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return 31536000000; // 1y
|
return 31536000000;
|
||||||
|
// 1y
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
return ColorModeDiscrete;
|
return ColorModeDiscrete;
|
||||||
}());
|
}());
|
||||||
|
|
||||||
_export("ColorModeDiscrete", ColorModeDiscrete);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,60 +0,0 @@
|
|||||||
.status-heatmap-canvas-wrapper {
|
|
||||||
cursor: crosshair; }
|
|
||||||
.status-heatmap-canvas-wrapper .datapoints-warning span {
|
|
||||||
background-color: white;
|
|
||||||
padding: 1px; }
|
|
||||||
|
|
||||||
.status-heatmap-panel {
|
|
||||||
position: relative; }
|
|
||||||
.status-heatmap-panel .axis .tick text {
|
|
||||||
fill: #52545c;
|
|
||||||
color: #52545c;
|
|
||||||
font-size: 11px; }
|
|
||||||
.status-heatmap-panel .axis .tick line {
|
|
||||||
opacity: 0.4;
|
|
||||||
stroke: #767980; }
|
|
||||||
.status-heatmap-panel svg {
|
|
||||||
pointer-events: none; }
|
|
||||||
.status-heatmap-panel svg rect {
|
|
||||||
pointer-events: visiblePainted; }
|
|
||||||
|
|
||||||
.status-heatmap-tooltip {
|
|
||||||
white-space: nowrap;
|
|
||||||
font-size: 12px;
|
|
||||||
background-color: #dde4ed;
|
|
||||||
color: #52545c; }
|
|
||||||
|
|
||||||
.status-heatmap-histogram rect {
|
|
||||||
fill: #767980; }
|
|
||||||
|
|
||||||
.status-heatmap-crosshair line {
|
|
||||||
stroke: #b30000;
|
|
||||||
stroke-width: 1; }
|
|
||||||
|
|
||||||
.status-heatmap-selection {
|
|
||||||
stroke-width: 1;
|
|
||||||
fill: rgba(102, 102, 102, 0.4);
|
|
||||||
stroke: rgba(102, 102, 102, 0.8); }
|
|
||||||
|
|
||||||
.status-heatmap-legend-wrapper {
|
|
||||||
margin: 0 10px; }
|
|
||||||
.status-heatmap-legend-wrapper svg {
|
|
||||||
height: 24px;
|
|
||||||
float: left;
|
|
||||||
white-space: nowrap; }
|
|
||||||
.status-heatmap-legend-wrapper .status-heatmap-color-legend {
|
|
||||||
margin-top: 4px; }
|
|
||||||
.status-heatmap-legend-wrapper .status-heatmap-legend-values {
|
|
||||||
display: inline-block; }
|
|
||||||
.status-heatmap-legend-wrapper .axis .tick text {
|
|
||||||
fill: #52545c;
|
|
||||||
color: #52545c;
|
|
||||||
font-size: 11px; }
|
|
||||||
.status-heatmap-legend-wrapper .axis .tick line {
|
|
||||||
opacity: 0.4;
|
|
||||||
stroke: #767980; }
|
|
||||||
.status-heatmap-legend-wrapper .axis .tick .domain {
|
|
||||||
opacity: 0.4;
|
|
||||||
stroke: #767980; }
|
|
||||||
|
|
||||||
/*# sourceMappingURL=status-heatmap.css.map */
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"version": 3,
|
|
||||||
"mappings": "AAGA,8BAA+B;EAE7B,MAAM,EAAE,SAAS;EAEjB,uDAAyB;IACzB,gBAAgB,EAAE,KAAK;IACvB,OAAO,EAAE,GAAG;;AAId,qBAAsB;EACpB,QAAQ,EAAE,QAAQ;EAGhB,sCAAK;IACH,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,IAAI;EAGjB,sCAAK;IACH,OAAO,EAAE,GAAG;IACZ,MAAM,EAAE,OAAO;EAKnB,yBAAI;IACF,cAAc,EAAE,IAAI;IAEpB,8BAAK;MACH,cAAc,EAAE,cAAc;;AAKpC,uBAAwB;EACtB,WAAW,EAAE,MAAM;EACnB,SAAS,EAzCI,IAAI;EA0CjB,gBAAgB,EAAE,OAAO;EACzB,KAAK,EAAE,OAAO;;AAGhB,8BAA+B;EAC7B,IAAI,EAAE,OAAO;;AAIb,8BAAK;EACH,MAAM,EAAE,OAAe;EACvB,YAAY,EAAE,CAAC;;AAInB,yBAA0B;EACxB,YAAY,EAAE,CAAC;EACf,IAAI,EAAE,wBAAwB;EAC9B,MAAM,EAAE,wBAAwB;;AAGlC,8BAA+B;EAE7B,MAAM,EAAE,MAAM;EAGd,kCAAI;IAGF,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE,IAAI;IACX,WAAW,EAAE,MAAM;EAIrB,2DAA6B;IAC3B,UAAU,EAAE,GAAG;EAGjB,4DAA8B;IAC5B,OAAO,EAAE,YAAY;EAIrB,+CAAK;IACH,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,IAAI;EAGjB,+CAAK;IACH,OAAO,EAAE,GAAG;IACZ,MAAM,EAAE,OAAO;EAGjB,kDAAQ;IACN,OAAO,EAAE,GAAG;IACZ,MAAM,EAAE,OAAO",
|
|
||||||
"sources": ["../../src/css/status-heatmap.scss"],
|
|
||||||
"names": [],
|
|
||||||
"file": "status-heatmap.css"
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,105 @@
|
|||||||
|
.status-heatmap-canvas-wrapper {
|
||||||
|
cursor: crosshair; }
|
||||||
|
.status-heatmap-canvas-wrapper .datapoints-warning {
|
||||||
|
pointer-events: none; }
|
||||||
|
.status-heatmap-canvas-wrapper .datapoints-warning span {
|
||||||
|
background-color: #333333;
|
||||||
|
color: #d8d9da;
|
||||||
|
padding: 1px; }
|
||||||
|
|
||||||
|
.statusmap-panel {
|
||||||
|
position: relative; }
|
||||||
|
.statusmap-panel .axis .tick text {
|
||||||
|
fill: #d8d9da;
|
||||||
|
color: #d8d9da;
|
||||||
|
font-size: 11px; }
|
||||||
|
.statusmap-panel .axis .tick line {
|
||||||
|
opacity: 0.4;
|
||||||
|
stroke: #8e8e8e; }
|
||||||
|
.statusmap-panel svg {
|
||||||
|
pointer-events: none; }
|
||||||
|
.statusmap-panel svg rect {
|
||||||
|
pointer-events: visiblePainted; }
|
||||||
|
|
||||||
|
.statusmap-tooltip {
|
||||||
|
position: absolute;
|
||||||
|
padding: 10px;
|
||||||
|
font-weight: 200;
|
||||||
|
border-radius: 5px;
|
||||||
|
max-width: 800px;
|
||||||
|
max-height: 600px;
|
||||||
|
overflow: hidden;
|
||||||
|
line-height: 14px;
|
||||||
|
z-index: 9999;
|
||||||
|
white-space: nowrap;
|
||||||
|
font-size: 12px;
|
||||||
|
background-color: #141414;
|
||||||
|
color: #d8d9da; }
|
||||||
|
.statusmap-tooltip .discrete-item {
|
||||||
|
color: #ffffff;
|
||||||
|
padding: 1px;
|
||||||
|
font-weight: bold;
|
||||||
|
text-shadow: 0 0 0.2em #212124, 0 0 0.2em #212124, 0 0 0.2em #212124; }
|
||||||
|
|
||||||
|
.statusmap-tooltip-frozen {
|
||||||
|
position: relative;
|
||||||
|
z-index: 1; }
|
||||||
|
|
||||||
|
.statusmap-histogram rect {
|
||||||
|
fill: #8e8e8e; }
|
||||||
|
|
||||||
|
.status-heatmap-crosshair line {
|
||||||
|
stroke: #9f3023;
|
||||||
|
stroke-width: 1; }
|
||||||
|
|
||||||
|
.status-heatmap-selection {
|
||||||
|
stroke-width: 1;
|
||||||
|
fill: rgba(102, 102, 102, 0.4);
|
||||||
|
stroke: rgba(102, 102, 102, 0.8); }
|
||||||
|
|
||||||
|
.width-c-40 {
|
||||||
|
width: 40rem !important; }
|
||||||
|
|
||||||
|
.width-c-50 {
|
||||||
|
width: 50rem !important; }
|
||||||
|
|
||||||
|
.width-c-60 {
|
||||||
|
width: 60rem !important; }
|
||||||
|
|
||||||
|
.width-c-70 {
|
||||||
|
width: 70rem !important; }
|
||||||
|
|
||||||
|
.statusmap-pagination {
|
||||||
|
margin-top: 5px; }
|
||||||
|
.statusmap-pagination label {
|
||||||
|
margin-right: 0px; }
|
||||||
|
.statusmap-pagination input {
|
||||||
|
margin-right: 0px; }
|
||||||
|
.statusmap-pagination .last-in-group {
|
||||||
|
margin-right: 4px; }
|
||||||
|
|
||||||
|
.pagination-buttons {
|
||||||
|
text-align: right; }
|
||||||
|
|
||||||
|
.status-heatmap-legend-wrapper {
|
||||||
|
margin: 0 10px; }
|
||||||
|
.status-heatmap-legend-wrapper svg {
|
||||||
|
height: 24px;
|
||||||
|
float: left;
|
||||||
|
white-space: nowrap; }
|
||||||
|
.status-heatmap-legend-wrapper .status-heatmap-color-legend {
|
||||||
|
margin-top: 4px; }
|
||||||
|
.status-heatmap-legend-wrapper .status-heatmap-legend-values {
|
||||||
|
display: inline-block; }
|
||||||
|
.status-heatmap-legend-wrapper .axis .tick text {
|
||||||
|
fill: #d8d9da;
|
||||||
|
color: #d8d9da;
|
||||||
|
font-size: 11px; }
|
||||||
|
.status-heatmap-legend-wrapper .axis .tick line {
|
||||||
|
opacity: 0.4;
|
||||||
|
stroke: #8e8e8e; }
|
||||||
|
.status-heatmap-legend-wrapper .axis .tick .domain {
|
||||||
|
opacity: 0.4;
|
||||||
|
stroke: #8e8e8e; }
|
||||||
|
|
||||||
|
/*# sourceMappingURL=statusmap.dark.css.map */
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"mappings": "AAAA,8BAA+B;EAE7B,MAAM,EAAE,SAAS;EAGjB,kDAAoB;IAClB,cAAc,EAAE,IAAI;EAGtB,uDAAyB;IACzB,gBAAgB,ECNL,OAAO;IDOlB,KAAK,ECVM,OAAO;IDWlB,OAAO,EAAE,GAAG;;AAId,gBAAiB;EACf,QAAQ,EAAE,QAAQ;EAGhB,iCAAK;IACH,IAAI,ECpBG,OAAO;IDqBd,KAAK,ECrBE,OAAO;IDsBd,SAAS,EEtBE,IAAI;EFyBjB,iCAAK;IACH,OAAO,EAAE,GAAG;IACZ,MAAM,EC1BM,OAAO;ED+BvB,oBAAI;IACF,cAAc,EAAE,IAAI;IAEpB,yBAAK;MACH,cAAc,EAAE,cAAc;;AAKpC,kBAAmB;EAGjB,QAAQ,EAAE,QAAQ;EAClB,OAAO,EAAE,IAAI;EACb,WAAW,EAAE,GAAG;EAChB,aAAa,EAAE,GAAG;EAClB,SAAS,EAAE,KAAK;EAChB,UAAU,EAAE,KAAK;EACjB,QAAQ,EAAE,MAAM;EAChB,WAAW,EAAE,IAAI;EACjB,OAAO,EAAE,IAAI;EAGb,WAAW,EAAE,MAAM;EACnB,SAAS,EEzDI,IAAI;EF0DjB,gBAAgB,ECvDC,OAAO;EDwDxB,KAAK,EC1DM,OAAO;ED4DlB,iCAAe;IACb,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,GAAG;IACZ,WAAW,EAAE,IAAI;IACjB,WAAW,EAAE,uDAAuD;;AAIxE,yBAA0B;EACxB,QAAQ,EAAE,QAAQ;EAClB,OAAO,EAAE,CAAC;;AAGZ,yBAA0B;EACxB,IAAI,ECzEY,OAAO;;AD6EvB,8BAAK;EACH,MAAM,EAAE,OAAgB;EACxB,YAAY,EAAE,CAAC;;AAInB,yBAA0B;EACxB,YAAY,EAAE,CAAC;EACf,IAAI,EAAE,wBAAwB;EAC9B,MAAM,EAAE,wBAAwB;;AAGlC,WAAY;EACV,KAAK,EAAE,gBACT;;AACA,WAAY;EACV,KAAK,EAAE,gBACT;;AACA,WAAY;EACV,KAAK,EAAE,gBACT;;AACA,WAAY;EACV,KAAK,EAAE,gBACT;;AAEA,qBAAsB;EAEpB,UAAU,EAAE,GAAG;EACf,2BAAM;IACJ,YAAY,EAAC,GAAG;EAElB,2BAAM;IACJ,YAAY,EAAE,GAAG;EAEnB,oCAAe;IACb,YAAY,EAAE,GAAG;;AAIrB,mBAAmB;EAAC,UAAU,EAAE,KAAK;;AAErC,8BAA+B;EAC7B,MAAM,EAAE,MAAM;EAEd,kCAAI;IACF,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE,IAAI;IACX,WAAW,EAAE,MAAM;EAIrB,2DAA6B;IAC3B,UAAU,EAAE,GAAG;EAGjB,4DAA8B;IAC5B,OAAO,EAAE,YAAY;EAIrB,+CAAK;IACH,IAAI,EC3IG,OAAO;ID4Id,KAAK,EC5IE,OAAO;ID6Id,SAAS,EE7IE,IAAI;EFgJjB,+CAAK;IACH,OAAO,EAAE,GAAG;IACZ,MAAM,ECjJM,OAAO;EDoJrB,kDAAQ;IACN,OAAO,EAAE,GAAG;IACZ,MAAM,ECtJM,OAAO",
|
||||||
|
"sources": ["../../src/css/_statusmap.scss","../../src/css/_variables.dark.scss","../../src/css/_variables.scss"],
|
||||||
|
"names": [],
|
||||||
|
"file": "statusmap.dark.css"
|
||||||
|
}
|
||||||
@@ -0,0 +1,105 @@
|
|||||||
|
.status-heatmap-canvas-wrapper {
|
||||||
|
cursor: crosshair; }
|
||||||
|
.status-heatmap-canvas-wrapper .datapoints-warning {
|
||||||
|
pointer-events: none; }
|
||||||
|
.status-heatmap-canvas-wrapper .datapoints-warning span {
|
||||||
|
background-color: #e9edf2;
|
||||||
|
color: #52545c;
|
||||||
|
padding: 1px; }
|
||||||
|
|
||||||
|
.statusmap-panel {
|
||||||
|
position: relative; }
|
||||||
|
.statusmap-panel .axis .tick text {
|
||||||
|
fill: #52545c;
|
||||||
|
color: #52545c;
|
||||||
|
font-size: 11px; }
|
||||||
|
.statusmap-panel .axis .tick line {
|
||||||
|
opacity: 0.4;
|
||||||
|
stroke: #767980; }
|
||||||
|
.statusmap-panel svg {
|
||||||
|
pointer-events: none; }
|
||||||
|
.statusmap-panel svg rect {
|
||||||
|
pointer-events: visiblePainted; }
|
||||||
|
|
||||||
|
.statusmap-tooltip {
|
||||||
|
position: absolute;
|
||||||
|
padding: 10px;
|
||||||
|
font-weight: 200;
|
||||||
|
border-radius: 5px;
|
||||||
|
max-width: 800px;
|
||||||
|
max-height: 600px;
|
||||||
|
overflow: hidden;
|
||||||
|
line-height: 14px;
|
||||||
|
z-index: 9999;
|
||||||
|
white-space: nowrap;
|
||||||
|
font-size: 12px;
|
||||||
|
background-color: #dde4ed;
|
||||||
|
color: #52545c; }
|
||||||
|
.statusmap-tooltip .discrete-item {
|
||||||
|
color: #ffffff;
|
||||||
|
padding: 1px;
|
||||||
|
font-weight: bold;
|
||||||
|
text-shadow: 0 0 0.2em #212124, 0 0 0.2em #212124, 0 0 0.2em #212124; }
|
||||||
|
|
||||||
|
.statusmap-tooltip-frozen {
|
||||||
|
position: relative;
|
||||||
|
z-index: 1; }
|
||||||
|
|
||||||
|
.statusmap-histogram rect {
|
||||||
|
fill: #767980; }
|
||||||
|
|
||||||
|
.status-heatmap-crosshair line {
|
||||||
|
stroke: #9e2f22;
|
||||||
|
stroke-width: 1; }
|
||||||
|
|
||||||
|
.status-heatmap-selection {
|
||||||
|
stroke-width: 1;
|
||||||
|
fill: rgba(102, 102, 102, 0.4);
|
||||||
|
stroke: rgba(102, 102, 102, 0.8); }
|
||||||
|
|
||||||
|
.width-c-40 {
|
||||||
|
width: 40rem !important; }
|
||||||
|
|
||||||
|
.width-c-50 {
|
||||||
|
width: 50rem !important; }
|
||||||
|
|
||||||
|
.width-c-60 {
|
||||||
|
width: 60rem !important; }
|
||||||
|
|
||||||
|
.width-c-70 {
|
||||||
|
width: 70rem !important; }
|
||||||
|
|
||||||
|
.statusmap-pagination {
|
||||||
|
margin-top: 5px; }
|
||||||
|
.statusmap-pagination label {
|
||||||
|
margin-right: 0px; }
|
||||||
|
.statusmap-pagination input {
|
||||||
|
margin-right: 0px; }
|
||||||
|
.statusmap-pagination .last-in-group {
|
||||||
|
margin-right: 4px; }
|
||||||
|
|
||||||
|
.pagination-buttons {
|
||||||
|
text-align: right; }
|
||||||
|
|
||||||
|
.status-heatmap-legend-wrapper {
|
||||||
|
margin: 0 10px; }
|
||||||
|
.status-heatmap-legend-wrapper svg {
|
||||||
|
height: 24px;
|
||||||
|
float: left;
|
||||||
|
white-space: nowrap; }
|
||||||
|
.status-heatmap-legend-wrapper .status-heatmap-color-legend {
|
||||||
|
margin-top: 4px; }
|
||||||
|
.status-heatmap-legend-wrapper .status-heatmap-legend-values {
|
||||||
|
display: inline-block; }
|
||||||
|
.status-heatmap-legend-wrapper .axis .tick text {
|
||||||
|
fill: #52545c;
|
||||||
|
color: #52545c;
|
||||||
|
font-size: 11px; }
|
||||||
|
.status-heatmap-legend-wrapper .axis .tick line {
|
||||||
|
opacity: 0.4;
|
||||||
|
stroke: #767980; }
|
||||||
|
.status-heatmap-legend-wrapper .axis .tick .domain {
|
||||||
|
opacity: 0.4;
|
||||||
|
stroke: #767980; }
|
||||||
|
|
||||||
|
/*# sourceMappingURL=statusmap.light.css.map */
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"mappings": "AAAA,8BAA+B;EAE7B,MAAM,EAAE,SAAS;EAGjB,kDAAoB;IAClB,cAAc,EAAE,IAAI;EAGtB,uDAAyB;IACzB,gBAAgB,ECNL,OAAO;IDOlB,KAAK,ECVM,OAAO;IDWlB,OAAO,EAAE,GAAG;;AAId,gBAAiB;EACf,QAAQ,EAAE,QAAQ;EAGhB,iCAAK;IACH,IAAI,ECpBG,OAAO;IDqBd,KAAK,ECrBE,OAAO;IDsBd,SAAS,EEtBE,IAAI;EFyBjB,iCAAK;IACH,OAAO,EAAE,GAAG;IACZ,MAAM,EC1BM,OAAO;ED+BvB,oBAAI;IACF,cAAc,EAAE,IAAI;IAEpB,yBAAK;MACH,cAAc,EAAE,cAAc;;AAKpC,kBAAmB;EAGjB,QAAQ,EAAE,QAAQ;EAClB,OAAO,EAAE,IAAI;EACb,WAAW,EAAE,GAAG;EAChB,aAAa,EAAE,GAAG;EAClB,SAAS,EAAE,KAAK;EAChB,UAAU,EAAE,KAAK;EACjB,QAAQ,EAAE,MAAM;EAChB,WAAW,EAAE,IAAI;EACjB,OAAO,EAAE,IAAI;EAGb,WAAW,EAAE,MAAM;EACnB,SAAS,EEzDI,IAAI;EF0DjB,gBAAgB,ECvDC,OAAO;EDwDxB,KAAK,EC1DM,OAAO;ED4DlB,iCAAe;IACb,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,GAAG;IACZ,WAAW,EAAE,IAAI;IACjB,WAAW,EAAE,uDAAuD;;AAIxE,yBAA0B;EACxB,QAAQ,EAAE,QAAQ;EAClB,OAAO,EAAE,CAAC;;AAGZ,yBAA0B;EACxB,IAAI,ECzEY,OAAO;;AD6EvB,8BAAK;EACH,MAAM,EAAE,OAAgB;EACxB,YAAY,EAAE,CAAC;;AAInB,yBAA0B;EACxB,YAAY,EAAE,CAAC;EACf,IAAI,EAAE,wBAAwB;EAC9B,MAAM,EAAE,wBAAwB;;AAGlC,WAAY;EACV,KAAK,EAAE,gBACT;;AACA,WAAY;EACV,KAAK,EAAE,gBACT;;AACA,WAAY;EACV,KAAK,EAAE,gBACT;;AACA,WAAY;EACV,KAAK,EAAE,gBACT;;AAEA,qBAAsB;EAEpB,UAAU,EAAE,GAAG;EACf,2BAAM;IACJ,YAAY,EAAC,GAAG;EAElB,2BAAM;IACJ,YAAY,EAAE,GAAG;EAEnB,oCAAe;IACb,YAAY,EAAE,GAAG;;AAIrB,mBAAmB;EAAC,UAAU,EAAE,KAAK;;AAErC,8BAA+B;EAC7B,MAAM,EAAE,MAAM;EAEd,kCAAI;IACF,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE,IAAI;IACX,WAAW,EAAE,MAAM;EAIrB,2DAA6B;IAC3B,UAAU,EAAE,GAAG;EAGjB,4DAA8B;IAC5B,OAAO,EAAE,YAAY;EAIrB,+CAAK;IACH,IAAI,EC3IG,OAAO;ID4Id,KAAK,EC5IE,OAAO;ID6Id,SAAS,EE7IE,IAAI;EFgJjB,+CAAK;IACH,OAAO,EAAE,GAAG;IACZ,MAAM,ECjJM,OAAO;EDoJrB,kDAAQ;IACN,OAAO,EAAE,GAAG;IACZ,MAAM,ECtJM,OAAO",
|
||||||
|
"sources": ["../../src/css/_statusmap.scss","../../src/css/_variables.light.scss","../../src/css/_variables.scss"],
|
||||||
|
"names": [],
|
||||||
|
"file": "statusmap.light.css"
|
||||||
|
}
|
||||||
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 64 KiB |
|
After Width: | Height: | Size: 74 KiB |
|
After Width: | Height: | Size: 40 KiB |
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/categorical/Accent.js"],"names":["colors"],"mappings":";;;;;;;;AAAOA,Y;;;yBAEQA,OAAO,kDAAP,C","file":"Accent.js","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666\");\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/categorical/Accent.js"],"names":["colors"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;;yBAEQA,MAAM,CAAC,kDAAD,C","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666\");\n"],"file":"Accent.js"}
|
||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/categorical/Dark2.js"],"names":["colors"],"mappings":";;;;;;;;AAAOA,Y;;;yBAEQA,OAAO,kDAAP,C","file":"Dark2.js","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666\");\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/categorical/Dark2.js"],"names":["colors"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;;yBAEQA,MAAM,CAAC,kDAAD,C","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666\");\n"],"file":"Dark2.js"}
|
||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/categorical/Paired.js"],"names":["colors"],"mappings":";;;;;;;;AAAOA,Y;;;yBAEQA,OAAO,0EAAP,C","file":"Paired.js","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928\");\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/categorical/Paired.js"],"names":["colors"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;;yBAEQA,MAAM,CAAC,0EAAD,C","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928\");\n"],"file":"Paired.js"}
|
||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/categorical/Pastel1.js"],"names":["colors"],"mappings":";;;;;;;;AAAOA,Y;;;yBAEQA,OAAO,wDAAP,C","file":"Pastel1.js","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2\");\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/categorical/Pastel1.js"],"names":["colors"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;;yBAEQA,MAAM,CAAC,wDAAD,C","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2\");\n"],"file":"Pastel1.js"}
|
||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/categorical/Pastel2.js"],"names":["colors"],"mappings":";;;;;;;;AAAOA,Y;;;yBAEQA,OAAO,kDAAP,C","file":"Pastel2.js","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc\");\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/categorical/Pastel2.js"],"names":["colors"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;;yBAEQA,MAAM,CAAC,kDAAD,C","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc\");\n"],"file":"Pastel2.js"}
|
||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/categorical/Set1.js"],"names":["colors"],"mappings":";;;;;;;;AAAOA,Y;;;yBAEQA,OAAO,wDAAP,C","file":"Set1.js","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999\");\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/categorical/Set1.js"],"names":["colors"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;;yBAEQA,MAAM,CAAC,wDAAD,C","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999\");\n"],"file":"Set1.js"}
|
||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/categorical/Set2.js"],"names":["colors"],"mappings":";;;;;;;;AAAOA,Y;;;yBAEQA,OAAO,kDAAP,C","file":"Set2.js","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3\");\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/categorical/Set2.js"],"names":["colors"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;;yBAEQA,MAAM,CAAC,kDAAD,C","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3\");\n"],"file":"Set2.js"}
|
||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/categorical/Set3.js"],"names":["colors"],"mappings":";;;;;;;;AAAOA,Y;;;yBAEQA,OAAO,0EAAP,C","file":"Set3.js","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f\");\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/categorical/Set3.js"],"names":["colors"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;;yBAEQA,MAAM,CAAC,0EAAD,C","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f\");\n"],"file":"Set3.js"}
|
||||||
@@ -7,9 +7,12 @@ System.register([], function (_export, _context) {
|
|||||||
var n = specifier.length / 6 | 0,
|
var n = specifier.length / 6 | 0,
|
||||||
colors = new Array(n),
|
colors = new Array(n),
|
||||||
i = 0;
|
i = 0;
|
||||||
|
|
||||||
while (i < n) {
|
while (i < n) {
|
||||||
colors[i] = "#" + specifier.slice(i * 6, ++i * 6);
|
colors[i] = "#" + specifier.slice(i * 6, ++i * 6);
|
||||||
}return colors;
|
}
|
||||||
|
|
||||||
|
return colors;
|
||||||
});
|
});
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../src/libs/d3-scale-chromatic/colors.js"],"names":["specifier","n","length","colors","Array","i","slice"],"mappings":";;;;;qBAAe,UAASA,SAAT,EAAoB;AACjC,QAAIC,IAAID,UAAUE,MAAV,GAAmB,CAAnB,GAAuB,CAA/B;AAAA,QAAkCC,SAAS,IAAIC,KAAJ,CAAUH,CAAV,CAA3C;AAAA,QAAyDI,IAAI,CAA7D;AACA,WAAOA,IAAIJ,CAAX;AAAcE,aAAOE,CAAP,IAAY,MAAML,UAAUM,KAAV,CAAgBD,IAAI,CAApB,EAAuB,EAAEA,CAAF,GAAM,CAA7B,CAAlB;AAAd,KACA,OAAOF,MAAP;AACD,G","file":"colors.js","sourcesContent":["export default function(specifier) {\n var n = specifier.length / 6 | 0, colors = new Array(n), i = 0;\n while (i < n) colors[i] = \"#\" + specifier.slice(i * 6, ++i * 6);\n return colors;\n}\n"]}
|
{"version":3,"sources":["../../../src/libs/d3-scale-chromatic/colors.js"],"names":["specifier","n","length","colors","Array","i","slice"],"mappings":";;;;;qBAAe,UAASA,SAAT,EAAoB;AACjC,QAAIC,CAAC,GAAGD,SAAS,CAACE,MAAV,GAAmB,CAAnB,GAAuB,CAA/B;AAAA,QAAkCC,MAAM,GAAG,IAAIC,KAAJ,CAAUH,CAAV,CAA3C;AAAA,QAAyDI,CAAC,GAAG,CAA7D;;AACA,WAAOA,CAAC,GAAGJ,CAAX;AAAcE,MAAAA,MAAM,CAACE,CAAD,CAAN,GAAY,MAAML,SAAS,CAACM,KAAV,CAAgBD,CAAC,GAAG,CAApB,EAAuB,EAAEA,CAAF,GAAM,CAA7B,CAAlB;AAAd;;AACA,WAAOF,MAAP;AACD,G","sourcesContent":["export default function(specifier) {\n var n = specifier.length / 6 | 0, colors = new Array(n), i = 0;\n while (i < n) colors[i] = \"#\" + specifier.slice(i * 6, ++i * 6);\n return colors;\n}\n"],"file":"colors.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("d8b365f5f5f55ab4ac", "a6611adfc27d80cdc1018571", "a6611adfc27df5f5f580cdc1018571", "8c510ad8b365f6e8c3c7eae55ab4ac01665e", "8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e", "8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e", "8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e", "5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30", "5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(colors));
|
_export("scheme", scheme = new Array(3).concat("d8b365f5f5f55ab4ac", "a6611adfc27d80cdc1018571", "a6611adfc27df5f5f580cdc1018571", "8c510ad8b365f6e8c3c7eae55ab4ac01665e", "8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e", "8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e", "8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e", "5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30", "5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/BrBG.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;;;yBAYLC,KAAKC,MAAL,C","file":"BrBG.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"d8b365f5f5f55ab4ac\",\n \"a6611adfc27d80cdc1018571\",\n \"a6611adfc27df5f5f580cdc1018571\",\n \"8c510ad8b365f6e8c3c7eae55ab4ac01665e\",\n \"8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e\",\n \"8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e\",\n \"8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e\",\n \"5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30\",\n \"5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/BrBG.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;yBAYLC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"d8b365f5f5f55ab4ac\",\n \"a6611adfc27d80cdc1018571\",\n \"a6611adfc27df5f5f580cdc1018571\",\n \"8c510ad8b365f6e8c3c7eae55ab4ac01665e\",\n \"8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e\",\n \"8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e\",\n \"8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e\",\n \"5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30\",\n \"5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"BrBG.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("91cf60ffffbffc8d59", "1a9641a6d96afdae61d7191c", "1a9641a6d96affffbffdae61d7191c", "1a985091cf60d9ef8bfee08bfc8d59d73027", "1a985091cf60d9ef8bffffbffee08bfc8d59d73027", "1a985066bd63a6d96ad9ef8bfee08bfdae61f46d43d73027", "1a985066bd63a6d96ad9ef8bffffbffee08bfdae61f46d43d73027", "0068371a985066bd63a6d96ad9ef8bfee08bfdae61f46d43d73027a50026", "0068371a985066bd63a6d96ad9ef8bffffbffee08bfdae61f46d43d73027a50026").map(colors));
|
_export("scheme", scheme = new Array(3).concat("91cf60ffffbffc8d59", "1a9641a6d96afdae61d7191c", "1a9641a6d96affffbffdae61d7191c", "1a985091cf60d9ef8bfee08bfc8d59d73027", "1a985091cf60d9ef8bffffbffee08bfc8d59d73027", "1a985066bd63a6d96ad9ef8bfee08bfdae61f46d43d73027", "1a985066bd63a6d96ad9ef8bffffbffee08bfdae61f46d43d73027", "0068371a985066bd63a6d96ad9ef8bfee08bfdae61f46d43d73027a50026", "0068371a985066bd63a6d96ad9ef8bffffbffee08bfdae61f46d43d73027a50026").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/GnYlRd.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;;;yBAYLC,KAAKC,MAAL,C","file":"GnYlRd.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"91cf60ffffbffc8d59\",\n \"1a9641a6d96afdae61d7191c\",\n \"1a9641a6d96affffbffdae61d7191c\",\n \"1a985091cf60d9ef8bfee08bfc8d59d73027\",\n \"1a985091cf60d9ef8bffffbffee08bfc8d59d73027\",\n \"1a985066bd63a6d96ad9ef8bfee08bfdae61f46d43d73027\",\n \"1a985066bd63a6d96ad9ef8bffffbffee08bfdae61f46d43d73027\",\n \"0068371a985066bd63a6d96ad9ef8bfee08bfdae61f46d43d73027a50026\",\n \"0068371a985066bd63a6d96ad9ef8bffffbffee08bfdae61f46d43d73027a50026\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/GnYlRd.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;yBAYLC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"91cf60ffffbffc8d59\",\n \"1a9641a6d96afdae61d7191c\",\n \"1a9641a6d96affffbffdae61d7191c\",\n \"1a985091cf60d9ef8bfee08bfc8d59d73027\",\n \"1a985091cf60d9ef8bffffbffee08bfc8d59d73027\",\n \"1a985066bd63a6d96ad9ef8bfee08bfdae61f46d43d73027\",\n \"1a985066bd63a6d96ad9ef8bffffbffee08bfdae61f46d43d73027\",\n \"0068371a985066bd63a6d96ad9ef8bfee08bfdae61f46d43d73027a50026\",\n \"0068371a985066bd63a6d96ad9ef8bffffbffee08bfdae61f46d43d73027a50026\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"GnYlRd.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("af8dc3f7f7f77fbf7b", "7b3294c2a5cfa6dba0008837", "7b3294c2a5cff7f7f7a6dba0008837", "762a83af8dc3e7d4e8d9f0d37fbf7b1b7837", "762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837", "762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837", "762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837", "40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b", "40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(colors));
|
_export("scheme", scheme = new Array(3).concat("af8dc3f7f7f77fbf7b", "7b3294c2a5cfa6dba0008837", "7b3294c2a5cff7f7f7a6dba0008837", "762a83af8dc3e7d4e8d9f0d37fbf7b1b7837", "762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837", "762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837", "762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837", "40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b", "40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/PRGn.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;;;yBAYLC,KAAKC,MAAL,C","file":"PRGn.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"af8dc3f7f7f77fbf7b\",\n \"7b3294c2a5cfa6dba0008837\",\n \"7b3294c2a5cff7f7f7a6dba0008837\",\n \"762a83af8dc3e7d4e8d9f0d37fbf7b1b7837\",\n \"762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837\",\n \"762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837\",\n \"762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837\",\n \"40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b\",\n \"40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/PRGn.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;yBAYLC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"af8dc3f7f7f77fbf7b\",\n \"7b3294c2a5cfa6dba0008837\",\n \"7b3294c2a5cff7f7f7a6dba0008837\",\n \"762a83af8dc3e7d4e8d9f0d37fbf7b1b7837\",\n \"762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837\",\n \"762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837\",\n \"762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837\",\n \"40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b\",\n \"40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"PRGn.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("e9a3c9f7f7f7a1d76a", "d01c8bf1b6dab8e1864dac26", "d01c8bf1b6daf7f7f7b8e1864dac26", "c51b7de9a3c9fde0efe6f5d0a1d76a4d9221", "c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221", "c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221", "c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221", "8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419", "8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(colors));
|
_export("scheme", scheme = new Array(3).concat("e9a3c9f7f7f7a1d76a", "d01c8bf1b6dab8e1864dac26", "d01c8bf1b6daf7f7f7b8e1864dac26", "c51b7de9a3c9fde0efe6f5d0a1d76a4d9221", "c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221", "c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221", "c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221", "8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419", "8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/PiYG.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;;;yBAYLC,KAAKC,MAAL,C","file":"PiYG.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"e9a3c9f7f7f7a1d76a\",\n \"d01c8bf1b6dab8e1864dac26\",\n \"d01c8bf1b6daf7f7f7b8e1864dac26\",\n \"c51b7de9a3c9fde0efe6f5d0a1d76a4d9221\",\n \"c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221\",\n \"c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221\",\n \"c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221\",\n \"8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419\",\n \"8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/PiYG.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;yBAYLC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"e9a3c9f7f7f7a1d76a\",\n \"d01c8bf1b6dab8e1864dac26\",\n \"d01c8bf1b6daf7f7f7b8e1864dac26\",\n \"c51b7de9a3c9fde0efe6f5d0a1d76a4d9221\",\n \"c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221\",\n \"c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221\",\n \"c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221\",\n \"8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419\",\n \"8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"PiYG.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("998ec3f7f7f7f1a340", "5e3c99b2abd2fdb863e66101", "5e3c99b2abd2f7f7f7fdb863e66101", "542788998ec3d8daebfee0b6f1a340b35806", "542788998ec3d8daebf7f7f7fee0b6f1a340b35806", "5427888073acb2abd2d8daebfee0b6fdb863e08214b35806", "5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806", "2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08", "2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(colors));
|
_export("scheme", scheme = new Array(3).concat("998ec3f7f7f7f1a340", "5e3c99b2abd2fdb863e66101", "5e3c99b2abd2f7f7f7fdb863e66101", "542788998ec3d8daebfee0b6f1a340b35806", "542788998ec3d8daebf7f7f7fee0b6f1a340b35806", "5427888073acb2abd2d8daebfee0b6fdb863e08214b35806", "5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806", "2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08", "2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/PuOr.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;;;yBAYLC,KAAKC,MAAL,C","file":"PuOr.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"998ec3f7f7f7f1a340\",\n \"5e3c99b2abd2fdb863e66101\",\n \"5e3c99b2abd2f7f7f7fdb863e66101\",\n \"542788998ec3d8daebfee0b6f1a340b35806\",\n \"542788998ec3d8daebf7f7f7fee0b6f1a340b35806\",\n \"5427888073acb2abd2d8daebfee0b6fdb863e08214b35806\",\n \"5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806\",\n \"2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08\",\n \"2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/PuOr.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;yBAYLC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"998ec3f7f7f7f1a340\",\n \"5e3c99b2abd2fdb863e66101\",\n \"5e3c99b2abd2f7f7f7fdb863e66101\",\n \"542788998ec3d8daebfee0b6f1a340b35806\",\n \"542788998ec3d8daebf7f7f7fee0b6f1a340b35806\",\n \"5427888073acb2abd2d8daebfee0b6fdb863e08214b35806\",\n \"5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806\",\n \"2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08\",\n \"2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"PuOr.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("ef8a62f7f7f767a9cf", "ca0020f4a58292c5de0571b0", "ca0020f4a582f7f7f792c5de0571b0", "b2182bef8a62fddbc7d1e5f067a9cf2166ac", "b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac", "b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac", "b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac", "67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061", "67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(colors));
|
_export("scheme", scheme = new Array(3).concat("ef8a62f7f7f767a9cf", "ca0020f4a58292c5de0571b0", "ca0020f4a582f7f7f792c5de0571b0", "b2182bef8a62fddbc7d1e5f067a9cf2166ac", "b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac", "b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac", "b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac", "67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061", "67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/RdBu.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;;;yBAYLC,KAAKC,MAAL,C","file":"RdBu.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"ef8a62f7f7f767a9cf\",\n \"ca0020f4a58292c5de0571b0\",\n \"ca0020f4a582f7f7f792c5de0571b0\",\n \"b2182bef8a62fddbc7d1e5f067a9cf2166ac\",\n \"b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac\",\n \"b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac\",\n \"b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac\",\n \"67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061\",\n \"67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/RdBu.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;yBAYLC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"ef8a62f7f7f767a9cf\",\n \"ca0020f4a58292c5de0571b0\",\n \"ca0020f4a582f7f7f792c5de0571b0\",\n \"b2182bef8a62fddbc7d1e5f067a9cf2166ac\",\n \"b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac\",\n \"b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac\",\n \"b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac\",\n \"67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061\",\n \"67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"RdBu.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("ef8a62ffffff999999", "ca0020f4a582bababa404040", "ca0020f4a582ffffffbababa404040", "b2182bef8a62fddbc7e0e0e09999994d4d4d", "b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d", "b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d", "b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d", "67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a", "67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(colors));
|
_export("scheme", scheme = new Array(3).concat("ef8a62ffffff999999", "ca0020f4a582bababa404040", "ca0020f4a582ffffffbababa404040", "b2182bef8a62fddbc7e0e0e09999994d4d4d", "b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d", "b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d", "b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d", "67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a", "67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/RdGy.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;;;yBAYLC,KAAKC,MAAL,C","file":"RdGy.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"ef8a62ffffff999999\",\n \"ca0020f4a582bababa404040\",\n \"ca0020f4a582ffffffbababa404040\",\n \"b2182bef8a62fddbc7e0e0e09999994d4d4d\",\n \"b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d\",\n \"b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d\",\n \"b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d\",\n \"67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a\",\n \"67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/RdGy.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;yBAYLC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"ef8a62ffffff999999\",\n \"ca0020f4a582bababa404040\",\n \"ca0020f4a582ffffffbababa404040\",\n \"b2182bef8a62fddbc7e0e0e09999994d4d4d\",\n \"b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d\",\n \"b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d\",\n \"b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d\",\n \"67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a\",\n \"67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"RdGy.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("fc8d59ffffbf91bfdb", "d7191cfdae61abd9e92c7bb6", "d7191cfdae61ffffbfabd9e92c7bb6", "d73027fc8d59fee090e0f3f891bfdb4575b4", "d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4", "d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4", "d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4", "a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695", "a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(colors));
|
_export("scheme", scheme = new Array(3).concat("fc8d59ffffbf91bfdb", "d7191cfdae61abd9e92c7bb6", "d7191cfdae61ffffbfabd9e92c7bb6", "d73027fc8d59fee090e0f3f891bfdb4575b4", "d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4", "d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4", "d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4", "a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695", "a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/RdYlBu.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;;;yBAYLC,KAAKC,MAAL,C","file":"RdYlBu.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"fc8d59ffffbf91bfdb\",\n \"d7191cfdae61abd9e92c7bb6\",\n \"d7191cfdae61ffffbfabd9e92c7bb6\",\n \"d73027fc8d59fee090e0f3f891bfdb4575b4\",\n \"d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4\",\n \"d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4\",\n \"d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4\",\n \"a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695\",\n \"a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/RdYlBu.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;yBAYLC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"fc8d59ffffbf91bfdb\",\n \"d7191cfdae61abd9e92c7bb6\",\n \"d7191cfdae61ffffbfabd9e92c7bb6\",\n \"d73027fc8d59fee090e0f3f891bfdb4575b4\",\n \"d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4\",\n \"d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4\",\n \"d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4\",\n \"a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695\",\n \"a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"RdYlBu.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("fc8d59ffffbf91cf60", "d7191cfdae61a6d96a1a9641", "d7191cfdae61ffffbfa6d96a1a9641", "d73027fc8d59fee08bd9ef8b91cf601a9850", "d73027fc8d59fee08bffffbfd9ef8b91cf601a9850", "d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850", "d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850", "a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837", "a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(colors));
|
_export("scheme", scheme = new Array(3).concat("fc8d59ffffbf91cf60", "d7191cfdae61a6d96a1a9641", "d7191cfdae61ffffbfa6d96a1a9641", "d73027fc8d59fee08bd9ef8b91cf601a9850", "d73027fc8d59fee08bffffbfd9ef8b91cf601a9850", "d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850", "d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850", "a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837", "a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/RdYlGn.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;;;yBAYLC,KAAKC,MAAL,C","file":"RdYlGn.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"fc8d59ffffbf91cf60\",\n \"d7191cfdae61a6d96a1a9641\",\n \"d7191cfdae61ffffbfa6d96a1a9641\",\n \"d73027fc8d59fee08bd9ef8b91cf601a9850\",\n \"d73027fc8d59fee08bffffbfd9ef8b91cf601a9850\",\n \"d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850\",\n \"d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850\",\n \"a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837\",\n \"a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/RdYlGn.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;yBAYLC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"fc8d59ffffbf91cf60\",\n \"d7191cfdae61a6d96a1a9641\",\n \"d7191cfdae61ffffbfa6d96a1a9641\",\n \"d73027fc8d59fee08bd9ef8b91cf601a9850\",\n \"d73027fc8d59fee08bffffbfd9ef8b91cf601a9850\",\n \"d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850\",\n \"d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850\",\n \"a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837\",\n \"a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"RdYlGn.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("fc8d59ffffbf99d594", "d7191cfdae61abdda42b83ba", "d7191cfdae61ffffbfabdda42b83ba", "d53e4ffc8d59fee08be6f59899d5943288bd", "d53e4ffc8d59fee08bffffbfe6f59899d5943288bd", "d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd", "d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd", "9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2", "9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(colors));
|
_export("scheme", scheme = new Array(3).concat("fc8d59ffffbf99d594", "d7191cfdae61abdda42b83ba", "d7191cfdae61ffffbfabdda42b83ba", "d53e4ffc8d59fee08be6f59899d5943288bd", "d53e4ffc8d59fee08bffffbfe6f59899d5943288bd", "d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd", "d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd", "9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2", "9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/Spectral.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;;;yBAYLC,KAAKC,MAAL,C","file":"Spectral.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"fc8d59ffffbf99d594\",\n \"d7191cfdae61abdda42b83ba\",\n \"d7191cfdae61ffffbfabdda42b83ba\",\n \"d53e4ffc8d59fee08be6f59899d5943288bd\",\n \"d53e4ffc8d59fee08bffffbfe6f59899d5943288bd\",\n \"d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd\",\n \"d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd\",\n \"9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2\",\n \"9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/Spectral.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;yBAYLC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"fc8d59ffffbf99d594\",\n \"d7191cfdae61abdda42b83ba\",\n \"d7191cfdae61ffffbfabdda42b83ba\",\n \"d53e4ffc8d59fee08be6f59899d5943288bd\",\n \"d53e4ffc8d59fee08bffffbfe6f59899d5943288bd\",\n \"d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd\",\n \"d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd\",\n \"9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2\",\n \"9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"Spectral.js"}
|
||||||
@@ -5,213 +5,161 @@ System.register(["./categorical/Accent", "./categorical/Dark2", "./categorical/P
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
setters: [function (_categoricalAccent) {
|
setters: [function (_categoricalAccent) {
|
||||||
var _exportObj = {};
|
_export("schemeAccent", _categoricalAccent.default);
|
||||||
_exportObj.schemeAccent = _categoricalAccent.default;
|
|
||||||
|
|
||||||
_export(_exportObj);
|
|
||||||
}, function (_categoricalDark) {
|
}, function (_categoricalDark) {
|
||||||
var _exportObj2 = {};
|
_export("schemeDark2", _categoricalDark.default);
|
||||||
_exportObj2.schemeDark2 = _categoricalDark.default;
|
|
||||||
|
|
||||||
_export(_exportObj2);
|
|
||||||
}, function (_categoricalPaired) {
|
}, function (_categoricalPaired) {
|
||||||
var _exportObj3 = {};
|
_export("schemePaired", _categoricalPaired.default);
|
||||||
_exportObj3.schemePaired = _categoricalPaired.default;
|
|
||||||
|
|
||||||
_export(_exportObj3);
|
|
||||||
}, function (_categoricalPastel) {
|
}, function (_categoricalPastel) {
|
||||||
var _exportObj4 = {};
|
_export("schemePastel1", _categoricalPastel.default);
|
||||||
_exportObj4.schemePastel1 = _categoricalPastel.default;
|
|
||||||
|
|
||||||
_export(_exportObj4);
|
|
||||||
}, function (_categoricalPastel2) {
|
}, function (_categoricalPastel2) {
|
||||||
var _exportObj5 = {};
|
_export("schemePastel2", _categoricalPastel2.default);
|
||||||
_exportObj5.schemePastel2 = _categoricalPastel2.default;
|
|
||||||
|
|
||||||
_export(_exportObj5);
|
|
||||||
}, function (_categoricalSet) {
|
}, function (_categoricalSet) {
|
||||||
var _exportObj6 = {};
|
_export("schemeSet1", _categoricalSet.default);
|
||||||
_exportObj6.schemeSet1 = _categoricalSet.default;
|
|
||||||
|
|
||||||
_export(_exportObj6);
|
|
||||||
}, function (_categoricalSet2) {
|
}, function (_categoricalSet2) {
|
||||||
var _exportObj7 = {};
|
_export("schemeSet2", _categoricalSet2.default);
|
||||||
_exportObj7.schemeSet2 = _categoricalSet2.default;
|
|
||||||
|
|
||||||
_export(_exportObj7);
|
|
||||||
}, function (_categoricalSet3) {
|
}, function (_categoricalSet3) {
|
||||||
var _exportObj8 = {};
|
_export("schemeSet3", _categoricalSet3.default);
|
||||||
_exportObj8.schemeSet3 = _categoricalSet3.default;
|
|
||||||
|
|
||||||
_export(_exportObj8);
|
|
||||||
}, function (_divergingBrBG) {
|
}, function (_divergingBrBG) {
|
||||||
var _exportObj9 = {};
|
_export({
|
||||||
_exportObj9.interpolateBrBG = _divergingBrBG.default;
|
interpolateBrBG: _divergingBrBG.default,
|
||||||
_exportObj9.schemeBrBG = _divergingBrBG.scheme;
|
schemeBrBG: _divergingBrBG.scheme
|
||||||
|
});
|
||||||
_export(_exportObj9);
|
|
||||||
}, function (_divergingPRGn) {
|
}, function (_divergingPRGn) {
|
||||||
var _exportObj10 = {};
|
_export({
|
||||||
_exportObj10.interpolatePRGn = _divergingPRGn.default;
|
interpolatePRGn: _divergingPRGn.default,
|
||||||
_exportObj10.schemePRGn = _divergingPRGn.scheme;
|
schemePRGn: _divergingPRGn.scheme
|
||||||
|
});
|
||||||
_export(_exportObj10);
|
|
||||||
}, function (_divergingPiYG) {
|
}, function (_divergingPiYG) {
|
||||||
var _exportObj11 = {};
|
_export({
|
||||||
_exportObj11.interpolatePiYG = _divergingPiYG.default;
|
interpolatePiYG: _divergingPiYG.default,
|
||||||
_exportObj11.schemePiYG = _divergingPiYG.scheme;
|
schemePiYG: _divergingPiYG.scheme
|
||||||
|
});
|
||||||
_export(_exportObj11);
|
|
||||||
}, function (_divergingPuOr) {
|
}, function (_divergingPuOr) {
|
||||||
var _exportObj12 = {};
|
_export({
|
||||||
_exportObj12.interpolatePuOr = _divergingPuOr.default;
|
interpolatePuOr: _divergingPuOr.default,
|
||||||
_exportObj12.schemePuOr = _divergingPuOr.scheme;
|
schemePuOr: _divergingPuOr.scheme
|
||||||
|
});
|
||||||
_export(_exportObj12);
|
|
||||||
}, function (_divergingRdBu) {
|
}, function (_divergingRdBu) {
|
||||||
var _exportObj13 = {};
|
_export({
|
||||||
_exportObj13.interpolateRdBu = _divergingRdBu.default;
|
interpolateRdBu: _divergingRdBu.default,
|
||||||
_exportObj13.schemeRdBu = _divergingRdBu.scheme;
|
schemeRdBu: _divergingRdBu.scheme
|
||||||
|
});
|
||||||
_export(_exportObj13);
|
|
||||||
}, function (_divergingRdGy) {
|
}, function (_divergingRdGy) {
|
||||||
var _exportObj14 = {};
|
_export({
|
||||||
_exportObj14.interpolateRdGy = _divergingRdGy.default;
|
interpolateRdGy: _divergingRdGy.default,
|
||||||
_exportObj14.schemeRdGy = _divergingRdGy.scheme;
|
schemeRdGy: _divergingRdGy.scheme
|
||||||
|
});
|
||||||
_export(_exportObj14);
|
|
||||||
}, function (_divergingRdYlBu) {
|
}, function (_divergingRdYlBu) {
|
||||||
var _exportObj15 = {};
|
_export({
|
||||||
_exportObj15.interpolateRdYlBu = _divergingRdYlBu.default;
|
interpolateRdYlBu: _divergingRdYlBu.default,
|
||||||
_exportObj15.schemeRdYlBu = _divergingRdYlBu.scheme;
|
schemeRdYlBu: _divergingRdYlBu.scheme
|
||||||
|
});
|
||||||
_export(_exportObj15);
|
|
||||||
}, function (_divergingRdYlGn) {
|
}, function (_divergingRdYlGn) {
|
||||||
var _exportObj16 = {};
|
_export({
|
||||||
_exportObj16.interpolateRdYlGn = _divergingRdYlGn.default;
|
interpolateRdYlGn: _divergingRdYlGn.default,
|
||||||
_exportObj16.schemeRdYlGn = _divergingRdYlGn.scheme;
|
schemeRdYlGn: _divergingRdYlGn.scheme
|
||||||
|
});
|
||||||
_export(_exportObj16);
|
|
||||||
}, function (_divergingGnYlRd) {
|
}, function (_divergingGnYlRd) {
|
||||||
var _exportObj17 = {};
|
_export({
|
||||||
_exportObj17.interpolateGnYlRd = _divergingGnYlRd.default;
|
interpolateGnYlRd: _divergingGnYlRd.default,
|
||||||
_exportObj17.schemeGnYlRd = _divergingGnYlRd.scheme;
|
schemeGnYlRd: _divergingGnYlRd.scheme
|
||||||
|
});
|
||||||
_export(_exportObj17);
|
|
||||||
}, function (_divergingSpectral) {
|
}, function (_divergingSpectral) {
|
||||||
var _exportObj18 = {};
|
_export({
|
||||||
_exportObj18.interpolateSpectral = _divergingSpectral.default;
|
interpolateSpectral: _divergingSpectral.default,
|
||||||
_exportObj18.schemeSpectral = _divergingSpectral.scheme;
|
schemeSpectral: _divergingSpectral.scheme
|
||||||
|
});
|
||||||
_export(_exportObj18);
|
|
||||||
}, function (_sequentialMultiBuGn) {
|
}, function (_sequentialMultiBuGn) {
|
||||||
var _exportObj19 = {};
|
_export({
|
||||||
_exportObj19.interpolateBuGn = _sequentialMultiBuGn.default;
|
interpolateBuGn: _sequentialMultiBuGn.default,
|
||||||
_exportObj19.schemeBuGn = _sequentialMultiBuGn.scheme;
|
schemeBuGn: _sequentialMultiBuGn.scheme
|
||||||
|
});
|
||||||
_export(_exportObj19);
|
|
||||||
}, function (_sequentialMultiBuPu) {
|
}, function (_sequentialMultiBuPu) {
|
||||||
var _exportObj20 = {};
|
_export({
|
||||||
_exportObj20.interpolateBuPu = _sequentialMultiBuPu.default;
|
interpolateBuPu: _sequentialMultiBuPu.default,
|
||||||
_exportObj20.schemeBuPu = _sequentialMultiBuPu.scheme;
|
schemeBuPu: _sequentialMultiBuPu.scheme
|
||||||
|
});
|
||||||
_export(_exportObj20);
|
|
||||||
}, function (_sequentialMultiGnBu) {
|
}, function (_sequentialMultiGnBu) {
|
||||||
var _exportObj21 = {};
|
_export({
|
||||||
_exportObj21.interpolateGnBu = _sequentialMultiGnBu.default;
|
interpolateGnBu: _sequentialMultiGnBu.default,
|
||||||
_exportObj21.schemeGnBu = _sequentialMultiGnBu.scheme;
|
schemeGnBu: _sequentialMultiGnBu.scheme
|
||||||
|
});
|
||||||
_export(_exportObj21);
|
|
||||||
}, function (_sequentialMultiOrRd) {
|
}, function (_sequentialMultiOrRd) {
|
||||||
var _exportObj22 = {};
|
_export({
|
||||||
_exportObj22.interpolateOrRd = _sequentialMultiOrRd.default;
|
interpolateOrRd: _sequentialMultiOrRd.default,
|
||||||
_exportObj22.schemeOrRd = _sequentialMultiOrRd.scheme;
|
schemeOrRd: _sequentialMultiOrRd.scheme
|
||||||
|
});
|
||||||
_export(_exportObj22);
|
|
||||||
}, function (_sequentialMultiPuBuGn) {
|
}, function (_sequentialMultiPuBuGn) {
|
||||||
var _exportObj23 = {};
|
_export({
|
||||||
_exportObj23.interpolatePuBuGn = _sequentialMultiPuBuGn.default;
|
interpolatePuBuGn: _sequentialMultiPuBuGn.default,
|
||||||
_exportObj23.schemePuBuGn = _sequentialMultiPuBuGn.scheme;
|
schemePuBuGn: _sequentialMultiPuBuGn.scheme
|
||||||
|
});
|
||||||
_export(_exportObj23);
|
|
||||||
}, function (_sequentialMultiPuBu) {
|
}, function (_sequentialMultiPuBu) {
|
||||||
var _exportObj24 = {};
|
_export({
|
||||||
_exportObj24.interpolatePuBu = _sequentialMultiPuBu.default;
|
interpolatePuBu: _sequentialMultiPuBu.default,
|
||||||
_exportObj24.schemePuBu = _sequentialMultiPuBu.scheme;
|
schemePuBu: _sequentialMultiPuBu.scheme
|
||||||
|
});
|
||||||
_export(_exportObj24);
|
|
||||||
}, function (_sequentialMultiPuRd) {
|
}, function (_sequentialMultiPuRd) {
|
||||||
var _exportObj25 = {};
|
_export({
|
||||||
_exportObj25.interpolatePuRd = _sequentialMultiPuRd.default;
|
interpolatePuRd: _sequentialMultiPuRd.default,
|
||||||
_exportObj25.schemePuRd = _sequentialMultiPuRd.scheme;
|
schemePuRd: _sequentialMultiPuRd.scheme
|
||||||
|
});
|
||||||
_export(_exportObj25);
|
|
||||||
}, function (_sequentialMultiRdPu) {
|
}, function (_sequentialMultiRdPu) {
|
||||||
var _exportObj26 = {};
|
_export({
|
||||||
_exportObj26.interpolateRdPu = _sequentialMultiRdPu.default;
|
interpolateRdPu: _sequentialMultiRdPu.default,
|
||||||
_exportObj26.schemeRdPu = _sequentialMultiRdPu.scheme;
|
schemeRdPu: _sequentialMultiRdPu.scheme
|
||||||
|
});
|
||||||
_export(_exportObj26);
|
|
||||||
}, function (_sequentialMultiYlGnBu) {
|
}, function (_sequentialMultiYlGnBu) {
|
||||||
var _exportObj27 = {};
|
_export({
|
||||||
_exportObj27.interpolateYlGnBu = _sequentialMultiYlGnBu.default;
|
interpolateYlGnBu: _sequentialMultiYlGnBu.default,
|
||||||
_exportObj27.schemeYlGnBu = _sequentialMultiYlGnBu.scheme;
|
schemeYlGnBu: _sequentialMultiYlGnBu.scheme
|
||||||
|
});
|
||||||
_export(_exportObj27);
|
|
||||||
}, function (_sequentialMultiYlGn) {
|
}, function (_sequentialMultiYlGn) {
|
||||||
var _exportObj28 = {};
|
_export({
|
||||||
_exportObj28.interpolateYlGn = _sequentialMultiYlGn.default;
|
interpolateYlGn: _sequentialMultiYlGn.default,
|
||||||
_exportObj28.schemeYlGn = _sequentialMultiYlGn.scheme;
|
schemeYlGn: _sequentialMultiYlGn.scheme
|
||||||
|
});
|
||||||
_export(_exportObj28);
|
|
||||||
}, function (_sequentialMultiYlOrBr) {
|
}, function (_sequentialMultiYlOrBr) {
|
||||||
var _exportObj29 = {};
|
_export({
|
||||||
_exportObj29.interpolateYlOrBr = _sequentialMultiYlOrBr.default;
|
interpolateYlOrBr: _sequentialMultiYlOrBr.default,
|
||||||
_exportObj29.schemeYlOrBr = _sequentialMultiYlOrBr.scheme;
|
schemeYlOrBr: _sequentialMultiYlOrBr.scheme
|
||||||
|
});
|
||||||
_export(_exportObj29);
|
|
||||||
}, function (_sequentialMultiYlOrRd) {
|
}, function (_sequentialMultiYlOrRd) {
|
||||||
var _exportObj30 = {};
|
_export({
|
||||||
_exportObj30.interpolateYlOrRd = _sequentialMultiYlOrRd.default;
|
interpolateYlOrRd: _sequentialMultiYlOrRd.default,
|
||||||
_exportObj30.schemeYlOrRd = _sequentialMultiYlOrRd.scheme;
|
schemeYlOrRd: _sequentialMultiYlOrRd.scheme
|
||||||
|
});
|
||||||
_export(_exportObj30);
|
|
||||||
}, function (_sequentialSingleBlues) {
|
}, function (_sequentialSingleBlues) {
|
||||||
var _exportObj31 = {};
|
_export({
|
||||||
_exportObj31.interpolateBlues = _sequentialSingleBlues.default;
|
interpolateBlues: _sequentialSingleBlues.default,
|
||||||
_exportObj31.schemeBlues = _sequentialSingleBlues.scheme;
|
schemeBlues: _sequentialSingleBlues.scheme
|
||||||
|
});
|
||||||
_export(_exportObj31);
|
|
||||||
}, function (_sequentialSingleGreens) {
|
}, function (_sequentialSingleGreens) {
|
||||||
var _exportObj32 = {};
|
_export({
|
||||||
_exportObj32.interpolateGreens = _sequentialSingleGreens.default;
|
interpolateGreens: _sequentialSingleGreens.default,
|
||||||
_exportObj32.schemeGreens = _sequentialSingleGreens.scheme;
|
schemeGreens: _sequentialSingleGreens.scheme
|
||||||
|
});
|
||||||
_export(_exportObj32);
|
|
||||||
}, function (_sequentialSingleGreys) {
|
}, function (_sequentialSingleGreys) {
|
||||||
var _exportObj33 = {};
|
_export({
|
||||||
_exportObj33.interpolateGreys = _sequentialSingleGreys.default;
|
interpolateGreys: _sequentialSingleGreys.default,
|
||||||
_exportObj33.schemeGreys = _sequentialSingleGreys.scheme;
|
schemeGreys: _sequentialSingleGreys.scheme
|
||||||
|
});
|
||||||
_export(_exportObj33);
|
|
||||||
}, function (_sequentialSinglePurples) {
|
}, function (_sequentialSinglePurples) {
|
||||||
var _exportObj34 = {};
|
_export({
|
||||||
_exportObj34.interpolatePurples = _sequentialSinglePurples.default;
|
interpolatePurples: _sequentialSinglePurples.default,
|
||||||
_exportObj34.schemePurples = _sequentialSinglePurples.scheme;
|
schemePurples: _sequentialSinglePurples.scheme
|
||||||
|
});
|
||||||
_export(_exportObj34);
|
|
||||||
}, function (_sequentialSingleReds) {
|
}, function (_sequentialSingleReds) {
|
||||||
var _exportObj35 = {};
|
_export({
|
||||||
_exportObj35.interpolateReds = _sequentialSingleReds.default;
|
interpolateReds: _sequentialSingleReds.default,
|
||||||
_exportObj35.schemeReds = _sequentialSingleReds.scheme;
|
schemeReds: _sequentialSingleReds.scheme
|
||||||
|
});
|
||||||
_export(_exportObj35);
|
|
||||||
}, function (_sequentialSingleOranges) {
|
}, function (_sequentialSingleOranges) {
|
||||||
var _exportObj36 = {};
|
_export({
|
||||||
_exportObj36.interpolateOranges = _sequentialSingleOranges.default;
|
interpolateOranges: _sequentialSingleOranges.default,
|
||||||
_exportObj36.schemeOranges = _sequentialSingleOranges.scheme;
|
schemeOranges: _sequentialSingleOranges.scheme
|
||||||
|
});
|
||||||
_export(_exportObj36);
|
|
||||||
}],
|
}],
|
||||||
execute: function () {}
|
execute: function () {}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
'use strict';
|
"use strict";
|
||||||
|
|
||||||
System.register(['d3'], function (_export, _context) {
|
System.register(["d3"], function (_export, _context) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var d3;
|
var d3;
|
||||||
|
|
||||||
_export('default', function (scheme) {
|
_export("default", function (scheme) {
|
||||||
return d3.interpolateRgbBasis(scheme[scheme.length - 1]);
|
return d3.interpolateRgbBasis(scheme[scheme.length - 1]);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../src/libs/d3-scale-chromatic/ramp.js"],"names":["scheme","d3","interpolateRgbBasis","length"],"mappings":";;;;;;;qBAEe,UAASA,MAAT,EAAiB;AAC9B,WAAOC,GAAGC,mBAAH,CAAuBF,OAAOA,OAAOG,MAAP,GAAgB,CAAvB,CAAvB,CAAP;AACD,G;;;;AAJMF,Q","file":"ramp.js","sourcesContent":["import d3 from 'd3';\n\nexport default function(scheme) {\n return d3.interpolateRgbBasis(scheme[scheme.length - 1]);\n}\n"]}
|
{"version":3,"sources":["../../../src/libs/d3-scale-chromatic/ramp.js"],"names":["scheme","d3","interpolateRgbBasis","length"],"mappings":";;;;;;;qBAEe,UAASA,MAAT,EAAiB;AAC9B,WAAOC,EAAE,CAACC,mBAAH,CAAuBF,MAAM,CAACA,MAAM,CAACG,MAAP,GAAgB,CAAjB,CAA7B,CAAP;AACD,G;;;;AAJMF,MAAAA,E","sourcesContent":["import d3 from 'd3';\n\nexport default function(scheme) {\n return d3.interpolateRgbBasis(scheme[scheme.length - 1]);\n}\n"],"file":"ramp.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("e5f5f999d8c92ca25f", "edf8fbb2e2e266c2a4238b45", "edf8fbb2e2e266c2a42ca25f006d2c", "edf8fbccece699d8c966c2a42ca25f006d2c", "edf8fbccece699d8c966c2a441ae76238b45005824", "f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824", "f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(colors));
|
_export("scheme", scheme = new Array(3).concat("e5f5f999d8c92ca25f", "edf8fbb2e2e266c2a4238b45", "edf8fbb2e2e266c2a42ca25f006d2c", "edf8fbccece699d8c966c2a42ca25f006d2c", "edf8fbccece699d8c966c2a441ae76238b45005824", "f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824", "f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/BuGn.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"BuGn.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"e5f5f999d8c92ca25f\",\n \"edf8fbb2e2e266c2a4238b45\",\n \"edf8fbb2e2e266c2a42ca25f006d2c\",\n \"edf8fbccece699d8c966c2a42ca25f006d2c\",\n \"edf8fbccece699d8c966c2a441ae76238b45005824\",\n \"f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824\",\n \"f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/BuGn.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;yBAULC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"e5f5f999d8c92ca25f\",\n \"edf8fbb2e2e266c2a4238b45\",\n \"edf8fbb2e2e266c2a42ca25f006d2c\",\n \"edf8fbccece699d8c966c2a42ca25f006d2c\",\n \"edf8fbccece699d8c966c2a441ae76238b45005824\",\n \"f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824\",\n \"f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"BuGn.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("e0ecf49ebcda8856a7", "edf8fbb3cde38c96c688419d", "edf8fbb3cde38c96c68856a7810f7c", "edf8fbbfd3e69ebcda8c96c68856a7810f7c", "edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b", "f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b", "f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(colors));
|
_export("scheme", scheme = new Array(3).concat("e0ecf49ebcda8856a7", "edf8fbb3cde38c96c688419d", "edf8fbb3cde38c96c68856a7810f7c", "edf8fbbfd3e69ebcda8c96c68856a7810f7c", "edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b", "f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b", "f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/BuPu.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"BuPu.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"e0ecf49ebcda8856a7\",\n \"edf8fbb3cde38c96c688419d\",\n \"edf8fbb3cde38c96c68856a7810f7c\",\n \"edf8fbbfd3e69ebcda8c96c68856a7810f7c\",\n \"edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b\",\n \"f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b\",\n \"f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/BuPu.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;yBAULC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"e0ecf49ebcda8856a7\",\n \"edf8fbb3cde38c96c688419d\",\n \"edf8fbb3cde38c96c68856a7810f7c\",\n \"edf8fbbfd3e69ebcda8c96c68856a7810f7c\",\n \"edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b\",\n \"f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b\",\n \"f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"BuPu.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("e0f3dba8ddb543a2ca", "f0f9e8bae4bc7bccc42b8cbe", "f0f9e8bae4bc7bccc443a2ca0868ac", "f0f9e8ccebc5a8ddb57bccc443a2ca0868ac", "f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e", "f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e", "f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(colors));
|
_export("scheme", scheme = new Array(3).concat("e0f3dba8ddb543a2ca", "f0f9e8bae4bc7bccc42b8cbe", "f0f9e8bae4bc7bccc443a2ca0868ac", "f0f9e8ccebc5a8ddb57bccc443a2ca0868ac", "f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e", "f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e", "f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/GnBu.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"GnBu.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"e0f3dba8ddb543a2ca\",\n \"f0f9e8bae4bc7bccc42b8cbe\",\n \"f0f9e8bae4bc7bccc443a2ca0868ac\",\n \"f0f9e8ccebc5a8ddb57bccc443a2ca0868ac\",\n \"f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e\",\n \"f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e\",\n \"f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/GnBu.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;yBAULC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"e0f3dba8ddb543a2ca\",\n \"f0f9e8bae4bc7bccc42b8cbe\",\n \"f0f9e8bae4bc7bccc443a2ca0868ac\",\n \"f0f9e8ccebc5a8ddb57bccc443a2ca0868ac\",\n \"f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e\",\n \"f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e\",\n \"f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"GnBu.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("fee8c8fdbb84e34a33", "fef0d9fdcc8afc8d59d7301f", "fef0d9fdcc8afc8d59e34a33b30000", "fef0d9fdd49efdbb84fc8d59e34a33b30000", "fef0d9fdd49efdbb84fc8d59ef6548d7301f990000", "fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000", "fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(colors));
|
_export("scheme", scheme = new Array(3).concat("fee8c8fdbb84e34a33", "fef0d9fdcc8afc8d59d7301f", "fef0d9fdcc8afc8d59e34a33b30000", "fef0d9fdd49efdbb84fc8d59e34a33b30000", "fef0d9fdd49efdbb84fc8d59ef6548d7301f990000", "fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000", "fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/OrRd.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"OrRd.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"fee8c8fdbb84e34a33\",\n \"fef0d9fdcc8afc8d59d7301f\",\n \"fef0d9fdcc8afc8d59e34a33b30000\",\n \"fef0d9fdd49efdbb84fc8d59e34a33b30000\",\n \"fef0d9fdd49efdbb84fc8d59ef6548d7301f990000\",\n \"fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000\",\n \"fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/OrRd.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;yBAULC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"fee8c8fdbb84e34a33\",\n \"fef0d9fdcc8afc8d59d7301f\",\n \"fef0d9fdcc8afc8d59e34a33b30000\",\n \"fef0d9fdd49efdbb84fc8d59e34a33b30000\",\n \"fef0d9fdd49efdbb84fc8d59ef6548d7301f990000\",\n \"fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000\",\n \"fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"OrRd.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("ece7f2a6bddb2b8cbe", "f1eef6bdc9e174a9cf0570b0", "f1eef6bdc9e174a9cf2b8cbe045a8d", "f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d", "f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b", "fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b", "fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(colors));
|
_export("scheme", scheme = new Array(3).concat("ece7f2a6bddb2b8cbe", "f1eef6bdc9e174a9cf0570b0", "f1eef6bdc9e174a9cf2b8cbe045a8d", "f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d", "f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b", "fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b", "fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/PuBu.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"PuBu.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"ece7f2a6bddb2b8cbe\",\n \"f1eef6bdc9e174a9cf0570b0\",\n \"f1eef6bdc9e174a9cf2b8cbe045a8d\",\n \"f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d\",\n \"f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b\",\n \"fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b\",\n \"fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/PuBu.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;yBAULC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"ece7f2a6bddb2b8cbe\",\n \"f1eef6bdc9e174a9cf0570b0\",\n \"f1eef6bdc9e174a9cf2b8cbe045a8d\",\n \"f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d\",\n \"f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b\",\n \"fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b\",\n \"fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"PuBu.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("ece2f0a6bddb1c9099", "f6eff7bdc9e167a9cf02818a", "f6eff7bdc9e167a9cf1c9099016c59", "f6eff7d0d1e6a6bddb67a9cf1c9099016c59", "f6eff7d0d1e6a6bddb67a9cf3690c002818a016450", "fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450", "fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(colors));
|
_export("scheme", scheme = new Array(3).concat("ece2f0a6bddb1c9099", "f6eff7bdc9e167a9cf02818a", "f6eff7bdc9e167a9cf1c9099016c59", "f6eff7d0d1e6a6bddb67a9cf1c9099016c59", "f6eff7d0d1e6a6bddb67a9cf3690c002818a016450", "fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450", "fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/PuBuGn.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"PuBuGn.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"ece2f0a6bddb1c9099\",\n \"f6eff7bdc9e167a9cf02818a\",\n \"f6eff7bdc9e167a9cf1c9099016c59\",\n \"f6eff7d0d1e6a6bddb67a9cf1c9099016c59\",\n \"f6eff7d0d1e6a6bddb67a9cf3690c002818a016450\",\n \"fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450\",\n \"fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/PuBuGn.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;yBAULC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"ece2f0a6bddb1c9099\",\n \"f6eff7bdc9e167a9cf02818a\",\n \"f6eff7bdc9e167a9cf1c9099016c59\",\n \"f6eff7d0d1e6a6bddb67a9cf1c9099016c59\",\n \"f6eff7d0d1e6a6bddb67a9cf3690c002818a016450\",\n \"fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450\",\n \"fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"PuBuGn.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("e7e1efc994c7dd1c77", "f1eef6d7b5d8df65b0ce1256", "f1eef6d7b5d8df65b0dd1c77980043", "f1eef6d4b9dac994c7df65b0dd1c77980043", "f1eef6d4b9dac994c7df65b0e7298ace125691003f", "f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f", "f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(colors));
|
_export("scheme", scheme = new Array(3).concat("e7e1efc994c7dd1c77", "f1eef6d7b5d8df65b0ce1256", "f1eef6d7b5d8df65b0dd1c77980043", "f1eef6d4b9dac994c7df65b0dd1c77980043", "f1eef6d4b9dac994c7df65b0e7298ace125691003f", "f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f", "f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/PuRd.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"PuRd.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"e7e1efc994c7dd1c77\",\n \"f1eef6d7b5d8df65b0ce1256\",\n \"f1eef6d7b5d8df65b0dd1c77980043\",\n \"f1eef6d4b9dac994c7df65b0dd1c77980043\",\n \"f1eef6d4b9dac994c7df65b0e7298ace125691003f\",\n \"f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f\",\n \"f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/PuRd.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;yBAULC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"e7e1efc994c7dd1c77\",\n \"f1eef6d7b5d8df65b0ce1256\",\n \"f1eef6d7b5d8df65b0dd1c77980043\",\n \"f1eef6d4b9dac994c7df65b0dd1c77980043\",\n \"f1eef6d4b9dac994c7df65b0e7298ace125691003f\",\n \"f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f\",\n \"f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"PuRd.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("fde0ddfa9fb5c51b8a", "feebe2fbb4b9f768a1ae017e", "feebe2fbb4b9f768a1c51b8a7a0177", "feebe2fcc5c0fa9fb5f768a1c51b8a7a0177", "feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177", "fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177", "fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(colors));
|
_export("scheme", scheme = new Array(3).concat("fde0ddfa9fb5c51b8a", "feebe2fbb4b9f768a1ae017e", "feebe2fbb4b9f768a1c51b8a7a0177", "feebe2fcc5c0fa9fb5f768a1c51b8a7a0177", "feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177", "fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177", "fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/RdPu.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"RdPu.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"fde0ddfa9fb5c51b8a\",\n \"feebe2fbb4b9f768a1ae017e\",\n \"feebe2fbb4b9f768a1c51b8a7a0177\",\n \"feebe2fcc5c0fa9fb5f768a1c51b8a7a0177\",\n \"feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177\",\n \"fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177\",\n \"fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/RdPu.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;yBAULC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"fde0ddfa9fb5c51b8a\",\n \"feebe2fbb4b9f768a1ae017e\",\n \"feebe2fbb4b9f768a1c51b8a7a0177\",\n \"feebe2fcc5c0fa9fb5f768a1c51b8a7a0177\",\n \"feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177\",\n \"fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177\",\n \"fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"RdPu.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("f7fcb9addd8e31a354", "ffffccc2e69978c679238443", "ffffccc2e69978c67931a354006837", "ffffccd9f0a3addd8e78c67931a354006837", "ffffccd9f0a3addd8e78c67941ab5d238443005a32", "ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32", "ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(colors));
|
_export("scheme", scheme = new Array(3).concat("f7fcb9addd8e31a354", "ffffccc2e69978c679238443", "ffffccc2e69978c67931a354006837", "ffffccd9f0a3addd8e78c67931a354006837", "ffffccd9f0a3addd8e78c67941ab5d238443005a32", "ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32", "ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/YlGn.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"YlGn.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"f7fcb9addd8e31a354\",\n \"ffffccc2e69978c679238443\",\n \"ffffccc2e69978c67931a354006837\",\n \"ffffccd9f0a3addd8e78c67931a354006837\",\n \"ffffccd9f0a3addd8e78c67941ab5d238443005a32\",\n \"ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32\",\n \"ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/YlGn.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;yBAULC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"f7fcb9addd8e31a354\",\n \"ffffccc2e69978c679238443\",\n \"ffffccc2e69978c67931a354006837\",\n \"ffffccd9f0a3addd8e78c67931a354006837\",\n \"ffffccd9f0a3addd8e78c67941ab5d238443005a32\",\n \"ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32\",\n \"ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"YlGn.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("edf8b17fcdbb2c7fb8", "ffffcca1dab441b6c4225ea8", "ffffcca1dab441b6c42c7fb8253494", "ffffccc7e9b47fcdbb41b6c42c7fb8253494", "ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84", "ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84", "ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(colors));
|
_export("scheme", scheme = new Array(3).concat("edf8b17fcdbb2c7fb8", "ffffcca1dab441b6c4225ea8", "ffffcca1dab441b6c42c7fb8253494", "ffffccc7e9b47fcdbb41b6c42c7fb8253494", "ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84", "ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84", "ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/YlGnBu.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"YlGnBu.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"edf8b17fcdbb2c7fb8\",\n \"ffffcca1dab441b6c4225ea8\",\n \"ffffcca1dab441b6c42c7fb8253494\",\n \"ffffccc7e9b47fcdbb41b6c42c7fb8253494\",\n \"ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84\",\n \"ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84\",\n \"ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/YlGnBu.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;yBAULC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"edf8b17fcdbb2c7fb8\",\n \"ffffcca1dab441b6c4225ea8\",\n \"ffffcca1dab441b6c42c7fb8253494\",\n \"ffffccc7e9b47fcdbb41b6c42c7fb8253494\",\n \"ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84\",\n \"ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84\",\n \"ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"YlGnBu.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("fff7bcfec44fd95f0e", "ffffd4fed98efe9929cc4c02", "ffffd4fed98efe9929d95f0e993404", "ffffd4fee391fec44ffe9929d95f0e993404", "ffffd4fee391fec44ffe9929ec7014cc4c028c2d04", "ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04", "ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(colors));
|
_export("scheme", scheme = new Array(3).concat("fff7bcfec44fd95f0e", "ffffd4fed98efe9929cc4c02", "ffffd4fed98efe9929d95f0e993404", "ffffd4fee391fec44ffe9929d95f0e993404", "ffffd4fee391fec44ffe9929ec7014cc4c028c2d04", "ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04", "ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/YlOrBr.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"YlOrBr.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"fff7bcfec44fd95f0e\",\n \"ffffd4fed98efe9929cc4c02\",\n \"ffffd4fed98efe9929d95f0e993404\",\n \"ffffd4fee391fec44ffe9929d95f0e993404\",\n \"ffffd4fee391fec44ffe9929ec7014cc4c028c2d04\",\n \"ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04\",\n \"ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/YlOrBr.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;yBAULC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"fff7bcfec44fd95f0e\",\n \"ffffd4fed98efe9929cc4c02\",\n \"ffffd4fed98efe9929d95f0e993404\",\n \"ffffd4fee391fec44ffe9929d95f0e993404\",\n \"ffffd4fee391fec44ffe9929ec7014cc4c028c2d04\",\n \"ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04\",\n \"ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"YlOrBr.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("ffeda0feb24cf03b20", "ffffb2fecc5cfd8d3ce31a1c", "ffffb2fecc5cfd8d3cf03b20bd0026", "ffffb2fed976feb24cfd8d3cf03b20bd0026", "ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026", "ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026", "ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(colors));
|
_export("scheme", scheme = new Array(3).concat("ffeda0feb24cf03b20", "ffffb2fecc5cfd8d3ce31a1c", "ffffb2fecc5cfd8d3cf03b20bd0026", "ffffb2fed976feb24cfd8d3cf03b20bd0026", "ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026", "ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026", "ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/YlOrRd.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"YlOrRd.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"ffeda0feb24cf03b20\",\n \"ffffb2fecc5cfd8d3ce31a1c\",\n \"ffffb2fecc5cfd8d3cf03b20bd0026\",\n \"ffffb2fed976feb24cfd8d3cf03b20bd0026\",\n \"ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026\",\n \"ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026\",\n \"ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-multi/YlOrRd.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;yBAULC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"ffeda0feb24cf03b20\",\n \"ffffb2fecc5cfd8d3ce31a1c\",\n \"ffffb2fecc5cfd8d3cf03b20bd0026\",\n \"ffffb2fed976feb24cfd8d3cf03b20bd0026\",\n \"ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026\",\n \"ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026\",\n \"ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"YlOrRd.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("deebf79ecae13182bd", "eff3ffbdd7e76baed62171b5", "eff3ffbdd7e76baed63182bd08519c", "eff3ffc6dbef9ecae16baed63182bd08519c", "eff3ffc6dbef9ecae16baed64292c62171b5084594", "f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594", "f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(colors));
|
_export("scheme", scheme = new Array(3).concat("deebf79ecae13182bd", "eff3ffbdd7e76baed62171b5", "eff3ffbdd7e76baed63182bd08519c", "eff3ffc6dbef9ecae16baed63182bd08519c", "eff3ffc6dbef9ecae16baed64292c62171b5084594", "f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594", "f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-single/Blues.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"Blues.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"deebf79ecae13182bd\",\n \"eff3ffbdd7e76baed62171b5\",\n \"eff3ffbdd7e76baed63182bd08519c\",\n \"eff3ffc6dbef9ecae16baed63182bd08519c\",\n \"eff3ffc6dbef9ecae16baed64292c62171b5084594\",\n \"f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594\",\n \"f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-single/Blues.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;yBAULC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"deebf79ecae13182bd\",\n \"eff3ffbdd7e76baed62171b5\",\n \"eff3ffbdd7e76baed63182bd08519c\",\n \"eff3ffc6dbef9ecae16baed63182bd08519c\",\n \"eff3ffc6dbef9ecae16baed64292c62171b5084594\",\n \"f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594\",\n \"f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"Blues.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("e5f5e0a1d99b31a354", "edf8e9bae4b374c476238b45", "edf8e9bae4b374c47631a354006d2c", "edf8e9c7e9c0a1d99b74c47631a354006d2c", "edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32", "f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32", "f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(colors));
|
_export("scheme", scheme = new Array(3).concat("e5f5e0a1d99b31a354", "edf8e9bae4b374c476238b45", "edf8e9bae4b374c47631a354006d2c", "edf8e9c7e9c0a1d99b74c47631a354006d2c", "edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32", "f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32", "f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-single/Greens.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"Greens.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"e5f5e0a1d99b31a354\",\n \"edf8e9bae4b374c476238b45\",\n \"edf8e9bae4b374c47631a354006d2c\",\n \"edf8e9c7e9c0a1d99b74c47631a354006d2c\",\n \"edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32\",\n \"f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32\",\n \"f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-single/Greens.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;yBAULC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"e5f5e0a1d99b31a354\",\n \"edf8e9bae4b374c476238b45\",\n \"edf8e9bae4b374c47631a354006d2c\",\n \"edf8e9c7e9c0a1d99b74c47631a354006d2c\",\n \"edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32\",\n \"f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32\",\n \"f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"Greens.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("f0f0f0bdbdbd636363", "f7f7f7cccccc969696525252", "f7f7f7cccccc969696636363252525", "f7f7f7d9d9d9bdbdbd969696636363252525", "f7f7f7d9d9d9bdbdbd969696737373525252252525", "fffffff0f0f0d9d9d9bdbdbd969696737373525252252525", "fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(colors));
|
_export("scheme", scheme = new Array(3).concat("f0f0f0bdbdbd636363", "f7f7f7cccccc969696525252", "f7f7f7cccccc969696636363252525", "f7f7f7d9d9d9bdbdbd969696636363252525", "f7f7f7d9d9d9bdbdbd969696737373525252252525", "fffffff0f0f0d9d9d9bdbdbd969696737373525252252525", "fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-single/Greys.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"Greys.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"f0f0f0bdbdbd636363\",\n \"f7f7f7cccccc969696525252\",\n \"f7f7f7cccccc969696636363252525\",\n \"f7f7f7d9d9d9bdbdbd969696636363252525\",\n \"f7f7f7d9d9d9bdbdbd969696737373525252252525\",\n \"fffffff0f0f0d9d9d9bdbdbd969696737373525252252525\",\n \"fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-single/Greys.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;yBAULC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"f0f0f0bdbdbd636363\",\n \"f7f7f7cccccc969696525252\",\n \"f7f7f7cccccc969696636363252525\",\n \"f7f7f7d9d9d9bdbdbd969696636363252525\",\n \"f7f7f7d9d9d9bdbdbd969696737373525252252525\",\n \"fffffff0f0f0d9d9d9bdbdbd969696737373525252252525\",\n \"fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"Greys.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("fee6cefdae6be6550d", "feeddefdbe85fd8d3cd94701", "feeddefdbe85fd8d3ce6550da63603", "feeddefdd0a2fdae6bfd8d3ce6550da63603", "feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04", "fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04", "fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(colors));
|
_export("scheme", scheme = new Array(3).concat("fee6cefdae6be6550d", "feeddefdbe85fd8d3cd94701", "feeddefdbe85fd8d3ce6550da63603", "feeddefdd0a2fdae6bfd8d3ce6550da63603", "feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04", "fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04", "fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-single/Oranges.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"Oranges.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"fee6cefdae6be6550d\",\n \"feeddefdbe85fd8d3cd94701\",\n \"feeddefdbe85fd8d3ce6550da63603\",\n \"feeddefdd0a2fdae6bfd8d3ce6550da63603\",\n \"feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04\",\n \"fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04\",\n \"fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-single/Oranges.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;yBAULC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"fee6cefdae6be6550d\",\n \"feeddefdbe85fd8d3cd94701\",\n \"feeddefdbe85fd8d3ce6550da63603\",\n \"feeddefdd0a2fdae6bfd8d3ce6550da63603\",\n \"feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04\",\n \"fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04\",\n \"fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"Oranges.js"}
|
||||||
@@ -13,8 +13,6 @@ System.register(["../colors", "../ramp"], function (_export, _context) {
|
|||||||
execute: function () {
|
execute: function () {
|
||||||
_export("scheme", scheme = new Array(3).concat("efedf5bcbddc756bb1", "f2f0f7cbc9e29e9ac86a51a3", "f2f0f7cbc9e29e9ac8756bb154278f", "f2f0f7dadaebbcbddc9e9ac8756bb154278f", "f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486", "fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486", "fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(colors));
|
_export("scheme", scheme = new Array(3).concat("efedf5bcbddc756bb1", "f2f0f7cbc9e29e9ac86a51a3", "f2f0f7cbc9e29e9ac8756bb154278f", "f2f0f7dadaebbcbddc9e9ac8756bb154278f", "f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486", "fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486", "fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(colors));
|
||||||
|
|
||||||
_export("scheme", scheme);
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
_export("default", ramp(scheme));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-single/Purples.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"Purples.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"efedf5bcbddc756bb1\",\n \"f2f0f7cbc9e29e9ac86a51a3\",\n \"f2f0f7cbc9e29e9ac8756bb154278f\",\n \"f2f0f7dadaebbcbddc9e9ac8756bb154278f\",\n \"f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486\",\n \"fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486\",\n \"fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
|
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/sequential-single/Purples.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,MAAAA,M;;AACAC,MAAAA,I;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;yBAULC,IAAI,CAACC,MAAD,C","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"efedf5bcbddc756bb1\",\n \"f2f0f7cbc9e29e9ac86a51a3\",\n \"f2f0f7cbc9e29e9ac8756bb154278f\",\n \"f2f0f7dadaebbcbddc9e9ac8756bb154278f\",\n \"f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486\",\n \"fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486\",\n \"fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d\"\n).map(colors);\n\nexport default ramp(scheme);\n"],"file":"Purples.js"}
|
||||||