mirror of
https://github.com/timberjoegithub/grafana-statusmap.git
synced 2026-07-21 23:42:03 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bc96037286 | ||
|
|
ba27b10638 | ||
|
|
c943700efb | ||
|
|
1a8a281d28 | ||
|
|
36042a6daf | ||
|
|
0b5ce0831e | ||
|
|
c1a3b91082 | ||
|
|
3f8929f672 | ||
|
|
26cbec8efd | ||
|
|
74dd7ca41e | ||
|
|
d5bf7d6f54 | ||
|
|
e63246c04c | ||
|
|
a1710ef8f1 | ||
|
|
f55406def3 | ||
|
|
a3983b8378 | ||
|
|
e95cd6095a | ||
|
|
93b92b1570 | ||
|
|
e2c3766650 | ||
|
|
6c887e5ba4 | ||
|
|
6d1fc9c012 | ||
|
|
f90015723a | ||
|
|
15d9132cbe | ||
|
|
e9e36d7f39 | ||
|
|
6372ddf8df | ||
|
|
8c28d33af4 | ||
|
|
8915d5c843 | ||
|
|
9237d7c630 | ||
|
|
c34584bdfd | ||
|
|
7ca70569b1 | ||
|
|
87675e2bcc | ||
|
|
a69a92d006 | ||
|
|
cf6f649854 | ||
|
|
60b3701394 | ||
|
|
47655959d2 | ||
|
|
99b9969b2b | ||
|
|
9bf1617594 | ||
|
|
bd1c7004b5 | ||
|
|
b25f376f4e | ||
|
|
cf28c74069 | ||
|
|
e987dee850 | ||
|
|
669033b100 | ||
|
|
6bda6de03a | ||
|
|
fa80d4a3dc | ||
|
|
a7a82ff3f5 | ||
|
|
c234a49792 |
@@ -0,0 +1,16 @@
|
|||||||
|
# http://editorconfig.org
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
charset = utf-8
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = true
|
||||||
|
max_line_length = 120
|
||||||
|
|
||||||
|
[*.{js,ts,tsx,scss}]
|
||||||
|
quote_type = single
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
trim_trailing_whitespace = false
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
name: 🐛 Bug report
|
||||||
|
about: Report a bug you found when using flant-statusmap-panel
|
||||||
|
labels: 'bug'
|
||||||
|
---
|
||||||
|
<!--
|
||||||
|
Thank you for sending a bug report! Here are some tips:
|
||||||
|
|
||||||
|
1. Please fill out the template below to make it easier to debug your problem.
|
||||||
|
2. If you are not sure if it is a bug or not, you can ask in Discussions.
|
||||||
|
|
||||||
|
PROTIP: record your screen and attach it as a gif to showcase the issue.
|
||||||
|
|
||||||
|
- Questions should be posted to: https://github.com/flant/grafana-statusmap/discussions
|
||||||
|
- Use query inspector to troubleshoot issues: https://bit.ly/2XNF6YS
|
||||||
|
- How to record and attach gif: https://bit.ly/2Mi8T6K
|
||||||
|
-->
|
||||||
|
|
||||||
|
**What happened**:
|
||||||
|
|
||||||
|
**What you expected to happen**:
|
||||||
|
|
||||||
|
**How to reproduce it (as minimally and precisely as possible)**:
|
||||||
|
|
||||||
|
**Environment**:
|
||||||
|
- Grafana version:
|
||||||
|
- flant-statusmap-panel version:
|
||||||
|
- Data source type & version:
|
||||||
|
- OS Grafana is installed on:
|
||||||
|
- User OS & Browser:
|
||||||
|
- Grafana plugins:
|
||||||
|
- Others:
|
||||||
|
|
||||||
|
**Anything else we should know?**:
|
||||||
|
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
name: 💡 Feature request
|
||||||
|
about: Suggest an idea for flant-statusmap-panel
|
||||||
|
labels: 'enhancement'
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- Please only use this template for submitting feature requests. -->
|
||||||
|
|
||||||
|
**What would you like to be added**:
|
||||||
|
|
||||||
|
**Why is this needed**:
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
blank_issues_enabled: false
|
||||||
|
contact_links:
|
||||||
|
- name: 💬 Questions & Help
|
||||||
|
url: https://github.com/flant/grafana-statusmap/discussions
|
||||||
|
about: Please ask and answer questions here
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
<!--
|
||||||
|
Thank you for sending a pull request! Here some tips for contributors:
|
||||||
|
|
||||||
|
1. Fill the description template below.
|
||||||
|
2. Include appropriate tests (if necessary). Make sure that all CI checks passed.
|
||||||
|
3. If the Pull Request is a work in progress, make use of GitHub's "Draft PR" feature and mark it as such.
|
||||||
|
-->
|
||||||
|
|
||||||
|
#### Overview
|
||||||
|
|
||||||
|
<!-- Describe your changes briefly here. -->
|
||||||
|
|
||||||
|
#### What this PR does / why we need it
|
||||||
|
|
||||||
|
<!--
|
||||||
|
- Please state in detail why we need this PR and what it solves.
|
||||||
|
- If your PR closes some of the existing issues, please add links to them here.
|
||||||
|
Mentioned issues will be automatically closed.
|
||||||
|
Usage: "Closes #<issue number>", or "Closes (paste link of issue)"
|
||||||
|
-->
|
||||||
|
|
||||||
|
#### Special notes for your reviewer
|
||||||
|
|
||||||
|
#### Does this PR introduce a user-facing change?
|
||||||
|
|
||||||
|
<!--
|
||||||
|
If no, just write "NONE" in the release-note block below.
|
||||||
|
If yes, a release note is required:
|
||||||
|
Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required".
|
||||||
|
-->
|
||||||
|
|
||||||
|
```release-note
|
||||||
|
|
||||||
|
```
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
# Maintain dependencies for GitHub Actions
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "daily"
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2.3.4
|
||||||
|
|
||||||
|
- name: Setup Node.js environment
|
||||||
|
uses: actions/setup-node@v2.2.0
|
||||||
|
with:
|
||||||
|
node-version: "14.x"
|
||||||
|
|
||||||
|
- name: Get yarn cache directory path
|
||||||
|
id: yarn-cache-dir-path
|
||||||
|
run: echo "::set-output name=dir::$(yarn cache dir)"
|
||||||
|
|
||||||
|
- name: Cache yarn cache
|
||||||
|
uses: actions/cache@v2.1.6
|
||||||
|
id: cache-yarn-cache
|
||||||
|
with:
|
||||||
|
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
||||||
|
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-yarn-
|
||||||
|
|
||||||
|
- name: Cache node_modules
|
||||||
|
id: cache-node-modules
|
||||||
|
uses: actions/cache@v2.1.6
|
||||||
|
with:
|
||||||
|
path: node_modules
|
||||||
|
key: ${{ runner.os }}-${{ matrix.node-version }}-nodemodules-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-${{ matrix.node-version }}-nodemodules-
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: yarn install --frozen-lockfile
|
||||||
|
|
||||||
|
- name: Build and test frontend
|
||||||
|
run: yarn build
|
||||||
@@ -0,0 +1,148 @@
|
|||||||
|
name: Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "v*.*.*" # Run workflow on version tags, e.g. v1.0.0.
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2.3.4
|
||||||
|
|
||||||
|
- name: Setup Node.js environment
|
||||||
|
uses: actions/setup-node@v2.2.0
|
||||||
|
with:
|
||||||
|
node-version: "14.x"
|
||||||
|
|
||||||
|
- name: Setup Go environment
|
||||||
|
uses: actions/setup-go@v2
|
||||||
|
with:
|
||||||
|
go-version: "1.15"
|
||||||
|
|
||||||
|
- name: Get yarn cache directory path
|
||||||
|
id: yarn-cache-dir-path
|
||||||
|
run: echo "::set-output name=dir::$(yarn cache dir)"
|
||||||
|
|
||||||
|
- name: Cache yarn cache
|
||||||
|
uses: actions/cache@v2.1.6
|
||||||
|
id: cache-yarn-cache
|
||||||
|
with:
|
||||||
|
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
||||||
|
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-yarn-
|
||||||
|
|
||||||
|
- name: Cache node_modules
|
||||||
|
id: cache-node-modules
|
||||||
|
uses: actions/cache@v2.1.6
|
||||||
|
with:
|
||||||
|
path: node_modules
|
||||||
|
key: ${{ runner.os }}-${{ matrix.node-version }}-nodemodules-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-${{ matrix.node-version }}-nodemodules-
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: yarn install --frozen-lockfile;
|
||||||
|
if: |
|
||||||
|
steps.cache-yarn-cache.outputs.cache-hit != 'true' ||
|
||||||
|
steps.cache-node-modules.outputs.cache-hit != 'true'
|
||||||
|
|
||||||
|
- name: Build and test frontend
|
||||||
|
run: yarn build
|
||||||
|
|
||||||
|
- name: Sign plugin
|
||||||
|
run: yarn sign
|
||||||
|
env:
|
||||||
|
GRAFANA_API_KEY: ${{ secrets.GRAFANA_API_KEY }} # Requires a Grafana API key from Grafana.com.
|
||||||
|
|
||||||
|
- name: Get plugin metadata
|
||||||
|
id: metadata
|
||||||
|
run: |
|
||||||
|
sudo apt-get install jq
|
||||||
|
|
||||||
|
export GRAFANA_PLUGIN_ID=$(cat dist/plugin.json | jq -r .id)
|
||||||
|
export GRAFANA_PLUGIN_VERSION=$(cat dist/plugin.json | jq -r .info.version)
|
||||||
|
export GRAFANA_PLUGIN_TYPE=$(cat dist/plugin.json | jq -r .type)
|
||||||
|
export GRAFANA_PLUGIN_UPDATED=$(cat dist/plugin.json | jq -r .info.updated)
|
||||||
|
export GRAFANA_PLUGIN_ARTIFACT=${GRAFANA_PLUGIN_ID}-${GRAFANA_PLUGIN_VERSION}.zip
|
||||||
|
export GRAFANA_PLUGIN_ARTIFACT_CHECKSUM=${GRAFANA_PLUGIN_ARTIFACT}.md5
|
||||||
|
export GRAFANA_PLUGIN_RELEASE_NAME="${GRAFANA_PLUGIN_VERSION} (${GRAFANA_PLUGIN_UPDATED})"
|
||||||
|
|
||||||
|
echo "::set-output name=plugin-id::${GRAFANA_PLUGIN_ID}"
|
||||||
|
echo "::set-output name=plugin-version::${GRAFANA_PLUGIN_VERSION}"
|
||||||
|
echo "::set-output name=plugin-type::${GRAFANA_PLUGIN_TYPE}"
|
||||||
|
echo "::set-output name=archive::${GRAFANA_PLUGIN_ARTIFACT}"
|
||||||
|
echo "::set-output name=archive-checksum::${GRAFANA_PLUGIN_ARTIFACT_CHECKSUM}"
|
||||||
|
echo "::set-output name=release-name::${GRAFANA_PLUGIN_RELEASE_NAME}"
|
||||||
|
|
||||||
|
echo ::set-output name=github-tag::${GITHUB_REF#refs/*/}
|
||||||
|
|
||||||
|
- name: Read changelog
|
||||||
|
id: changelog
|
||||||
|
run: |
|
||||||
|
# Get the latest section in CHANGELOG without it's header.
|
||||||
|
awk '/^$/{next} /^## / {s++;next} s == 1 {print}' CHANGELOG.md > release_notes.md
|
||||||
|
echo "::set-output name=path::release_notes.md"
|
||||||
|
|
||||||
|
- name: Check package version
|
||||||
|
run: if [ "v${{ steps.metadata.outputs.plugin-version }}" != "${{ steps.metadata.outputs.github-tag }}" ]; then printf "\033[0;31mPlugin version doesn't match tag name\033[0m\n"; exit 1; fi
|
||||||
|
|
||||||
|
- name: Package plugin
|
||||||
|
id: package-plugin
|
||||||
|
run: |
|
||||||
|
mv dist ${{ steps.metadata.outputs.plugin-id }}
|
||||||
|
zip ${{ steps.metadata.outputs.archive }} ${{ steps.metadata.outputs.plugin-id }} -r
|
||||||
|
md5sum ${{ steps.metadata.outputs.archive }} > ${{ steps.metadata.outputs.archive-checksum }}
|
||||||
|
echo "::set-output name=checksum::$(cat ./${{ steps.metadata.outputs.archive-checksum }} | cut -d' ' -f1)"
|
||||||
|
|
||||||
|
- name: Lint plugin
|
||||||
|
run: |
|
||||||
|
git clone https://github.com/grafana/plugin-validator
|
||||||
|
pushd ./plugin-validator/cmd/plugincheck
|
||||||
|
go install
|
||||||
|
popd
|
||||||
|
# Ignore error about twitter.com link :(
|
||||||
|
# (https://twitter.com/flant_com) (`400 Bad Request`).
|
||||||
|
plugincheck ${{ steps.metadata.outputs.archive }} || true
|
||||||
|
|
||||||
|
- name: Create release
|
||||||
|
id: create_release
|
||||||
|
uses: actions/create-release@v1.1.4
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
tag_name: ${{ github.ref }}
|
||||||
|
release_name: ${{ steps.metadata.outputs.release-name }}
|
||||||
|
body_path: ${{ steps.changelog.outputs.path }}
|
||||||
|
draft: true
|
||||||
|
|
||||||
|
- name: Add plugin to release
|
||||||
|
id: upload-plugin-asset
|
||||||
|
uses: actions/upload-release-asset@v1.0.2
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
|
asset_path: ./${{ steps.metadata.outputs.archive }}
|
||||||
|
asset_name: ${{ steps.metadata.outputs.archive }}
|
||||||
|
asset_content_type: application/zip
|
||||||
|
|
||||||
|
- name: Add checksum to release
|
||||||
|
id: upload-checksum-asset
|
||||||
|
uses: actions/upload-release-asset@v1.0.2
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
|
asset_path: ./${{ steps.metadata.outputs.archive-checksum }}
|
||||||
|
asset_name: ${{ steps.metadata.outputs.archive-checksum }}
|
||||||
|
asset_content_type: text/plain
|
||||||
|
|
||||||
|
- name: Publish to Grafana.com
|
||||||
|
run: |
|
||||||
|
echo A draft release has been created for your plugin. Please review and publish it. Then submit your plugin to grafana.com/plugins by opening a PR to https://github.com/grafana/grafana-plugin-repository with the following entry:
|
||||||
|
echo
|
||||||
|
echo '{ "id": "${{ steps.metadata.outputs.plugin-id }}", "type": "${{ steps.metadata.outputs.plugin-type }}", "url": "https://github.com/${{ github.repository }}", "versions": [ { "version": "${{ steps.metadata.outputs.plugin-version }}", "commit": "${{ github.sha }}", "url": "https://github.com/${{ github.repository }}", "download": { "any": { "url": "https://github.com/${{ github.repository }}/releases/download/v${{ steps.metadata.outputs.plugin-version }}/${{ steps.metadata.outputs.archive }}", "md5": "${{ steps.package-plugin.outputs.checksum }}" } } } ] }' | jq .
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
|
dist
|
||||||
node_modules
|
node_modules
|
||||||
.jshintrc
|
.jshintrc
|
||||||
.idea
|
.idea
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
module.exports = {
|
||||||
|
...require('./node_modules/@grafana/toolkit/src/config/prettier.plugin.config.json'),
|
||||||
|
};
|
||||||
@@ -1,5 +1,21 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## v0.4.1
|
||||||
|
|
||||||
|
- Fix regression in discrete mode. "Data has value with undefined color"
|
||||||
|
|
||||||
|
## v0.4.0
|
||||||
|
|
||||||
|
- Add __y_label_trim variable for tooltip items.
|
||||||
|
- Add y-label splitter for tooltip items.
|
||||||
|
- Add custom content for toolip.
|
||||||
|
- Fix to work with Grafana 7.4.x.
|
||||||
|
- Migrate to grafana-toolkit and yarn to build and sign.
|
||||||
|
- Cleanup dist directory content, reduce compiled plugin size, remove dist from repository.
|
||||||
|
- Code cleanup: fix huge amount of linter errors and warnings.
|
||||||
|
- Add Github Actions configuration to automate release process.
|
||||||
|
- Add unobtrusive branding.
|
||||||
|
|
||||||
## v0.3.4
|
## v0.3.4
|
||||||
|
|
||||||
- Fix to work in Grafana 7.2.0,7.2.1
|
- Fix to work in Grafana 7.2.0,7.2.1
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
# Development
|
||||||
|
|
||||||
|
To test and improve the plugin you can run local Grafana instance in Docker container:
|
||||||
|
|
||||||
|
```
|
||||||
|
git clone https://github.com/flant/grafana-statusmap.git
|
||||||
|
cd grafana-statusmap
|
||||||
|
docker run --rm -it -v $PWD:/var/lib/grafana/plugins/flant-statusmap-panel \
|
||||||
|
-p 3000:3000 --name grafana.docker \
|
||||||
|
--env=GF_USERS_DEFAULT_THEME=light \
|
||||||
|
grafana/grafana:7.3.4
|
||||||
|
```
|
||||||
|
|
||||||
|
The `-v` flag exposes plugin directory from your machine to Grafana container. Now run `yarn watch` to compile `dist` directory and follow changes in src directory.
|
||||||
|
|
||||||
|
|
||||||
@@ -1,86 +0,0 @@
|
|||||||
'use strict';
|
|
||||||
module.exports = (grunt) => {
|
|
||||||
require('load-grunt-tasks')(grunt);
|
|
||||||
|
|
||||||
grunt.loadNpmTasks('grunt-contrib-clean');
|
|
||||||
grunt.loadNpmTasks('grunt-notify');
|
|
||||||
|
|
||||||
grunt.initConfig({
|
|
||||||
notify: {
|
|
||||||
watch: {
|
|
||||||
options: {
|
|
||||||
message: 'grunt watch Complete',
|
|
||||||
title: 'flant-statusmap-panel rebuilded',
|
|
||||||
duration: 2
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
clean: ['dist'],
|
|
||||||
|
|
||||||
copy: {
|
|
||||||
src_to_dist: {
|
|
||||||
cwd: 'src',
|
|
||||||
expand: true,
|
|
||||||
src: ['**/*', '!**/*.js', '!**/*.ts', '!**/*.scss'],
|
|
||||||
dest: 'dist'
|
|
||||||
},
|
|
||||||
root_to_dist: {
|
|
||||||
expand: true,
|
|
||||||
src: ['plugin.json', 'README.md', 'CHANGELOG.md'],
|
|
||||||
dest: 'dist'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
watch: {
|
|
||||||
rebuild_all: {
|
|
||||||
files: ['src/**/*', 'plugin.json'],
|
|
||||||
tasks: ['default', 'notify:watch'],
|
|
||||||
options: {
|
|
||||||
spawn: false,
|
|
||||||
livereload: true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
babel: {
|
|
||||||
options: {
|
|
||||||
sourceMap: true,
|
|
||||||
presets: ['@babel/preset-env', '@babel/typescript'],
|
|
||||||
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: {
|
|
||||||
files: [{
|
|
||||||
cwd: 'src',
|
|
||||||
expand: true,
|
|
||||||
src: ['*.ts', '**/*.ts'],
|
|
||||||
dest: 'dist',
|
|
||||||
ext: '.js'
|
|
||||||
}]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
sass: {
|
|
||||||
dist: {
|
|
||||||
files: {
|
|
||||||
'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:root_to_dist', 'babel', 'sass']);
|
|
||||||
// grunt.registerTask('clean', ['clean']);
|
|
||||||
// grunt.registerTask('watch', ['watch']);
|
|
||||||
};
|
|
||||||
@@ -1,14 +1,15 @@
|
|||||||
<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
|
||||||
|
|
||||||

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

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

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

|
||||||
|
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
@@ -19,30 +20,15 @@
|
|||||||
* 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
|
||||||
|
|
||||||
* Tested with datasources:
|
* Tested with datasources:
|
||||||
- Prometheus
|
- Prometheus
|
||||||
- InfluxDB
|
- InfluxDB
|
||||||
- Mysql
|
- Mysql
|
||||||
* Tested with Grafana:
|
* Supported Grafana versions:
|
||||||
- 7.0, 7.1, 7.2
|
- 6.7+ are the most priority (6.7, 7.0-7.4)
|
||||||
- 6.3, 6.6, 6.7
|
- also works in 5.4.3 and 6.0+
|
||||||
- 5.4.3
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
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
|
|
||||||
```
|
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
@@ -135,17 +121,17 @@ ORDER BY $__timeGroup(date_insert,$__interval)
|
|||||||
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.
|
||||||
Each query should also have similar legend for grouping:
|
Each query should also have similar legend for grouping:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Then, color mapping for status' values should be defined 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:
|
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._
|
||||||
@@ -155,30 +141,30 @@ _Note: __Spectrum__ and __Opacity__ color modes function the same way they do in
|
|||||||
|
|
||||||
#### Bucket
|
#### Bucket
|
||||||
|
|
||||||

|

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

|

|
||||||
|
|
||||||
__Display nulls__ can be treated as empty buckets or displayed with the color of `0` value.
|
__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.
|
__Values index__ set to positive number to display only values from specified timeseries.
|
||||||
|
|
||||||
#### Display
|
#### Display
|
||||||
|
|
||||||

|

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

|

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

|

|
||||||
|
|
||||||
__Show tooltip__ toggles tooltip display on mouse over buckets.
|
__Show tooltip__ toggles tooltip display on mouse over buckets.
|
||||||
|
|
||||||
@@ -206,34 +192,18 @@ __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.
|
Each URL has a template, icon, label and formating options: lowercase and date format for variables.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Development
|
|
||||||
|
|
||||||
To test and improve the plugin you can run Grafana instance in Docker using following command (in
|
## Learn more
|
||||||
the directory containing Statusmap plugin):
|
|
||||||
|
|
||||||
```
|
* [Changelog](https://github.com/flant/grafana-statusmap/blob/master/CHANGELOG.md)
|
||||||
docker run --rm -it -v $PWD:/var/lib/grafana/plugins/flant-statusmap-panel \
|
* Use [GitHub Discussions](https://github.com/flant/grafana-statusmap/discussions) to ask for help.
|
||||||
-p 3000:3000 --name grafana.docker \
|
* [Installation](https://grafana.com/grafana/plugins/flant-statusmap-panel/?tab=installation)
|
||||||
--env=GF_USERS_DEFAULT_THEME=light \
|
* Setup [development](https://github.com/flant/grafana-statusmap/blob/master/DEVELOPMENT.md) environment to help us improve the plugin.
|
||||||
grafana/grafana:7.1.3
|
|
||||||
```
|
|
||||||
|
|
||||||
This will expose local plugin from your machine to Grafana container. Now run `grunt` to compile
|
|
||||||
dist directory and start changes watcher:
|
|
||||||
|
|
||||||
```
|
|
||||||
grunt watch
|
|
||||||
```
|
|
||||||
|
|
||||||
## Acknowledgements
|
## Acknowledgements
|
||||||
|
|
||||||
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)).
|
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 "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
|
|
||||||
|
|
||||||
The latest changes can be found here: [CHANGELOG.md](https://github.com/flant/grafana-statusmap/blob/master/CHANGELOG.md)
|
|
||||||
|
|||||||
Vendored
-72
@@ -1,72 +0,0 @@
|
|||||||
# 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
|
|
||||||
|
|
||||||
Vendored
-239
@@ -1,239 +0,0 @@
|
|||||||
<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
|
|
||||||
|
|
||||||

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

|
|
||||||
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
* Grouping values into rows and buckets using legend from query
|
|
||||||
* User defined color mapping
|
|
||||||
* Multiple values in bucket are displayed via tooltip
|
|
||||||
* Increasing rows/buckets' interval for better visual representation
|
|
||||||
* 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
|
|
||||||
|
|
||||||
* Tested with datasources:
|
|
||||||
- Prometheus
|
|
||||||
- InfluxDB
|
|
||||||
- Mysql
|
|
||||||
* Tested with Grafana:
|
|
||||||
- 7.0, 7.1, 7.2
|
|
||||||
- 6.3, 6.6, 6.7
|
|
||||||
- 5.4.3
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
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
|
|
||||||
```
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
We had a desperate need to visualize a set of timeseries statuses over time period, so we can
|
|
||||||
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
|
|
||||||
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
|
|
||||||
|
|
||||||
### 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:
|
|
||||||
|
|
||||||

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

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

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

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

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

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

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

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

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

|
|
||||||
|
|
||||||
__Show legend__ checkbox toggles legend at the bottom of the panel.
|
|
||||||
|
|
||||||
__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
|
|
||||||
|
|
||||||
To test and improve the plugin you can run Grafana instance in Docker using following command (in
|
|
||||||
the directory containing Statusmap plugin):
|
|
||||||
|
|
||||||
```
|
|
||||||
docker run --rm -it -v $PWD:/var/lib/grafana/plugins/flant-statusmap-panel \
|
|
||||||
-p 3000:3000 --name grafana.docker \
|
|
||||||
--env=GF_USERS_DEFAULT_THEME=light \
|
|
||||||
grafana/grafana:7.1.3
|
|
||||||
```
|
|
||||||
|
|
||||||
This will expose local plugin from your machine to Grafana container. Now run `grunt` to compile
|
|
||||||
dist directory and start changes watcher:
|
|
||||||
|
|
||||||
```
|
|
||||||
grunt watch
|
|
||||||
```
|
|
||||||
|
|
||||||
## Acknowledgements
|
|
||||||
|
|
||||||
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 "Heatmap" panel by Grafana and partly inspired by ideas from Carpet plot, Discrete panel, Status Panel, Status Dot, Status By Group.
|
|
||||||
|
|
||||||
|
|
||||||
### CHANGELOG
|
|
||||||
|
|
||||||
The latest changes can be found here: [CHANGELOG.md](https://github.com/flant/grafana-statusmap/blob/master/CHANGELOG.md)
|
|
||||||
Vendored
-181
@@ -1,181 +0,0 @@
|
|||||||
"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
|
|
||||||
Vendored
-1
File diff suppressed because one or more lines are too long
Vendored
-407
@@ -1,407 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
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";
|
|
||||||
|
|
||||||
var _, $, d3, d3ScaleChromatic, contextSrv, tickStep, coreModule, PanelEvents, LEGEND_STEP_WIDTH;
|
|
||||||
|
|
||||||
function drawColorLegend(elem, colorScheme, rangeFrom, rangeTo, maxValue, minValue) {
|
|
||||||
var legendElem = $(elem).find('svg');
|
|
||||||
var legend = d3.select(legendElem.get(0));
|
|
||||||
clearLegend(elem);
|
|
||||||
var legendWidth = Math.floor(legendElem.outerWidth()) - 30; // narrow legendWidth by 30px to get space for first and last tick values
|
|
||||||
|
|
||||||
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 widthFactor = legendWidth / (rangeTo - rangeFrom);
|
|
||||||
var valuesRange = d3.range(rangeFrom, rangeTo, rangeStep);
|
|
||||||
var colorScale = getColorScale(colorScheme, maxValue, minValue);
|
|
||||||
legend.selectAll(".status-heatmap-color-legend-rect").data(valuesRange).enter().append("rect") // translate from range space into pixels
|
|
||||||
// and shift all rectangles to the right by 10
|
|
||||||
.attr("x", 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);
|
|
||||||
});
|
|
||||||
drawLegendValues(elem, colorScale, rangeFrom, rangeTo, maxValue, minValue, legendWidth);
|
|
||||||
}
|
|
||||||
|
|
||||||
function drawOpacityLegend(elem, options, rangeFrom, rangeTo, maxValue, minValue) {
|
|
||||||
var legendElem = $(elem).find('svg');
|
|
||||||
var legend = d3.select(legendElem.get(0));
|
|
||||||
clearLegend(elem);
|
|
||||||
var legendWidth = Math.floor(legendElem.outerWidth()) - 30; // narrow legendWidth by 30px to get space for first and last tick values
|
|
||||||
|
|
||||||
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 widthFactor = legendWidth / (rangeTo - rangeFrom);
|
|
||||||
var valuesRange = d3.range(rangeFrom, rangeTo, rangeStep);
|
|
||||||
var opacityScale = getOpacityScale(options, maxValue, minValue);
|
|
||||||
legend.selectAll(".status-heatmap-opacity-legend-rect").data(valuesRange).enter().append("rect") // translate from range space into pixels
|
|
||||||
// and shift all rectangles to the right by 10
|
|
||||||
.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);
|
|
||||||
});
|
|
||||||
drawLegendValues(elem, opacityScale, rangeFrom, rangeTo, maxValue, minValue, legendWidth);
|
|
||||||
}
|
|
||||||
|
|
||||||
function drawDiscreteColorLegend(elem, colorOptions, discreteExtraSeries) {
|
|
||||||
var legendElem = $(elem).find('svg');
|
|
||||||
var legend = d3.select(legendElem.get(0));
|
|
||||||
clearLegend(elem);
|
|
||||||
var thresholds = colorOptions.thresholds;
|
|
||||||
|
|
||||||
var tooltips = _.map(thresholds, function (tr) {
|
|
||||||
return tr.tooltip;
|
|
||||||
});
|
|
||||||
|
|
||||||
var valuesNumber = thresholds.length; // graph width as a fallback
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
var textWidth = [];
|
|
||||||
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;
|
|
||||||
}).each(function (d, i) {
|
|
||||||
var thisWidth = this.getBBox().width;
|
|
||||||
textWidth.push(thisWidth);
|
|
||||||
});
|
|
||||||
legend.selectAll(".hidden-texts").remove();
|
|
||||||
var legendWidth = Math.floor(_.min([graphWidth - 30, (_.max(textWidth) + 3) * valuesNumber]));
|
|
||||||
legendElem.attr("width", legendWidth);
|
|
||||||
var legendHeight = legendElem.attr("height");
|
|
||||||
var itemWidth = Math.floor(legendWidth / valuesNumber);
|
|
||||||
var valuesRange = d3.range(valuesNumber); // from 0 to valuesNumber-1
|
|
||||||
|
|
||||||
legend.selectAll(".status-heatmap-color-legend-rect").data(valuesRange).enter().append("rect").attr("x", function (d) {
|
|
||||||
return d * itemWidth;
|
|
||||||
}).attr("y", 0).attr("width", itemWidth + 1) // Overlap rectangles to prevent gaps
|
|
||||||
.attr("height", legendHeight).attr("stroke-width", 0).attr("fill", function (d) {
|
|
||||||
return discreteExtraSeries.getDiscreteColor(d);
|
|
||||||
});
|
|
||||||
drawDiscreteLegendValues(elem, colorOptions, legendWidth);
|
|
||||||
}
|
|
||||||
|
|
||||||
function drawLegendValues(elem, colorScale, rangeFrom, rangeTo, maxValue, minValue, legendWidth) {
|
|
||||||
var legendElem = $(elem).find('svg');
|
|
||||||
var legend = d3.select(legendElem.get(0));
|
|
||||||
|
|
||||||
if (legendWidth <= 0 || legendElem.get(0).childNodes.length === 0) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
var legendValueScale = d3.scaleLinear().domain([rangeFrom, rangeTo]).range([0, legendWidth]);
|
|
||||||
var ticks = buildLegendTicks(rangeFrom, rangeTo, maxValue, minValue);
|
|
||||||
var xAxis = d3.axisBottom(legendValueScale).tickValues(ticks).tickSize(2);
|
|
||||||
var colorRect = legendElem.find(":first-child");
|
|
||||||
var posY = getSvgElemHeight(legendElem) + 2;
|
|
||||||
var posX = getSvgElemX(colorRect);
|
|
||||||
d3.select(legendElem.get(0)).append("g").attr("class", "axis").attr("transform", "translate(" + posX + "," + posY + ")").call(xAxis);
|
|
||||||
legend.select(".axis").select(".domain").remove();
|
|
||||||
}
|
|
||||||
|
|
||||||
function drawDiscreteLegendValues(elem, colorOptions, legendWidth) {
|
|
||||||
var thresholds = colorOptions.thresholds;
|
|
||||||
var legendElem = $(elem).find('svg');
|
|
||||||
var legend = d3.select(legendElem.get(0));
|
|
||||||
|
|
||||||
if (legendWidth <= 0 || legendElem.get(0).childNodes.length === 0) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
var valuesNumber = thresholds.length;
|
|
||||||
var rangeStep = Math.floor(legendWidth / valuesNumber); //let valuesRange = d3.range(0, legendWidth, rangeStep);
|
|
||||||
|
|
||||||
var legendValueScale = d3.scaleLinear().domain([0, valuesNumber]).range([0, legendWidth]);
|
|
||||||
var thresholdValues = [];
|
|
||||||
var thresholdTooltips = [];
|
|
||||||
|
|
||||||
for (var i = 0; i < thresholds.length; i++) {
|
|
||||||
thresholdValues.push(thresholds[i].value);
|
|
||||||
thresholdTooltips.push(thresholds[i].tooltip);
|
|
||||||
}
|
|
||||||
|
|
||||||
var xAxis = d3.axisBottom(legendValueScale).tickValues(d3.range(0, valuesNumber, 1)) //thresholdValues)
|
|
||||||
.tickSize(2).tickFormat(function (t) {
|
|
||||||
var i = Math.floor(t.valueOf());
|
|
||||||
var v = thresholdTooltips[i];
|
|
||||||
|
|
||||||
if (v != undefined) {
|
|
||||||
return "" + v;
|
|
||||||
} else {
|
|
||||||
v = thresholdValues[i];
|
|
||||||
|
|
||||||
if (v != undefined) {
|
|
||||||
return "" + v;
|
|
||||||
} else {
|
|
||||||
return "n/a";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
var colorRect = legendElem.find(":first-child");
|
|
||||||
var posY = getSvgElemHeight(legendElem) + 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);
|
|
||||||
legend.select(".axis").select(".domain").remove();
|
|
||||||
}
|
|
||||||
|
|
||||||
function drawSimpleColorLegend(elem, colorScale) {
|
|
||||||
var legendElem = $(elem).find('svg');
|
|
||||||
var legend = d3.select(legendElem.get(0));
|
|
||||||
clearLegend(elem);
|
|
||||||
var legendWidth = Math.floor(legendElem.outerWidth());
|
|
||||||
var legendHeight = legendElem.attr("height");
|
|
||||||
|
|
||||||
if (legendWidth) {
|
|
||||||
var valuesRange = d3.range(0, legendWidth, LEGEND_STEP_WIDTH);
|
|
||||||
legend.selectAll(".status-heatmap-color-legend-rect").data(valuesRange).enter().append("rect").attr("x", function (d) {
|
|
||||||
return d;
|
|
||||||
}).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) {
|
|
||||||
return colorScale(d);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function drawSimpleOpacityLegend(elem, options) {
|
|
||||||
var legendElem = $(elem).find('svg');
|
|
||||||
var legend = d3.select(legendElem.get(0));
|
|
||||||
clearLegend(elem);
|
|
||||||
var legendWidth = Math.floor(legendElem.outerWidth());
|
|
||||||
var legendHeight = legendElem.attr("height");
|
|
||||||
|
|
||||||
if (legendWidth) {
|
|
||||||
var legendOpacityScale;
|
|
||||||
|
|
||||||
if (options.colorScale === 'linear') {
|
|
||||||
legendOpacityScale = d3.scaleLinear().domain([0, legendWidth]).range([0, 1]);
|
|
||||||
} else if (options.colorScale === 'sqrt') {
|
|
||||||
legendOpacityScale = d3.scalePow().exponent(options.exponent).domain([0, legendWidth]).range([0, 1]);
|
|
||||||
}
|
|
||||||
|
|
||||||
var valuesRange = d3.range(0, legendWidth, LEGEND_STEP_WIDTH);
|
|
||||||
legend.selectAll(".status-heatmap-opacity-legend-rect").data(valuesRange).enter().append("rect").attr("x", function (d) {
|
|
||||||
return 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);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function clearLegend(elem) {
|
|
||||||
var legendElem = $(elem).find('svg');
|
|
||||||
legendElem.empty();
|
|
||||||
}
|
|
||||||
|
|
||||||
function getColorScale(colorScheme, maxValue) {
|
|
||||||
var minValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
|
|
||||||
var colorInterpolator = d3ScaleChromatic[colorScheme.value];
|
|
||||||
var colorScaleInverted = colorScheme.invert === 'always' || colorScheme.invert === 'dark' && !contextSrv.user.lightTheme;
|
|
||||||
var start = colorScaleInverted ? maxValue : minValue;
|
|
||||||
var end = colorScaleInverted ? minValue : maxValue;
|
|
||||||
return d3.scaleSequential(colorInterpolator).domain([start, end]);
|
|
||||||
}
|
|
||||||
|
|
||||||
function getOpacityScale(options, maxValue) {
|
|
||||||
var minValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
|
|
||||||
var legendOpacityScale;
|
|
||||||
|
|
||||||
if (options.colorScale === 'linear') {
|
|
||||||
legendOpacityScale = d3.scaleLinear().domain([minValue, maxValue]).range([0, 1]);
|
|
||||||
} else if (options.colorScale === 'sqrt') {
|
|
||||||
legendOpacityScale = d3.scalePow().exponent(options.exponent).domain([minValue, maxValue]).range([0, 1]);
|
|
||||||
}
|
|
||||||
|
|
||||||
return legendOpacityScale;
|
|
||||||
}
|
|
||||||
|
|
||||||
function getSvgElemX(elem) {
|
|
||||||
var svgElem = elem.get(0);
|
|
||||||
|
|
||||||
if (svgElem && svgElem.x && svgElem.x.baseVal) {
|
|
||||||
return svgElem.x.baseVal.value;
|
|
||||||
} else {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function getSvgElemHeight(elem) {
|
|
||||||
var svgElem = elem.get(0);
|
|
||||||
|
|
||||||
if (svgElem && svgElem.height && svgElem.height.baseVal) {
|
|
||||||
return svgElem.height.baseVal.value;
|
|
||||||
} else {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function buildLegendTicks(rangeFrom, rangeTo, maxValue, minValue) {
|
|
||||||
var range = rangeTo - rangeFrom;
|
|
||||||
var tickStepSize = tickStep(rangeFrom, rangeTo, 3);
|
|
||||||
var ticksNum = Math.round(range / tickStepSize);
|
|
||||||
var ticks = [];
|
|
||||||
|
|
||||||
for (var i = 0; i < ticksNum; i++) {
|
|
||||||
var current = tickStepSize * i + rangeFrom; // Add user-defined min and max if it had been set
|
|
||||||
|
|
||||||
if (isValueCloseTo(minValue, current, tickStepSize)) {
|
|
||||||
ticks.push(minValue);
|
|
||||||
continue;
|
|
||||||
} else if (minValue < current) {
|
|
||||||
ticks.push(minValue);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isValueCloseTo(maxValue, current, tickStepSize)) {
|
|
||||||
ticks.push(maxValue);
|
|
||||||
continue;
|
|
||||||
} else if (maxValue < current) {
|
|
||||||
ticks.push(maxValue);
|
|
||||||
}
|
|
||||||
|
|
||||||
ticks.push(current);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!isValueCloseTo(maxValue, rangeTo, tickStepSize)) {
|
|
||||||
ticks.push(maxValue);
|
|
||||||
}
|
|
||||||
|
|
||||||
ticks.push(rangeTo);
|
|
||||||
ticks = _.sortBy(_.uniq(ticks));
|
|
||||||
return ticks;
|
|
||||||
}
|
|
||||||
|
|
||||||
function isValueCloseTo(val, valueTo, step) {
|
|
||||||
var diff = Math.abs(val - valueTo);
|
|
||||||
return diff < step * 0.3;
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
|
||||||
setters: [function (_lodash) {
|
|
||||||
_ = _lodash.default;
|
|
||||||
}, function (_jquery) {
|
|
||||||
$ = _jquery.default;
|
|
||||||
}, function (_d) {
|
|
||||||
d3 = _d.default;
|
|
||||||
}, function (_libsD3ScaleChromaticIndex) {
|
|
||||||
d3ScaleChromatic = _libsD3ScaleChromaticIndex;
|
|
||||||
}, function (_appCoreCore) {
|
|
||||||
contextSrv = _appCoreCore.contextSrv;
|
|
||||||
}, function (_appCoreUtilsTicks) {
|
|
||||||
tickStep = _appCoreUtilsTicks.tickStep;
|
|
||||||
}, function (_appCoreCore_module) {
|
|
||||||
coreModule = _appCoreCore_module.default;
|
|
||||||
}, function (_libsGrafanaEventsIndex) {
|
|
||||||
PanelEvents = _libsGrafanaEventsIndex.PanelEvents;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
LEGEND_STEP_WIDTH = 2;
|
|
||||||
/**
|
|
||||||
* Bigger color legend for opacity and spectrum modes editor.
|
|
||||||
*/
|
|
||||||
|
|
||||||
coreModule.directive('optionsColorLegend', function () {
|
|
||||||
return {
|
|
||||||
restrict: 'E',
|
|
||||||
template: '<div class="status-heatmap-color-legend"><svg width="16.8rem" height="24px"></svg></div>',
|
|
||||||
link: function link(scope, elem, attrs) {
|
|
||||||
var ctrl = scope.ctrl;
|
|
||||||
var panel = scope.ctrl.panel;
|
|
||||||
render();
|
|
||||||
ctrl.events.on(PanelEvents.render, function () {
|
|
||||||
render();
|
|
||||||
});
|
|
||||||
|
|
||||||
function render() {
|
|
||||||
var legendElem = $(elem).find('svg');
|
|
||||||
var legendWidth = Math.floor(legendElem.outerWidth());
|
|
||||||
|
|
||||||
if (panel.color.mode === 'spectrum') {
|
|
||||||
var colorScheme = _.find(ctrl.colorSchemes, {
|
|
||||||
value: panel.color.colorScheme
|
|
||||||
});
|
|
||||||
|
|
||||||
var colorScale = getColorScale(colorScheme, legendWidth);
|
|
||||||
drawSimpleColorLegend(elem, colorScale);
|
|
||||||
} else if (panel.color.mode === 'opacity') {
|
|
||||||
var colorOptions = panel.color;
|
|
||||||
drawSimpleOpacityLegend(elem, colorOptions);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
/**
|
|
||||||
* Graph legend with values.
|
|
||||||
*/
|
|
||||||
|
|
||||||
coreModule.directive('statusHeatmapLegend', function () {
|
|
||||||
return {
|
|
||||||
restrict: 'E',
|
|
||||||
template: '<div class="status-heatmap-color-legend"><svg width="100px" height="6px"></svg></div>',
|
|
||||||
link: function link(scope, elem, attrs) {
|
|
||||||
var ctrl = scope.ctrl;
|
|
||||||
var panel = scope.ctrl.panel;
|
|
||||||
render();
|
|
||||||
ctrl.events.on(PanelEvents.render, function () {
|
|
||||||
render();
|
|
||||||
});
|
|
||||||
|
|
||||||
function render() {
|
|
||||||
clearLegend(elem);
|
|
||||||
|
|
||||||
if (!ctrl.panel.legend.show) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
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') {
|
|
||||||
var colorScheme = _.find(ctrl.colorSchemes, {
|
|
||||||
value: panel.color.colorScheme
|
|
||||||
});
|
|
||||||
|
|
||||||
drawColorLegend(elem, colorScheme, rangeFrom, rangeTo, maxValue, minValue);
|
|
||||||
} else if (panel.color.mode === 'opacity') {
|
|
||||||
var colorOptions = panel.color;
|
|
||||||
drawOpacityLegend(elem, colorOptions, rangeFrom, rangeTo, maxValue, minValue);
|
|
||||||
} else if (panel.color.mode === 'discrete') {
|
|
||||||
var _colorOptions = panel.color;
|
|
||||||
drawDiscreteColorLegend(elem, _colorOptions, ctrl.discreteExtraSeries);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=color_legend.js.map
|
|
||||||
Vendored
-1
File diff suppressed because one or more lines are too long
Vendored
-393
@@ -1,393 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register([], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var ColorModeDiscrete;
|
|
||||||
|
|
||||||
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: [],
|
|
||||||
execute: function () {
|
|
||||||
// Extra Series methods to handle discrete color mode
|
|
||||||
_export("ColorModeDiscrete", ColorModeDiscrete =
|
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
function ColorModeDiscrete(scope) {
|
|
||||||
_classCallCheck(this, ColorModeDiscrete);
|
|
||||||
|
|
||||||
_defineProperty(this, "scope", void 0);
|
|
||||||
|
|
||||||
_defineProperty(this, "panelCtrl", void 0);
|
|
||||||
|
|
||||||
_defineProperty(this, "panel", void 0);
|
|
||||||
|
|
||||||
this.scope = scope;
|
|
||||||
this.panelCtrl = scope.ctrl;
|
|
||||||
this.panel = scope.ctrl.panel;
|
|
||||||
} // get tooltip for each value ordered by thresholds priority
|
|
||||||
|
|
||||||
|
|
||||||
_createClass(ColorModeDiscrete, [{
|
|
||||||
key: "convertValuesToTooltips",
|
|
||||||
value: function convertValuesToTooltips(values) {
|
|
||||||
var thresholds = this.panel.color.thresholds;
|
|
||||||
var tooltips = [];
|
|
||||||
|
|
||||||
for (var i = 0; i < thresholds.length; i++) {
|
|
||||||
for (var j = 0; j < values.length; j++) {
|
|
||||||
if (values[j] == thresholds[i].value) {
|
|
||||||
tooltips.push({
|
|
||||||
"tooltip": thresholds[i].tooltip ? thresholds[i].tooltip : values[j],
|
|
||||||
"color": thresholds[i].color
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
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;
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
key: "getNotMatchedValues",
|
|
||||||
value: function getNotMatchedValues(values) {
|
|
||||||
var notMatched = [];
|
|
||||||
|
|
||||||
for (var j = 0; j < values.length; j++) {
|
|
||||||
if (!this.getMatchedThreshold(values[j])) {
|
|
||||||
notMatched.push(values[j]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return notMatched;
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
key: "getNotColoredValues",
|
|
||||||
value: function getNotColoredValues(values) {
|
|
||||||
var notMatched = [];
|
|
||||||
|
|
||||||
for (var j = 0; j < values.length; j++) {
|
|
||||||
var threshold = this.getMatchedThreshold(values[j]);
|
|
||||||
|
|
||||||
if (!threshold || !threshold.color || threshold.color == "") {
|
|
||||||
notMatched.push(values[j]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return notMatched;
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
key: "getDiscreteColor",
|
|
||||||
value: function getDiscreteColor(index) {
|
|
||||||
var color = this.getThreshold(index).color;
|
|
||||||
|
|
||||||
if (!color || color == "") {
|
|
||||||
return 'rgba(0,0,0,1)';
|
|
||||||
}
|
|
||||||
|
|
||||||
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",
|
|
||||||
value: function getBucketColor(values) {
|
|
||||||
var thresholds = this.panel.color.thresholds;
|
|
||||||
|
|
||||||
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++) {
|
|
||||||
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 '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",
|
|
||||||
value: function updateCardsValuesHasColorInfo() {
|
|
||||||
var _this2 = this;
|
|
||||||
|
|
||||||
if (!this.panelCtrl.bucketMatrix) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
this.panelCtrl.bucketMatrix.noColorDefined = false;
|
|
||||||
this.panelCtrl.bucketMatrix.targets.map(function (target) {
|
|
||||||
_this2.panelCtrl.bucketMatrix.buckets[target].map(function (bucket) {
|
|
||||||
bucket.noColorDefined = false;
|
|
||||||
|
|
||||||
for (var j = 0; j < bucket.values.length; j++) {
|
|
||||||
var threshold = _this2.getMatchedThreshold(bucket.values[j]);
|
|
||||||
|
|
||||||
if (!threshold || !threshold.color || threshold.color == "") {
|
|
||||||
bucket.noColorDefined = true;
|
|
||||||
_this2.panelCtrl.bucketMatrix.noColorDefined = true;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
key: "getMatchedThreshold",
|
|
||||||
value: function getMatchedThreshold(value) {
|
|
||||||
if (value == null) {
|
|
||||||
if (this.panel.nullPointMode == 'as empty') {
|
|
||||||
// FIXME: make this explicit for user
|
|
||||||
// Right now this color never used because null as empty handles in getCardOpacity method.
|
|
||||||
return {
|
|
||||||
"color": "rgba(0,0,0,0)",
|
|
||||||
"value": "null",
|
|
||||||
"tooltip": "null"
|
|
||||||
};
|
|
||||||
} else {
|
|
||||||
value = 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
var thresholds = this.panel.color.thresholds;
|
|
||||||
|
|
||||||
for (var k = 0; k < thresholds.length; k++) {
|
|
||||||
if (value == thresholds[k].value) {
|
|
||||||
return thresholds[k];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
key: "getThreshold",
|
|
||||||
value: function getThreshold(index) {
|
|
||||||
var thresholds = this.panel.color.thresholds;
|
|
||||||
|
|
||||||
if (index < 0 || index >= thresholds.length == null) {
|
|
||||||
return {
|
|
||||||
"color": "rgba(0,0,0,0)",
|
|
||||||
"value": "null",
|
|
||||||
"tooltip": "null"
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
return thresholds[index];
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
key: "roundIntervalCeil",
|
|
||||||
value: function roundIntervalCeil(interval) {
|
|
||||||
switch (true) {
|
|
||||||
case interval <= 10:
|
|
||||||
return 10;
|
|
||||||
// 0.01s
|
|
||||||
|
|
||||||
case interval <= 20:
|
|
||||||
return 20;
|
|
||||||
// 0.02s
|
|
||||||
|
|
||||||
case interval <= 50:
|
|
||||||
return 50;
|
|
||||||
// 0.05s
|
|
||||||
|
|
||||||
case interval <= 100:
|
|
||||||
return 100;
|
|
||||||
// 0.1s
|
|
||||||
|
|
||||||
case interval <= 200:
|
|
||||||
return 200;
|
|
||||||
// 0.2s
|
|
||||||
|
|
||||||
case interval <= 500:
|
|
||||||
return 500;
|
|
||||||
// 0.5s
|
|
||||||
|
|
||||||
case interval <= 1000:
|
|
||||||
return 1000;
|
|
||||||
// 1s
|
|
||||||
|
|
||||||
case interval <= 2000:
|
|
||||||
return 2000;
|
|
||||||
// 2s
|
|
||||||
|
|
||||||
case interval <= 5000:
|
|
||||||
return 5000;
|
|
||||||
// 5s
|
|
||||||
|
|
||||||
case interval <= 10000:
|
|
||||||
return 10000;
|
|
||||||
// 10s
|
|
||||||
|
|
||||||
case interval <= 15000:
|
|
||||||
return 15000;
|
|
||||||
// 15s
|
|
||||||
|
|
||||||
case interval <= 20000:
|
|
||||||
return 20000;
|
|
||||||
// 20s
|
|
||||||
|
|
||||||
case interval <= 30000:
|
|
||||||
return 30000;
|
|
||||||
// 30s
|
|
||||||
|
|
||||||
case interval <= 60000:
|
|
||||||
return 60000;
|
|
||||||
// 1m
|
|
||||||
|
|
||||||
case interval <= 120000:
|
|
||||||
return 120000;
|
|
||||||
// 2m
|
|
||||||
|
|
||||||
case interval <= 300000:
|
|
||||||
return 300000;
|
|
||||||
// 5m
|
|
||||||
|
|
||||||
case interval <= 600000:
|
|
||||||
return 600000;
|
|
||||||
// 10m
|
|
||||||
|
|
||||||
case interval <= 900000:
|
|
||||||
return 900000;
|
|
||||||
// 15m
|
|
||||||
|
|
||||||
case interval <= 1200000:
|
|
||||||
return 1200000;
|
|
||||||
// 20m
|
|
||||||
|
|
||||||
case interval <= 1800000:
|
|
||||||
return 1800000;
|
|
||||||
// 30m
|
|
||||||
|
|
||||||
case interval <= 3600000:
|
|
||||||
return 3600000;
|
|
||||||
// 1h
|
|
||||||
|
|
||||||
case interval <= 7200000:
|
|
||||||
return 7200000;
|
|
||||||
// 2h
|
|
||||||
|
|
||||||
case interval <= 10800000:
|
|
||||||
return 10800000;
|
|
||||||
// 3h
|
|
||||||
|
|
||||||
case interval <= 21600000:
|
|
||||||
return 21600000;
|
|
||||||
// 6h
|
|
||||||
|
|
||||||
case interval <= 43200000:
|
|
||||||
return 43200000;
|
|
||||||
// 12h
|
|
||||||
|
|
||||||
case interval <= 86400000:
|
|
||||||
return 86400000;
|
|
||||||
// 1d
|
|
||||||
|
|
||||||
case interval <= 604800000:
|
|
||||||
return 604800000;
|
|
||||||
// 1w
|
|
||||||
|
|
||||||
case interval <= 2592000000:
|
|
||||||
return 2592000000;
|
|
||||||
// 30d
|
|
||||||
|
|
||||||
default:
|
|
||||||
return 31536000000;
|
|
||||||
// 1y
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}]);
|
|
||||||
|
|
||||||
return ColorModeDiscrete;
|
|
||||||
}());
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=color_mode_discrete.js.map
|
|
||||||
Vendored
-1
File diff suppressed because one or more lines are too long
Vendored
-105
@@ -1,105 +0,0 @@
|
|||||||
.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 */
|
|
||||||
Vendored
-7
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"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"
|
|
||||||
}
|
|
||||||
Vendored
-105
@@ -1,105 +0,0 @@
|
|||||||
.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 */
|
|
||||||
Vendored
-7
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"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"
|
|
||||||
}
|
|
||||||
Vendored
-46
@@ -1,46 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
||||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
||||||
<svg version="1.1"
|
|
||||||
id="Layer_1" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
||||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="100px" height="100px"
|
|
||||||
viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve">
|
|
||||||
<g>
|
|
||||||
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="49.9995" y1="0" x2="49.9995" y2="100.0005">
|
|
||||||
<stop offset="0" style="stop-color:#4748FF"/>
|
|
||||||
<stop offset="1" style="stop-color:#4F1A98"/>
|
|
||||||
</linearGradient>
|
|
||||||
<path fill="url(#SVGID_1_)" d="M0,8.504C0,3.827,3.827,0,8.504,0h82.992C96.173,0,100,3.827,100,8.504v82.992
|
|
||||||
c0,4.677-3.827,8.504-8.504,8.504H8.504C3.827,100,0,96.173,0,91.496V8.504z"/>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
<rect x="37.675" y="7.334" fill="#00A94C" width="9.139" height="19.773"/>
|
|
||||||
<rect x="37.675" y="29.216" fill="#00A94C" width="9.139" height="19.773"/>
|
|
||||||
<rect x="37.675" y="72.98" fill="#00A94C" width="9.139" height="19.686"/>
|
|
||||||
<rect x="37.675" y="51.099" fill="#00A94C" width="9.139" height="19.598"/>
|
|
||||||
<rect x="48.66" y="7.334" fill="#00A94C" width="9.139" height="19.773"/>
|
|
||||||
<rect x="48.66" y="72.894" fill="#00A94C" width="9.139" height="19.772"/>
|
|
||||||
</g>
|
|
||||||
<rect x="48.66" y="51.099" fill="#FFFF00" width="9.139" height="19.598"/>
|
|
||||||
<rect x="59.557" y="7.334" fill="#FF6A13" width="9.14" height="19.773"/>
|
|
||||||
<g>
|
|
||||||
<rect x="59.557" y="29.216" fill="#00A94C" width="9.14" height="19.773"/>
|
|
||||||
<rect x="48.572" y="29.216" fill="#00A94C" width="9.14" height="19.773"/>
|
|
||||||
<rect x="59.557" y="72.894" fill="#00A94C" width="9.14" height="19.772"/>
|
|
||||||
<rect x="59.557" y="51.099" fill="#00A94C" width="9.14" height="19.598"/>
|
|
||||||
</g>
|
|
||||||
<rect x="70.454" y="7.334" fill="#FF6A13" width="9.14" height="19.773"/>
|
|
||||||
<g>
|
|
||||||
<rect x="70.454" y="29.216" fill="#00A94C" width="9.14" height="19.773"/>
|
|
||||||
<rect x="70.454" y="72.894" fill="#00A94C" width="9.14" height="19.772"/>
|
|
||||||
<rect x="70.454" y="51.099" fill="#00A94C" width="9.14" height="19.685"/>
|
|
||||||
<rect x="81.439" y="29.216" fill="#00A94C" width="9.14" height="19.773"/>
|
|
||||||
<rect x="81.439" y="72.894" fill="#00A94C" width="9.14" height="19.772"/>
|
|
||||||
<rect x="81.439" y="51.099" fill="#00A94C" width="9.14" height="19.598"/>
|
|
||||||
<rect x="81.439" y="7.334" fill="#00A94C" width="9.14" height="19.773"/>
|
|
||||||
</g>
|
|
||||||
<rect x="9.421" y="15.335" fill="#FFFFFF" width="23.069" height="3.771"/>
|
|
||||||
<rect x="15.133" y="37.217" fill="#FFFFFF" width="17.356" height="3.771"/>
|
|
||||||
<rect x="20.956" y="57.956" fill="#FFFFFF" width="11.534" height="3.772"/>
|
|
||||||
<rect x="9.421" y="79.839" fill="#FFFFFF" width="23.069" height="3.771"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 2.8 KiB |
@@ -1,16 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("default", colors("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=Accent.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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,16 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("default", colors("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=Dark2.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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,16 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("default", colors("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=Paired.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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,16 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("default", colors("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=Pastel1.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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,16 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("default", colors("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=Pastel2.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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,16 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("default", colors("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=Set1.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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,16 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("default", colors("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=Set2.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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,16 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("default", colors("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=Set3.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
-23
@@ -1,23 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register([], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
_export("default", function (specifier) {
|
|
||||||
var n = specifier.length / 6 | 0,
|
|
||||||
colors = new Array(n),
|
|
||||||
i = 0;
|
|
||||||
|
|
||||||
while (i < n) {
|
|
||||||
colors[i] = "#" + specifier.slice(i * 6, ++i * 6);
|
|
||||||
}
|
|
||||||
|
|
||||||
return colors;
|
|
||||||
});
|
|
||||||
|
|
||||||
return {
|
|
||||||
setters: [],
|
|
||||||
execute: function () {}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=colors.js.map
|
|
||||||
-1
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
-20
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("d8b365f5f5f55ab4ac", "a6611adfc27d80cdc1018571", "a6611adfc27df5f5f580cdc1018571", "8c510ad8b365f6e8c3c7eae55ab4ac01665e", "8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e", "8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e", "8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e", "5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30", "5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=BrBG.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("91cf60ffffbffc8d59", "1a9641a6d96afdae61d7191c", "1a9641a6d96affffbffdae61d7191c", "1a985091cf60d9ef8bfee08bfc8d59d73027", "1a985091cf60d9ef8bffffbffee08bfc8d59d73027", "1a985066bd63a6d96ad9ef8bfee08bfdae61f46d43d73027", "1a985066bd63a6d96ad9ef8bffffbffee08bfdae61f46d43d73027", "0068371a985066bd63a6d96ad9ef8bfee08bfdae61f46d43d73027a50026", "0068371a985066bd63a6d96ad9ef8bffffbffee08bfdae61f46d43d73027a50026").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=GnYlRd.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
-20
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("af8dc3f7f7f77fbf7b", "7b3294c2a5cfa6dba0008837", "7b3294c2a5cff7f7f7a6dba0008837", "762a83af8dc3e7d4e8d9f0d37fbf7b1b7837", "762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837", "762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837", "762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837", "40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b", "40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=PRGn.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
-20
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("e9a3c9f7f7f7a1d76a", "d01c8bf1b6dab8e1864dac26", "d01c8bf1b6daf7f7f7b8e1864dac26", "c51b7de9a3c9fde0efe6f5d0a1d76a4d9221", "c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221", "c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221", "c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221", "8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419", "8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=PiYG.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
-20
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("998ec3f7f7f7f1a340", "5e3c99b2abd2fdb863e66101", "5e3c99b2abd2f7f7f7fdb863e66101", "542788998ec3d8daebfee0b6f1a340b35806", "542788998ec3d8daebf7f7f7fee0b6f1a340b35806", "5427888073acb2abd2d8daebfee0b6fdb863e08214b35806", "5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806", "2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08", "2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=PuOr.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
-20
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("ef8a62f7f7f767a9cf", "ca0020f4a58292c5de0571b0", "ca0020f4a582f7f7f792c5de0571b0", "b2182bef8a62fddbc7d1e5f067a9cf2166ac", "b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac", "b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac", "b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac", "67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061", "67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=RdBu.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
-20
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("ef8a62ffffff999999", "ca0020f4a582bababa404040", "ca0020f4a582ffffffbababa404040", "b2182bef8a62fddbc7e0e0e09999994d4d4d", "b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d", "b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d", "b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d", "67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a", "67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=RdGy.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("fc8d59ffffbf91bfdb", "d7191cfdae61abd9e92c7bb6", "d7191cfdae61ffffbfabd9e92c7bb6", "d73027fc8d59fee090e0f3f891bfdb4575b4", "d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4", "d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4", "d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4", "a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695", "a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=RdYlBu.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("fc8d59ffffbf91cf60", "d7191cfdae61a6d96a1a9641", "d7191cfdae61ffffbfa6d96a1a9641", "d73027fc8d59fee08bd9ef8b91cf601a9850", "d73027fc8d59fee08bffffbfd9ef8b91cf601a9850", "d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850", "d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850", "a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837", "a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=RdYlGn.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("fc8d59ffffbf99d594", "d7191cfdae61abdda42b83ba", "d7191cfdae61ffffbfabdda42b83ba", "d53e4ffc8d59fee08be6f59899d5943288bd", "d53e4ffc8d59fee08bffffbfe6f59899d5943288bd", "d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd", "d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd", "9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2", "9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=Spectral.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
-167
@@ -1,167 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["./categorical/Accent", "./categorical/Dark2", "./categorical/Paired", "./categorical/Pastel1", "./categorical/Pastel2", "./categorical/Set1", "./categorical/Set2", "./categorical/Set3", "./diverging/BrBG", "./diverging/PRGn", "./diverging/PiYG", "./diverging/PuOr", "./diverging/RdBu", "./diverging/RdGy", "./diverging/RdYlBu", "./diverging/RdYlGn", "./diverging/GnYlRd", "./diverging/Spectral", "./sequential-multi/BuGn", "./sequential-multi/BuPu", "./sequential-multi/GnBu", "./sequential-multi/OrRd", "./sequential-multi/PuBuGn", "./sequential-multi/PuBu", "./sequential-multi/PuRd", "./sequential-multi/RdPu", "./sequential-multi/YlGnBu", "./sequential-multi/YlGn", "./sequential-multi/YlOrBr", "./sequential-multi/YlOrRd", "./sequential-single/Blues", "./sequential-single/Greens", "./sequential-single/Greys", "./sequential-single/Purples", "./sequential-single/Reds", "./sequential-single/Oranges"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
return {
|
|
||||||
setters: [function (_categoricalAccent) {
|
|
||||||
_export("schemeAccent", _categoricalAccent.default);
|
|
||||||
}, function (_categoricalDark) {
|
|
||||||
_export("schemeDark2", _categoricalDark.default);
|
|
||||||
}, function (_categoricalPaired) {
|
|
||||||
_export("schemePaired", _categoricalPaired.default);
|
|
||||||
}, function (_categoricalPastel) {
|
|
||||||
_export("schemePastel1", _categoricalPastel.default);
|
|
||||||
}, function (_categoricalPastel2) {
|
|
||||||
_export("schemePastel2", _categoricalPastel2.default);
|
|
||||||
}, function (_categoricalSet) {
|
|
||||||
_export("schemeSet1", _categoricalSet.default);
|
|
||||||
}, function (_categoricalSet2) {
|
|
||||||
_export("schemeSet2", _categoricalSet2.default);
|
|
||||||
}, function (_categoricalSet3) {
|
|
||||||
_export("schemeSet3", _categoricalSet3.default);
|
|
||||||
}, function (_divergingBrBG) {
|
|
||||||
_export({
|
|
||||||
interpolateBrBG: _divergingBrBG.default,
|
|
||||||
schemeBrBG: _divergingBrBG.scheme
|
|
||||||
});
|
|
||||||
}, function (_divergingPRGn) {
|
|
||||||
_export({
|
|
||||||
interpolatePRGn: _divergingPRGn.default,
|
|
||||||
schemePRGn: _divergingPRGn.scheme
|
|
||||||
});
|
|
||||||
}, function (_divergingPiYG) {
|
|
||||||
_export({
|
|
||||||
interpolatePiYG: _divergingPiYG.default,
|
|
||||||
schemePiYG: _divergingPiYG.scheme
|
|
||||||
});
|
|
||||||
}, function (_divergingPuOr) {
|
|
||||||
_export({
|
|
||||||
interpolatePuOr: _divergingPuOr.default,
|
|
||||||
schemePuOr: _divergingPuOr.scheme
|
|
||||||
});
|
|
||||||
}, function (_divergingRdBu) {
|
|
||||||
_export({
|
|
||||||
interpolateRdBu: _divergingRdBu.default,
|
|
||||||
schemeRdBu: _divergingRdBu.scheme
|
|
||||||
});
|
|
||||||
}, function (_divergingRdGy) {
|
|
||||||
_export({
|
|
||||||
interpolateRdGy: _divergingRdGy.default,
|
|
||||||
schemeRdGy: _divergingRdGy.scheme
|
|
||||||
});
|
|
||||||
}, function (_divergingRdYlBu) {
|
|
||||||
_export({
|
|
||||||
interpolateRdYlBu: _divergingRdYlBu.default,
|
|
||||||
schemeRdYlBu: _divergingRdYlBu.scheme
|
|
||||||
});
|
|
||||||
}, function (_divergingRdYlGn) {
|
|
||||||
_export({
|
|
||||||
interpolateRdYlGn: _divergingRdYlGn.default,
|
|
||||||
schemeRdYlGn: _divergingRdYlGn.scheme
|
|
||||||
});
|
|
||||||
}, function (_divergingGnYlRd) {
|
|
||||||
_export({
|
|
||||||
interpolateGnYlRd: _divergingGnYlRd.default,
|
|
||||||
schemeGnYlRd: _divergingGnYlRd.scheme
|
|
||||||
});
|
|
||||||
}, function (_divergingSpectral) {
|
|
||||||
_export({
|
|
||||||
interpolateSpectral: _divergingSpectral.default,
|
|
||||||
schemeSpectral: _divergingSpectral.scheme
|
|
||||||
});
|
|
||||||
}, function (_sequentialMultiBuGn) {
|
|
||||||
_export({
|
|
||||||
interpolateBuGn: _sequentialMultiBuGn.default,
|
|
||||||
schemeBuGn: _sequentialMultiBuGn.scheme
|
|
||||||
});
|
|
||||||
}, function (_sequentialMultiBuPu) {
|
|
||||||
_export({
|
|
||||||
interpolateBuPu: _sequentialMultiBuPu.default,
|
|
||||||
schemeBuPu: _sequentialMultiBuPu.scheme
|
|
||||||
});
|
|
||||||
}, function (_sequentialMultiGnBu) {
|
|
||||||
_export({
|
|
||||||
interpolateGnBu: _sequentialMultiGnBu.default,
|
|
||||||
schemeGnBu: _sequentialMultiGnBu.scheme
|
|
||||||
});
|
|
||||||
}, function (_sequentialMultiOrRd) {
|
|
||||||
_export({
|
|
||||||
interpolateOrRd: _sequentialMultiOrRd.default,
|
|
||||||
schemeOrRd: _sequentialMultiOrRd.scheme
|
|
||||||
});
|
|
||||||
}, function (_sequentialMultiPuBuGn) {
|
|
||||||
_export({
|
|
||||||
interpolatePuBuGn: _sequentialMultiPuBuGn.default,
|
|
||||||
schemePuBuGn: _sequentialMultiPuBuGn.scheme
|
|
||||||
});
|
|
||||||
}, function (_sequentialMultiPuBu) {
|
|
||||||
_export({
|
|
||||||
interpolatePuBu: _sequentialMultiPuBu.default,
|
|
||||||
schemePuBu: _sequentialMultiPuBu.scheme
|
|
||||||
});
|
|
||||||
}, function (_sequentialMultiPuRd) {
|
|
||||||
_export({
|
|
||||||
interpolatePuRd: _sequentialMultiPuRd.default,
|
|
||||||
schemePuRd: _sequentialMultiPuRd.scheme
|
|
||||||
});
|
|
||||||
}, function (_sequentialMultiRdPu) {
|
|
||||||
_export({
|
|
||||||
interpolateRdPu: _sequentialMultiRdPu.default,
|
|
||||||
schemeRdPu: _sequentialMultiRdPu.scheme
|
|
||||||
});
|
|
||||||
}, function (_sequentialMultiYlGnBu) {
|
|
||||||
_export({
|
|
||||||
interpolateYlGnBu: _sequentialMultiYlGnBu.default,
|
|
||||||
schemeYlGnBu: _sequentialMultiYlGnBu.scheme
|
|
||||||
});
|
|
||||||
}, function (_sequentialMultiYlGn) {
|
|
||||||
_export({
|
|
||||||
interpolateYlGn: _sequentialMultiYlGn.default,
|
|
||||||
schemeYlGn: _sequentialMultiYlGn.scheme
|
|
||||||
});
|
|
||||||
}, function (_sequentialMultiYlOrBr) {
|
|
||||||
_export({
|
|
||||||
interpolateYlOrBr: _sequentialMultiYlOrBr.default,
|
|
||||||
schemeYlOrBr: _sequentialMultiYlOrBr.scheme
|
|
||||||
});
|
|
||||||
}, function (_sequentialMultiYlOrRd) {
|
|
||||||
_export({
|
|
||||||
interpolateYlOrRd: _sequentialMultiYlOrRd.default,
|
|
||||||
schemeYlOrRd: _sequentialMultiYlOrRd.scheme
|
|
||||||
});
|
|
||||||
}, function (_sequentialSingleBlues) {
|
|
||||||
_export({
|
|
||||||
interpolateBlues: _sequentialSingleBlues.default,
|
|
||||||
schemeBlues: _sequentialSingleBlues.scheme
|
|
||||||
});
|
|
||||||
}, function (_sequentialSingleGreens) {
|
|
||||||
_export({
|
|
||||||
interpolateGreens: _sequentialSingleGreens.default,
|
|
||||||
schemeGreens: _sequentialSingleGreens.scheme
|
|
||||||
});
|
|
||||||
}, function (_sequentialSingleGreys) {
|
|
||||||
_export({
|
|
||||||
interpolateGreys: _sequentialSingleGreys.default,
|
|
||||||
schemeGreys: _sequentialSingleGreys.scheme
|
|
||||||
});
|
|
||||||
}, function (_sequentialSinglePurples) {
|
|
||||||
_export({
|
|
||||||
interpolatePurples: _sequentialSinglePurples.default,
|
|
||||||
schemePurples: _sequentialSinglePurples.scheme
|
|
||||||
});
|
|
||||||
}, function (_sequentialSingleReds) {
|
|
||||||
_export({
|
|
||||||
interpolateReds: _sequentialSingleReds.default,
|
|
||||||
schemeReds: _sequentialSingleReds.scheme
|
|
||||||
});
|
|
||||||
}, function (_sequentialSingleOranges) {
|
|
||||||
_export({
|
|
||||||
interpolateOranges: _sequentialSingleOranges.default,
|
|
||||||
schemeOranges: _sequentialSingleOranges.scheme
|
|
||||||
});
|
|
||||||
}],
|
|
||||||
execute: function () {}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=index.js.map
|
|
||||||
-1
@@ -1 +0,0 @@
|
|||||||
{"version":3,"sources":["../../../src/libs/d3-scale-chromatic/index.js"],"names":["default","scheme"],"mappings":";;;;;;;iDAAQA,O;;8CACAA,O;;iDACAA,O;;kDACAA,O;;mDACAA,O;;4CACAA,O;;6CACAA,O;;6CACAA,O;;;wCACAA,O;mCAA4BC;;;;wCAC5BD,O;mCAA4BC;;;;wCAC5BD,O;mCAA4BC;;;;wCAC5BD,O;mCAA4BC;;;;wCAC5BD,O;mCAA4BC;;;;wCAC5BD,O;mCAA4BC;;;;4CAC5BD,O;uCAA8BC;;;;4CAC9BD,O;uCAA8BC;;;;4CAC9BD,O;uCAA8BC;;;;gDAC9BD,O;2CAAgCC;;;;8CAChCD,O;yCAA4BC;;;;8CAC5BD,O;yCAA4BC;;;;8CAC5BD,O;yCAA4BC;;;;8CAC5BD,O;yCAA4BC;;;;kDAC5BD,O;6CAA8BC;;;;8CAC9BD,O;yCAA4BC;;;;8CAC5BD,O;yCAA4BC;;;;8CAC5BD,O;yCAA4BC;;;;kDAC5BD,O;6CAA8BC;;;;8CAC9BD,O;yCAA4BC;;;;kDAC5BD,O;6CAA8BC;;;;kDAC9BD,O;6CAA8BC;;;;iDAC9BD,O;4CAA6BC;;;;mDAC7BD,O;8CAA8BC;;;;iDAC9BD,O;4CAA6BC;;;;qDAC7BD,O;gDAA+BC;;;;+CAC/BD,O;0CAA4BC;;;;qDAC5BD,O;gDAA+BC","sourcesContent":["export {default as schemeAccent} from \"./categorical/Accent\";\nexport {default as schemeDark2} from \"./categorical/Dark2\";\nexport {default as schemePaired} from \"./categorical/Paired\";\nexport {default as schemePastel1} from \"./categorical/Pastel1\";\nexport {default as schemePastel2} from \"./categorical/Pastel2\";\nexport {default as schemeSet1} from \"./categorical/Set1\";\nexport {default as schemeSet2} from \"./categorical/Set2\";\nexport {default as schemeSet3} from \"./categorical/Set3\";\nexport {default as interpolateBrBG, scheme as schemeBrBG} from \"./diverging/BrBG\";\nexport {default as interpolatePRGn, scheme as schemePRGn} from \"./diverging/PRGn\";\nexport {default as interpolatePiYG, scheme as schemePiYG} from \"./diverging/PiYG\";\nexport {default as interpolatePuOr, scheme as schemePuOr} from \"./diverging/PuOr\";\nexport {default as interpolateRdBu, scheme as schemeRdBu} from \"./diverging/RdBu\";\nexport {default as interpolateRdGy, scheme as schemeRdGy} from \"./diverging/RdGy\";\nexport {default as interpolateRdYlBu, scheme as schemeRdYlBu} from \"./diverging/RdYlBu\";\nexport {default as interpolateRdYlGn, scheme as schemeRdYlGn} from \"./diverging/RdYlGn\";\nexport {default as interpolateGnYlRd, scheme as schemeGnYlRd} from \"./diverging/GnYlRd\";\nexport {default as interpolateSpectral, scheme as schemeSpectral} from \"./diverging/Spectral\";\nexport {default as interpolateBuGn, scheme as schemeBuGn} from \"./sequential-multi/BuGn\";\nexport {default as interpolateBuPu, scheme as schemeBuPu} from \"./sequential-multi/BuPu\";\nexport {default as interpolateGnBu, scheme as schemeGnBu} from \"./sequential-multi/GnBu\";\nexport {default as interpolateOrRd, scheme as schemeOrRd} from \"./sequential-multi/OrRd\";\nexport {default as interpolatePuBuGn, scheme as schemePuBuGn} from \"./sequential-multi/PuBuGn\";\nexport {default as interpolatePuBu, scheme as schemePuBu} from \"./sequential-multi/PuBu\";\nexport {default as interpolatePuRd, scheme as schemePuRd} from \"./sequential-multi/PuRd\";\nexport {default as interpolateRdPu, scheme as schemeRdPu} from \"./sequential-multi/RdPu\";\nexport {default as interpolateYlGnBu, scheme as schemeYlGnBu} from \"./sequential-multi/YlGnBu\";\nexport {default as interpolateYlGn, scheme as schemeYlGn} from \"./sequential-multi/YlGn\";\nexport {default as interpolateYlOrBr, scheme as schemeYlOrBr} from \"./sequential-multi/YlOrBr\";\nexport {default as interpolateYlOrRd, scheme as schemeYlOrRd} from \"./sequential-multi/YlOrRd\";\nexport {default as interpolateBlues, scheme as schemeBlues} from \"./sequential-single/Blues\";\nexport {default as interpolateGreens, scheme as schemeGreens} from \"./sequential-single/Greens\";\nexport {default as interpolateGreys, scheme as schemeGreys} from \"./sequential-single/Greys\";\nexport {default as interpolatePurples, scheme as schemePurples} from \"./sequential-single/Purples\";\nexport {default as interpolateReds, scheme as schemeReds} from \"./sequential-single/Reds\";\nexport {default as interpolateOranges, scheme as schemeOranges} from \"./sequential-single/Oranges\";\n"],"file":"index.js"}
|
|
||||||
Vendored
-19
@@ -1,19 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["d3"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var d3;
|
|
||||||
|
|
||||||
_export("default", function (scheme) {
|
|
||||||
return d3.interpolateRgbBasis(scheme[scheme.length - 1]);
|
|
||||||
});
|
|
||||||
|
|
||||||
return {
|
|
||||||
setters: [function (_d) {
|
|
||||||
d3 = _d.default;
|
|
||||||
}],
|
|
||||||
execute: function () {}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=ramp.js.map
|
|
||||||
-1
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("e5f5f999d8c92ca25f", "edf8fbb2e2e266c2a4238b45", "edf8fbb2e2e266c2a42ca25f006d2c", "edf8fbccece699d8c966c2a42ca25f006d2c", "edf8fbccece699d8c966c2a441ae76238b45005824", "f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824", "f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=BuGn.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("e0ecf49ebcda8856a7", "edf8fbb3cde38c96c688419d", "edf8fbb3cde38c96c68856a7810f7c", "edf8fbbfd3e69ebcda8c96c68856a7810f7c", "edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b", "f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b", "f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=BuPu.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("e0f3dba8ddb543a2ca", "f0f9e8bae4bc7bccc42b8cbe", "f0f9e8bae4bc7bccc443a2ca0868ac", "f0f9e8ccebc5a8ddb57bccc443a2ca0868ac", "f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e", "f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e", "f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=GnBu.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("fee8c8fdbb84e34a33", "fef0d9fdcc8afc8d59d7301f", "fef0d9fdcc8afc8d59e34a33b30000", "fef0d9fdd49efdbb84fc8d59e34a33b30000", "fef0d9fdd49efdbb84fc8d59ef6548d7301f990000", "fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000", "fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=OrRd.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("ece7f2a6bddb2b8cbe", "f1eef6bdc9e174a9cf0570b0", "f1eef6bdc9e174a9cf2b8cbe045a8d", "f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d", "f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b", "fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b", "fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=PuBu.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("ece2f0a6bddb1c9099", "f6eff7bdc9e167a9cf02818a", "f6eff7bdc9e167a9cf1c9099016c59", "f6eff7d0d1e6a6bddb67a9cf1c9099016c59", "f6eff7d0d1e6a6bddb67a9cf3690c002818a016450", "fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450", "fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=PuBuGn.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("e7e1efc994c7dd1c77", "f1eef6d7b5d8df65b0ce1256", "f1eef6d7b5d8df65b0dd1c77980043", "f1eef6d4b9dac994c7df65b0dd1c77980043", "f1eef6d4b9dac994c7df65b0e7298ace125691003f", "f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f", "f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=PuRd.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("fde0ddfa9fb5c51b8a", "feebe2fbb4b9f768a1ae017e", "feebe2fbb4b9f768a1c51b8a7a0177", "feebe2fcc5c0fa9fb5f768a1c51b8a7a0177", "feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177", "fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177", "fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=RdPu.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("f7fcb9addd8e31a354", "ffffccc2e69978c679238443", "ffffccc2e69978c67931a354006837", "ffffccd9f0a3addd8e78c67931a354006837", "ffffccd9f0a3addd8e78c67941ab5d238443005a32", "ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32", "ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=YlGn.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("edf8b17fcdbb2c7fb8", "ffffcca1dab441b6c4225ea8", "ffffcca1dab441b6c42c7fb8253494", "ffffccc7e9b47fcdbb41b6c42c7fb8253494", "ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84", "ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84", "ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=YlGnBu.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("fff7bcfec44fd95f0e", "ffffd4fed98efe9929cc4c02", "ffffd4fed98efe9929d95f0e993404", "ffffd4fee391fec44ffe9929d95f0e993404", "ffffd4fee391fec44ffe9929ec7014cc4c028c2d04", "ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04", "ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=YlOrBr.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("ffeda0feb24cf03b20", "ffffb2fecc5cfd8d3ce31a1c", "ffffb2fecc5cfd8d3cf03b20bd0026", "ffffb2fed976feb24cfd8d3cf03b20bd0026", "ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026", "ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026", "ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=YlOrRd.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("deebf79ecae13182bd", "eff3ffbdd7e76baed62171b5", "eff3ffbdd7e76baed63182bd08519c", "eff3ffc6dbef9ecae16baed63182bd08519c", "eff3ffc6dbef9ecae16baed64292c62171b5084594", "f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594", "f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=Blues.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("e5f5e0a1d99b31a354", "edf8e9bae4b374c476238b45", "edf8e9bae4b374c47631a354006d2c", "edf8e9c7e9c0a1d99b74c47631a354006d2c", "edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32", "f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32", "f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=Greens.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("f0f0f0bdbdbd636363", "f7f7f7cccccc969696525252", "f7f7f7cccccc969696636363252525", "f7f7f7d9d9d9bdbdbd969696636363252525", "f7f7f7d9d9d9bdbdbd969696737373525252252525", "fffffff0f0f0d9d9d9bdbdbd969696737373525252252525", "fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=Greys.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"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"}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
System.register(["../colors", "../ramp"], function (_export, _context) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var colors, ramp, scheme;
|
|
||||||
return {
|
|
||||||
setters: [function (_colors) {
|
|
||||||
colors = _colors.default;
|
|
||||||
}, function (_ramp) {
|
|
||||||
ramp = _ramp.default;
|
|
||||||
}],
|
|
||||||
execute: function () {
|
|
||||||
_export("scheme", scheme = new Array(3).concat("fee6cefdae6be6550d", "feeddefdbe85fd8d3cd94701", "feeddefdbe85fd8d3ce6550da63603", "feeddefdd0a2fdae6bfd8d3ce6550da63603", "feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04", "fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04", "fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(colors));
|
|
||||||
|
|
||||||
_export("default", ramp(scheme));
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=Oranges.js.map
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user