Author SHA1 Message Date
dependabot[bot]andGitHub 29d1a751ff build(deps): bump actions/setup-node from 2.2.0 to 2.4.1
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.2.0 to 2.4.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.2.0...v2.4.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-28 00:07:03 +00:00
Ivan MikheykinandGitHub bc96037286 Merge pull request #209 from flant/fix_null_as_zero
fix: null as zero
2021-07-19 21:17:17 +03:00
Ivan MikheykinandGitHub ba27b10638 Merge pull request #208 from flant/fix_branding_opacity
fix: change opacity for branding
2021-07-19 21:15:37 +03:00
Ivan MikheykinandGitHub c943700efb Merge pull request #207 from flant/dependabot/github_actions/actions/setup-node-2.2.0
build(deps): bump actions/setup-node from 2.1.5 to 2.2.0
2021-07-19 21:11:40 +03:00
Ivan MikheykinandGitHub 1a8a281d28 Merge pull request #204 from flant/dependabot/github_actions/actions/cache-2.1.6
build(deps): bump actions/cache from 2.1.5 to 2.1.6
2021-07-19 21:11:24 +03:00
Ivan Mikheykin 36042a6daf fix: change opacity for branding 2021-07-19 21:10:25 +03:00
Ivan Mikheykin 0b5ce0831e fix(render): null as zero for spectrum mode (continue #205) 2021-07-19 21:02:50 +03:00
Grigorii KhmelnitskiiandIvan Mikheykin c1a3b91082 fix spectrum as zero 2021-07-19 21:00:26 +03:00
dependabot[bot]andGitHub 3f8929f672 build(deps): bump actions/setup-node from 2.1.5 to 2.2.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.1.5 to 2.2.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.5...v2.2.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 00:17:59 +00:00
dependabot[bot]andGitHub 26cbec8efd build(deps): bump actions/cache from 2.1.5 to 2.1.6
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.5 to 2.1.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.5...v2.1.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-28 06:03:41 +00:00
Ivan Mikheykin 74dd7ca41e Merge remote-tracking branches 'origin/dependabot/github_actions/actions/checkout-2.3.4', 'origin/dependabot/github_actions/actions/create-release-1.1.4', 'origin/dependabot/github_actions/actions/upload-release-asset-1.0.2' and 'origin/dependabot/npm_and_yarn/lodash-4.17.21' 2021-05-24 21:39:33 +03:00
dependabot[bot]andGitHub d5bf7d6f54 build(deps): bump actions/checkout from 2 to 2.3.4
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.3.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v2.3.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 05:53:21 +00:00
dependabot[bot]andGitHub e63246c04c build(deps): bump actions/upload-release-asset from 1 to 1.0.2
Bumps [actions/upload-release-asset](https://github.com/actions/upload-release-asset) from 1 to 1.0.2.
- [Release notes](https://github.com/actions/upload-release-asset/releases)
- [Commits](https://github.com/actions/upload-release-asset/compare/v1...v1.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 05:53:19 +00:00
dependabot[bot]andGitHub a1710ef8f1 build(deps): bump actions/create-release from 1 to 1.1.4
Bumps [actions/create-release](https://github.com/actions/create-release) from 1 to 1.1.4.
- [Release notes](https://github.com/actions/create-release/releases)
- [Commits](https://github.com/actions/create-release/compare/v1...v1.1.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 05:53:16 +00:00
dependabot[bot]andGitHub f55406def3 build(deps-dev): bump lodash from 4.17.19 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 18:28:17 +00:00
Ivan MikheykinandGitHub a3983b8378 Merge pull request #195 from flant/dependabot/github_actions/actions/cache-v2.1.5
build(deps): bump actions/cache from v2.1.4 to v2.1.5
2021-04-16 22:29:25 +03:00
dependabot[bot]andGitHub e95cd6095a build(deps): bump actions/cache from v2.1.4 to v2.1.5
Bumps [actions/cache](https://github.com/actions/cache) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.4...1a9e2138d905efd099035b49d8b7a3888c653ca8)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-13 07:17:55 +00:00
Ivan MikheykinandGitHub 93b92b1570 Merge pull request #193 from flant/fix_readme_installation
fix: installation link is changed on grafana.com
2021-03-16 12:30:39 +03:00
Ivan Mikheykin e2c3766650 fix: installation link is changed on grafana.com 2021-03-16 12:22:59 +03:00
Ivan MikheykinandGitHub 6c887e5ba4 Merge pull request #189 from flant/dependabot/github_actions/actions/setup-node-v2.1.5
build(deps): bump actions/setup-node from v2.1.4 to v2.1.5
2021-02-23 23:49:42 +03:00
dependabot[bot]andGitHub 6d1fc9c012 build(deps): bump actions/setup-node from v2.1.4 to v2.1.5
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.4...46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-23 07:16:41 +00:00
Ivan MikheykinandGitHub f90015723a Merge pull request #186 from flant/prepare_v0_4_1
Prepare release 0.4.1
2021-02-18 12:20:43 +03:00
Ivan Mikheykin 15d9132cbe Prepare release 0.4.1 2021-02-18 12:19:30 +03:00
Ivan MikheykinandGitHub e9e36d7f39 Merge pull request #185 from flant/fix_discrete_mode_regression
fix: use == operator instead of strict equal
2021-02-18 12:16:57 +03:00
Ivan Mikheykin 6372ddf8df fix: use == operator instead of strict equal
- regression after fix linter issues. See a8e2a8fa.
2021-02-18 12:11:39 +03:00
Ivan MikheykinandGitHub 8c28d33af4 Merge pull request #182 from flant/prepare_v0_4_0
Last changes for v0.4.0 release
2021-02-17 18:56:37 +03:00
Ivan Mikheykin 8915d5c843 Last changes for v0.4.0 release 2021-02-17 13:21:57 +03:00
Ivan MikheykinandGitHub 9237d7c630 Merge pull request #178 from flant/dependabot/github_actions/actions/setup-node-v2.1.4
build(deps): bump actions/setup-node from v2.1.2 to v2.1.4
2021-02-17 13:20:21 +03:00
Ivan MikheykinandGitHub c34584bdfd Merge pull request #179 from flant/dependabot/github_actions/actions/cache-v2.1.4
build(deps): bump actions/cache from v2 to v2.1.4
2021-02-17 13:20:11 +03:00
Ivan MikheykinandGitHub 7ca70569b1 Merge pull request #181 from flant/feat_branding
feat: branding
2021-02-17 13:11:45 +03:00
Ivan Mikheykin 87675e2bcc feat: branding 2021-02-17 13:00:55 +03:00
Ivan MikheykinandGitHub a69a92d006 Merge pull request #180 from flant/chore_remove_dist
Remove dist folder
2021-02-17 12:51:21 +03:00
Ivan Mikheykin cf6f649854 chore: add dist folder to .gitignore 2021-02-17 12:39:22 +03:00
Ivan Mikheykin 60b3701394 chore: remove dist folder 2021-02-17 12:37:56 +03:00
dependabot[bot]andGitHub 47655959d2 build(deps): bump actions/setup-node from v2.1.2 to v2.1.4
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.1.2 to v2.1.4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.2...c46424eee26de4078d34105d3de3cc4992202b1e)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-17 09:35:29 +00:00
dependabot[bot]andGitHub 99b9969b2b build(deps): bump actions/cache from v2 to v2.1.4
Bumps [actions/cache](https://github.com/actions/cache) from v2 to v2.1.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...26968a09c0ea4f3e233fdddbafd1166051a095f6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-17 09:35:29 +00:00
Ivan MikheykinandGitHub 9bf1617594 Merge pull request #177 from flant/feat_gh_actions
feat: github actions to build and publish
2021-02-17 12:35:11 +03:00
Ivan Mikheykin bd1c7004b5 feat: github actions to build and publish
- add templates for issues and pull request
- small cleanup in README
2021-02-17 12:25:50 +03:00
Ivan Mikheykin b25f376f4e fix: cleanup dist folder, change README
- move images for README into docs/img
- move libs/* into utils. libs folder is copied into dist by grafana-toolkit
- remove d3-scale-chromatic sources, use it from dependencies
- update compatible versions in README
- update installation info
2021-02-16 17:43:48 +03:00
Ivan Mikheykin cf28c74069 fix: compatibility with Grafana 7.4 2021-02-16 17:43:48 +03:00
Ivan Mikheykin e987dee850 feat: use grafana-toolkit to build a plugin
- fix linter warnings
- use yarn: remove Gruntfile.js and package-lock.json

++
2021-02-16 17:43:48 +03:00
Dmitry ShurupovandGitHub 669033b100 switching to GitHub Discussions 2021-01-12 14:56:30 +07:00
Ivan MikheykinandGitHub 6bda6de03a Merge pull request #153 from datadope-io/feature/ylabel_extratooltip
Added custom YLabel and Custom content on tooltip
2020-12-08 18:02:54 +03:00
sbengo fa80d4a3dc Added YLabel splitter and Extra info on tooltip
Actually, custom label are not allowed, it directly uses the provided by
the query result as the target/alias

This feature allows to:

- Split YLabel to store its partials and reuse them on link and extra tooltip field
- Override YLabel with splitted and custom values
- Added Extra Tooltip to show metadata to the user on each serie
2020-12-02 16:41:18 +01:00
Ivan MikheykinandGitHub a7a82ff3f5 Merge pull request #148 from datadope-io/feature/y_trim
Added `__y_label_trim` as available var in link
2020-11-29 21:44:16 +03:00
sbengoandSergio Bengoechea Guerrero c234a49792 Added __y_label_trim as available var in link
Fix #147 . Flux (BETA) adds a blank space on `_y_label` and it breaks
with link built when using the var.

This PR add a new variable to be used on link and removes leading and
trailing characters from `__y_label`
2020-11-27 09:22:13 +01:00
Ivan MikheykinandGitHub 021633670a Merge pull request #141 from flant/release_0_3_4
release: 0.3.4
2020-10-12 11:20:46 +03:00
Ivan Mikheykin b6213efff2 release: 0.3.4 2020-10-12 11:18:44 +03:00
Ivan MikheykinandGitHub 0f64d36b42 Merge pull request #140 from flant/fix_grafana_7_2
fix: Grafana 7.2 compatibility
2020-10-12 10:56:46 +03:00
Ivan Mikheykin b7c525252e fix: Grafana 7.2 compatibility
- See #135
2020-10-12 10:53:14 +03:00
Ivan MikheykinandGitHub c20eb9e1d3 Merge pull request #139 from flant/fix_legend_scale
fix: add condition for noDatapoints state
2020-10-10 13:31:25 +03:00
Ivan Mikheykin 7cc09175f0 fix: add condition for noDatapoints state
- see #134
2020-10-10 13:30:27 +03:00
Ivan MikheykinandGitHub 3b0d119113 Merge pull request #138 from flant/fix_tooltip_name
fix: 'name' in tooltip for opacity and gradient modes
2020-10-10 13:11:33 +03:00
Yamac KandGitHub ce18758cd1 Restrict color scaling to min-max values in spectrum mode (#134)
* Restrict min-max values in spectrum mode
2020-10-10 13:11:11 +03:00
Ivan Mikheykin 1793f12a1f fix: 'name' in tooltip for opacity and gradient modes 2020-10-10 12:56:42 +03:00
Ivan MikheykinandGitHub 012bcac0ef Merge pull request #130 from flant/fix_null_object
fix: proper fallback to string event for renderComplete
2020-08-28 17:59:44 +03:00
Ivan Mikheykin f037ad082e fix: proper fallback to string event for renderComplete 2020-08-28 17:58:43 +03:00
Ivan MikheykinandGitHub 9a2e4a394e Merge pull request #122 from flant/fix_0_3_2
fix: plugin.json fields and relative links in README.md
2020-08-13 14:35:30 +03:00
Ivan Mikheykin 4bd3ecbcf2 fix: plugin.json fields and relative links in README.md 2020-08-13 14:23:25 +03:00
Ivan MikheykinandGitHub 4b7d111cd6 Merge pull request #119 from flant/fix_0_3_1
fix: set version to 0.3.1
2020-07-21 17:51:35 +03:00
Ivan Mikheykin 80725f6cd5 fix: set version to 0.3.1 2020-07-21 17:49:57 +03:00
Ivan MikheykinandGitHub 3e37a0c3cc Merge pull request #118 from flant/fix_for_7_1_0
fix: Grafana 7.1.0 compatibility
2020-07-21 17:43:24 +03:00
Ivan Mikheykin a4d48eb591 fix: Grafana 7.1.0 compatibility
- remove unused injections from module's constructor
- fix trash icon multiplication in options_editor
2020-07-21 17:39:49 +03:00
Ivan MikheykinandGitHub b96d205787 Merge pull request #117 from flant/dependabot/npm_and_yarn/lodash-4.17.19
build(deps): bump lodash from 4.17.15 to 4.17.19
2020-07-21 17:38:08 +03:00
dependabot[bot]andGitHub bd30626721 build(deps): bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-18 23:34:30 +00:00
Ivan MikheykinandGitHub f02831fcbe Merge pull request #115 from flant/fix_before_0_3_0
version 0.3.0
2020-07-14 13:13:44 +03:00
Ivan Mikheykin 7c2f9a9114 0.3.0 2020-07-14 12:41:39 +03:00
Ivan Mikheykin 276d3cce92 fix: dpi for screenshots 2020-07-14 12:31:47 +03:00
Ivan MikheykinandGitHub 46177c71e8 Merge pull request #113 from flant/fix_help_and_docs
help for tooltip and pagination
2020-07-13 23:27:21 +03:00
Ivan Mikheykin c7e7cd33bc fix: add pagination to README 2020-07-13 23:24:18 +03:00
Ivan Mikheykin 6d4c9bb0ef fix: tooltip documentation and help 2020-07-13 23:03:46 +03:00
Ivan MikheykinandGitHub 7f8264a893 Merge pull request #112 from flant/feat_pagination
feat: pagination

See issue #83, pulls: #93 and #112.
2020-07-13 21:35:41 +03:00
Ivan Mikheykin ef4b0e1228 feat: pagination
Continuation of PR #93.

- reworked layout for pagination controls on graph
- use BucketMatrixPager for pagination logic and state
2020-07-13 21:31:14 +03:00
Joaquín Jiménez GarcíaandIvan Mikheykin 99ba3cbdd6 feat: pagination
Continuation of PR #93.
2020-07-13 14:16:37 +03:00
Ivan MikheykinandGitHub 4af775ee1f Merge pull request #110 from flant/fix_deprecated_messages
fix: remove messages 'Using strings as events are deprecated'
2020-07-10 14:07:48 +03:00
Ivan Mikheykin 7817a3928a fix: remove messages 'Using strings as events are deprecated' 2020-07-10 14:02:53 +03:00
Ivan MikheykinandGitHub 080f358e1b Merge pull request #109 from flant/feat_one_tooltip
ref: one codebase for the hover tooltip and the frozen tooltip
2020-07-09 13:28:26 +03:00
Ivan Mikheykin 8c7279561d ref: one codebase for hover tooltip and freezed tooltip
- rename variables for URL template, use templateSrv to render URL links
- fix visibility of tooltip items and url template help popup whe the light theme is used
- rework Tooltip settings pane, organize tooltip editor fields
- rename properties in panel config, implement migration logic for legacy configuration
- close button for the frozen tooltip
- use relative positioning for proper page scrolling
2020-07-09 13:16:09 +03:00
Ivan MikheykinandGitHub 4e281e53d5 Merge pull request #107 from flant/fix_edit_mode_render_for_g7
fix: render buckets in edit mode for Grafana 7.0
2020-07-03 13:25:14 +03:00
Ivan Mikheykin 2479569d71 fix: render buckets in edit mode for Grafana 7.0 2020-07-03 13:19:17 +03:00
Ivan MikheykinandGitHub a911d64a27 Merge pull request #105 from flant/dependabot/npm_and_yarn/websocket-extensions-0.1.4
Bump websocket-extensions from 0.1.3 to 0.1.4
2020-07-03 13:11:15 +03:00
dependabot[bot]andGitHub d592dd8ca2 Bump websocket-extensions from 0.1.3 to 0.1.4
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-07 14:16:47 +00:00
Ivan MikheykinandGitHub d7338a7409 Merge pull request #101 from flant/fix_5_4_regression_query_undefined
fix: regression in 5.4 after implementing workaround for 6.7
2020-05-24 15:10:02 +03:00
Ivan Mikheykin 48597eda59 fix: regression in 5.4 after implementing workaround for 6.7 2020-05-24 15:08:23 +03:00
Ivan MikheykinandGitHub 129a37bda6 Merge pull request #99 from flant/fix_opacity_mode_choose_color
fix: opacity color chooser
2020-05-23 14:21:59 +03:00
Ivan Mikheykin f4d2ede57b fix: opacity color chooser 2020-05-23 14:20:21 +03:00
Ivan MikheykinandGitHub 80548d3972 Merge pull request #98 from flant/fix_6_7
fix: make it work in 6.7 and 7.0+
2020-05-23 13:16:28 +03:00
Ivan Mikheykin 6b6219c1a9 fix: make it work in 6.7 and 7.0+ 2020-05-23 13:11:59 +03:00
b33248c664 Fixed coloring values when filter is -1 (#91)
* Fixed coloring values when filter is -1

Co-Authored-By: Ivan Mikheykin <ivan.mikheykin@flant.com>
2020-03-04 20:10:15 +03:00
Ivan MikheykinandGitHub 28d4f51876 Merge pull request #90 from flant/fix_buckets_and_cards
feat: use timestamp to put values in buckets
2020-03-04 17:20:31 +03:00
Ivan Mikheykin 9463913189 feat: use timestamp to put values in buckets
- fix rendering for spreaded values
- fix legend for spectrum and opacity
2020-03-04 17:17:05 +03:00
Ivan MikheykinandGitHub a3f1495680 Merge pull request #86 from JoaquinJimenezGarcia/tooltip_with_urls
Created a new tooltip when click in a value to have different external links
2020-03-04 17:16:40 +03:00
Joaquin Jimenez Garcia 18574c3fa1 Created a new tooltip when click in a value to have different external links. Which links can be created with values from the series. 2020-02-04 16:31:43 +01:00
Ivan MikheykinandGitHub 1e7ef33b67 Merge pull request #80 from flant/version_0_2_0
Version 0.2.0
2019-12-10 16:36:19 +03:00
Ivan Mikheykin a475e77b96 update grunt-angular-templates to address vulnerable clean-css version 2019-12-03 20:09:08 +03:00
Ivan Mikheykin 33e7001c11 fix files renaming 2019-12-03 19:44:21 +03:00
Ivan Mikheykin 34cf3462c6 Version 0.2.0 2019-12-03 13:48:39 +03:00
Ivan MikheykinandGitHub f1c41e984c Merge pull request #79 from flant/update_ts_babel_fixes_for_6_3_0_plus
feat: migrate to typescript, support 6.3.0+
2019-12-03 13:43:20 +03:00
Ivan Mikheykin b06c5dffc0 feat: migrate to typescript, support 6.3.0+
- use babel to 7, update dependencies, fix #72
- proper babel build to support ngInject, fix #78
- proper buckets display in 6.3.0+, fix #76
- rename js to ts, build d3 lib as js, build src as ts
2019-12-03 13:38:01 +03:00
Ivan MikheykinandGitHub e0891296af Merge pull request #64 from zimmermann-russia/communication_channels
Added links to slack and telegram
2019-04-16 18:53:40 +03:00
Ivan MikheykinandGitHub 6885311a1c docs: links to support chats
- use badges
2019-04-16 15:33:13 +03:00
Artem Kladov f9d71c166a Added links to slack and telegram 2019-04-16 08:53:02 +03:00
230 changed files with 17261 additions and 6322 deletions
+16
View File
@@ -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
+2
View File
@@ -0,0 +1,2 @@
/dist linguist-generated
/src/libs/d3-scale-chromatic linguist-vendored
+35
View File
@@ -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?**:
+11
View File
@@ -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**:
+5
View File
@@ -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
+34
View File
@@ -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
```
+7
View File
@@ -0,0 +1,7 @@
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
+48
View File
@@ -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.4.1
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
+148
View File
@@ -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.4.1
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 .
+2
View File
@@ -1,4 +1,6 @@
dist
node_modules
.jshintrc
.idea
.sass-cache
.tscache
+3
View File
@@ -0,0 +1,3 @@
module.exports = {
...require('./node_modules/@grafana/toolkit/src/config/prettier.plugin.config.json'),
};
+47
View File
@@ -1,5 +1,52 @@
# 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
- 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
+16
View File
@@ -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.
-77
View File
@@ -1,77 +0,0 @@
module.exports = (grunt) => {
require('load-grunt-tasks')(grunt);
grunt.loadNpmTasks('grunt-execute');
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', '!**/*.scss'],
dest: 'dist'
},
pluginDef: {
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: ['es2015'],
plugins: ['transform-es2015-modules-systemjs', 'transform-es2015-for-of', 'transform-class-properties', 'transform-object-rest-spread'],
},
dist: {
files: [{
cwd: 'src',
expand: true,
src: ['*.js', '**/*.js'],
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:pluginDef', 'babel', 'sass']);
// grunt.registerTask('clean', ['clean']);
// grunt.registerTask('watch', ['watch']);
};
+51 -51
View File
@@ -1,8 +1,15 @@
# Statusmap panel for Grafana
![Statusmap sample panel](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/flant-statusmap-panel.png)
[![Download from GitHub](https://img.shields.io/github/tag-date/flant/grafana-statusmap.svg?logo=github&label=latest)](https://github.com/flant/grafana-statusmap/releases/latest)
[![GH Discussions](https://img.shields.io/badge/GitHub-discussions-brightgreen)](https://github.com/flant/grafana-statusmap/discussions)
[![Telegram chat RU](https://img.shields.io/badge/@statusmap_ru-RU-informational.svg?logo=telegram)](https://t.me/statusmap_ru)
[![Follow Flant on Twitter](https://img.shields.io/twitter/follow/flant_com?label=Follow%20Flant&style=social)](https://twitter.com/flant_com)
![Statusmap sample panel with dark theme](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/flant-statusmap-panel-dark.png)
Panel to show discrete statuses of multiple targets over time.
![Statusmap sample panel](https://raw.githubusercontent.com/flant/grafana-statusmap/master/docs/img/flant-statusmap-panel.png)
![Statusmap sample panel with dark theme](https://raw.githubusercontent.com/flant/grafana-statusmap/master/docs/img/flant-statusmap-panel-dark.png)
## Features
@@ -13,30 +20,15 @@
* 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:
- 5.1.3
- 5.4.3
- 6.0.0
## 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.
* Supported Grafana versions:
- 6.7+ are the most priority (6.7, 7.0-7.4)
- also works in 5.4.3 and 6.0+
## Motivation
@@ -129,17 +121,17 @@ ORDER BY $__timeGroup(date_insert,$__interval)
First of all, an individual query for each possible status' value should be created.
Each query should also have similar legend for grouping:
![Query setup](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/queries-example.png)
![Query setup](https://raw.githubusercontent.com/flant/grafana-statusmap/master/docs/img/queries-example.png)
Then, color mapping for status' values should be defined in __Discrete__ color mode:
![Color mapping](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/color-mapping.png)
![Color mapping](https://raw.githubusercontent.com/flant/grafana-statusmap/master/docs/img/color-mapping.png)
Use can use presets to define a trafic light colors or 8 colors from [solarized](https://ethanschoonover.com/solarized/) palette:
![Color mapping empty](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/color-preset-01.png)
![Color mapping empty](https://raw.githubusercontent.com/flant/grafana-statusmap/master/docs/img/color-preset-01.png)
![Color mapping trafic lights](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/color-preset-02.png)
![Color mapping trafic lights](https://raw.githubusercontent.com/flant/grafana-statusmap/master/docs/img/color-preset-02.png)
_Note: __Spectrum__ and __Opacity__ color modes function the same way they do in [Heatmap](https://grafana.com/plugins/heatmap) plugin._
@@ -149,61 +141,69 @@ _Note: __Spectrum__ and __Opacity__ color modes function the same way they do in
#### Bucket
![Bucket options](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/options-bucket.png)
![Bucket options](https://raw.githubusercontent.com/flant/grafana-statusmap/master/docs/img/options-bucket.png)
__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.
![Color mapping](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/multiple-values-error.png)
![Color mapping](https://raw.githubusercontent.com/flant/grafana-statusmap/master/docs/img/multiple-values-error.png)
__Null values__ can be treated as empty buckets or displayed with the color of `0` value.
__Display nulls__ can be treated as empty buckets or displayed with the color of `0` value.
![Color mapping](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/null-as-empty.png)
![Color mapping](https://raw.githubusercontent.com/flant/grafana-statusmap/master/docs/img/null-as-empty.png)
__Min width__ and __spacing__ are used to specify minimal bucket width and spacing between buckets.
__Rounding__ may be used to round edges.
![Min width, spacing, rounding 1](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/min-width-spacing-rounding-01.png)
![Min width, spacing, rounding 1](https://raw.githubusercontent.com/flant/grafana-statusmap/master/docs/img/min-width-spacing-rounding-01.png)
![Min width, spacing, rounding 2](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/min-width-spacing-rounding-02.png)
![Min width, spacing, rounding 2](https://raw.githubusercontent.com/flant/grafana-statusmap/master/docs/img/min-width-spacing-rounding-02.png)
__Values index__ set to positive number to display only values from specified timeseries.
#### Display
![Display options](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/options-display.png)
![Display options](https://raw.githubusercontent.com/flant/grafana-statusmap/master/docs/img/options-display.png)
__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
![Pagination controls](https://raw.githubusercontent.com/flant/grafana-statusmap/master/docs/img/pagination-graph.png)
__Enable pagination__ toggles pagination controls on graph.
__Rows per page__ a number of rows to display on graph.
#### Tooltip
![Tooltip in frozen state](https://raw.githubusercontent.com/flant/grafana-statusmap/master/docs/img/tooltip-frozen.png)
__Show tooltip__ toggles tooltip display on mouse over buckets.
__Y axis 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.
__Freeze on click__ toggles tooltip "freezing" on click. Frozen tooltip can be used to compare data with floating tooltip or to follow URLs.
## Development
__Show items__ toggles display of additional items in tooltip.
To test and improve the plugin you can run Grafana instance in Docker using following command (in
the directory containing Statusmap plugin):
__Items__ is a list of definitions to display URLs in tooltip.
```
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:5.1.3
```
Each URL has a template, icon, label and formating options: lowercase and date format for variables.
This will expose local plugin from your machine to Grafana container. Now run `grunt` to compile
dist directory and start changes watcher:
![Tooltip items editor](https://raw.githubusercontent.com/flant/grafana-statusmap/master/docs/img/tooltip-editor.png)
```
grunt watch
```
## Learn more
* [Changelog](https://github.com/flant/grafana-statusmap/blob/master/CHANGELOG.md)
* Use [GitHub Discussions](https://github.com/flant/grafana-statusmap/discussions) to ask for help.
* [Installation](https://grafana.com/grafana/plugins/flant-statusmap-panel/?tab=installation)
* Setup [development](https://github.com/flant/grafana-statusmap/blob/master/DEVELOPMENT.md) environment to help us improve the plugin.
## 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)
-41
View File
@@ -1,41 +0,0 @@
# Changelog
## 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
-209
View File
@@ -1,209 +0,0 @@
# Statusmap panel for Grafana
![Statusmap sample panel](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/flant-statusmap-panel.png)
![Statusmap sample panel with dark theme](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/flant-statusmap-panel-dark.png)
## 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:
- 5.1.3
- 5.4.3
- 6.0.0
## 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:
![Query setup](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/queries-example.png)
Then, color mapping for status' values should be defined in __Discrete__ color mode:
![Color mapping](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/color-mapping.png)
Use can use presets to define a trafic light colors or 8 colors from [solarized](https://ethanschoonover.com/solarized/) palette:
![Color mapping empty](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/color-preset-01.png)
![Color mapping trafic lights](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/color-preset-02.png)
_Note: __Spectrum__ and __Opacity__ color modes function the same way they do in [Heatmap](https://grafana.com/plugins/heatmap) plugin._
### More options
#### Bucket
![Bucket options](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/options-bucket.png)
__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.
![Color mapping](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/multiple-values-error.png)
__Null values__ can be treated as empty buckets or displayed with the color of `0` value.
![Color mapping](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/null-as-empty.png)
__Min width__ and __spacing__ are used to specify minimal bucket width and spacing between buckets.
__Rounding__ may be used to round edges.
![Min width, spacing, rounding 1](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/min-width-spacing-rounding-01.png)
![Min width, spacing, rounding 2](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/min-width-spacing-rounding-02.png)
#### Display
![Display options](https://raw.githubusercontent.com/flant/grafana-statusmap/master/src/img/options-display.png)
__Show legend__ checkbox toggles legend at the bottom of the panel.
__Show tooltip__ toggles tooltip display on mouse over buckets.
__Y axis 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.
## 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:5.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)
-183
View File
@@ -1,183 +0,0 @@
'use strict';
System.register(['d3', 'jquery', 'lodash', 'app/core/utils/kbn'], function (_export, _context) {
"use strict";
var d3, $, _, kbn, _createClass, 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");
}
}
return {
setters: [function (_d) {
d3 = _d.default;
}, function (_jquery) {
$ = _jquery.default;
}, function (_lodash) {
_ = _lodash.default;
}, function (_appCoreUtilsKbn) {
kbn = _appCoreUtilsKbn.default;
}],
execute: function () {
_createClass = 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);
}
}
return function (Constructor, protoProps, staticProps) {
if (protoProps) defineProperties(Constructor.prototype, protoProps);
if (staticProps) defineProperties(Constructor, staticProps);
return Constructor;
};
}();
TOOLTIP_PADDING_X = 30;
TOOLTIP_PADDING_Y = 10;
_export('AnnotationTooltip', AnnotationTooltip = function () {
function AnnotationTooltip(elem, scope) {
_classCallCheck(this, AnnotationTooltip);
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">' + annoTitle + '</span>\n <span class="graph-annotation__time">' + annoTime + '</span></div>\n <div class="graph-annotation__body">\n <div>' + annoText + '</div>\n ' + _.join(_.map(annoTags, function (t) {
return '<span class="label label-tag small" style="background-color: ' + t.backColor + '; border-color: ' + t.borderColor + '">' + 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;
}());
_export('AnnotationTooltip', AnnotationTooltip);
}
};
});
//# sourceMappingURL=annotations.js.map
-1
View File
File diff suppressed because one or more lines are too long
-407
View File
@@ -1,407 +0,0 @@
'use strict';
System.register(['angular', 'lodash', 'jquery', 'd3', './libs/d3-scale-chromatic/index', 'app/core/core', 'app/core/utils/ticks'], function (_export, _context) {
"use strict";
var angular, _, $, d3, d3ScaleChromatic, contextSrv, tickStep, mod, 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 * 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, discreteHelper) {
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('.status-heatmap-panel');
var graphWidth = $heatmap.find('svg').attr("width");
// 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 discreteHelper.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([0, rangeTo]).range([0, legendWidth]);
var ticks = buildLegendTicks(0, 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);
var 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);
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 = void 0;
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 = void 0;
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;
// 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(tickStepSize * i);
}
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 (_angular) {
angular = _angular.default;
}, 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;
}],
execute: function () {
mod = angular.module('grafana.directives');
LEGEND_STEP_WIDTH = 2;
/**
* Bigger color legend for opacity and spectrum modes editor.
*/
mod.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('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.
*/
mod.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('render', function () {
render();
});
function render() {
clearLegend(elem);
if (!ctrl.panel.legend.show) {
return;
}
if (!_.isEmpty(ctrl.cardsData) && !_.isEmpty(ctrl.cardsData.cards)) {
var rangeFrom = ctrl.cardsData.minValue;
var rangeTo = ctrl.cardsData.maxValue;
var maxValue = panel.color.max || rangeTo;
var minValue = panel.color.min || rangeFrom;
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.discreteHelper);
}
}
}
}
};
});
}
};
});
//# sourceMappingURL=color_legend.js.map
-1
View File
File diff suppressed because one or more lines are too long
-269
View File
@@ -1,269 +0,0 @@
"use strict";
System.register(["lodash"], function (_export, _context) {
"use strict";
var _, _createClass, ColorModeDiscrete;
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
return {
setters: [function (_lodash) {
_ = _lodash.default;
}],
execute: function () {
_createClass = 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);
}
}
return function (Constructor, protoProps, staticProps) {
if (protoProps) defineProperties(Constructor.prototype, protoProps);
if (staticProps) defineProperties(Constructor, staticProps);
return Constructor;
};
}();
_export("ColorModeDiscrete", ColorModeDiscrete = function () {
function ColorModeDiscrete(scope) {
_classCallCheck(this, ColorModeDiscrete);
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: "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: "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: "updateCardsValuesHasColorInfo",
value: function updateCardsValuesHasColorInfo() {
if (!this.panelCtrl.cardsData) {
return;
}
this.panelCtrl.cardsData.noColorDefined = false;
var cards = this.panelCtrl.cardsData.cards;
for (var i = 0; i < cards.length; i++) {
cards[i].noColorDefined = false;
var values = cards[i].values;
for (var j = 0; j < values.length; j++) {
var threshold = this.getMatchedThreshold(values[j]);
if (!threshold || !threshold.color || threshold.color == "") {
cards[i].noColorDefined = true;
this.panelCtrl.cardsData.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;
}());
_export("ColorModeDiscrete", ColorModeDiscrete);
}
};
});
//# sourceMappingURL=color_mode_discrete.js.map
File diff suppressed because one or more lines are too long
-68
View File
@@ -1,68 +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; }
.status-heatmap-panel {
position: relative; }
.status-heatmap-panel .axis .tick text {
fill: #d8d9da;
color: #d8d9da;
font-size: 11px; }
.status-heatmap-panel .axis .tick line {
opacity: 0.4;
stroke: #8e8e8e; }
.status-heatmap-panel svg {
pointer-events: none; }
.status-heatmap-panel svg rect {
pointer-events: visiblePainted; }
.statusmap-tooltip {
white-space: nowrap;
font-size: 12px;
background-color: #141414;
color: #d8d9da; }
.statusmap-tooltip .discrete-item {
color: #52545c;
padding: 1px;
font-weight: bold;
text-shadow: 0 0 0.2em #FFF, 0 0 0.2em #FFF, 0 0 0.2em #FFF; }
.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); }
.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 */
-7
View File
@@ -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,qBAAsB;EACpB,QAAQ,EAAE,QAAQ;EAGhB,sCAAK;IACH,IAAI,ECpBG,OAAO;IDqBd,KAAK,ECrBE,OAAO;IDsBd,SAAS,EEtBE,IAAI;EFyBjB,sCAAK;IACH,OAAO,EAAE,GAAG;IACZ,MAAM,EC1BM,OAAO;ED+BvB,yBAAI;IACF,cAAc,EAAE,IAAI;IAEpB,8BAAK;MACH,cAAc,EAAE,cAAc;;AAKpC,kBAAmB;EACjB,WAAW,EAAE,MAAM;EACnB,SAAS,EE5CI,IAAI;EF6CjB,gBAAgB,EC1CC,OAAO;ED2CxB,KAAK,EC7CM,OAAO;ED+ClB,iCAAe;IACb,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,GAAG;IACZ,WAAW,EAAE,IAAI;IACjB,WAAW,EAAE,8CAA8C;;AAI/D,yBAA0B;EACxB,IAAI,ECvDY,OAAO;;AD2DvB,8BAAK;EACH,MAAM,EAAE,OAAgB;EACxB,YAAY,EAAE,CAAC;;AAInB,yBAA0B;EACxB,YAAY,EAAE,CAAC;EACf,IAAI,EAAE,wBAAwB;EAC9B,MAAM,EAAE,wBAAwB;;AAIlC,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,EC7FG,OAAO;ID8Fd,KAAK,EC9FE,OAAO;ID+Fd,SAAS,EE/FE,IAAI;EFkGjB,+CAAK;IACH,OAAO,EAAE,GAAG;IACZ,MAAM,ECnGM,OAAO;EDsGrB,kDAAQ;IACN,OAAO,EAAE,GAAG;IACZ,MAAM,ECxGM,OAAO",
"sources": ["../../src/css/_statusmap.scss","../../src/css/_variables.dark.scss","../../src/css/_variables.scss"],
"names": [],
"file": "statusmap.dark.css"
}
-68
View File
@@ -1,68 +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; }
.status-heatmap-panel {
position: relative; }
.status-heatmap-panel .axis .tick text {
fill: #52545c;
color: #52545c;
font-size: 11px; }
.status-heatmap-panel .axis .tick line {
opacity: 0.4;
stroke: #767980; }
.status-heatmap-panel svg {
pointer-events: none; }
.status-heatmap-panel svg rect {
pointer-events: visiblePainted; }
.statusmap-tooltip {
white-space: nowrap;
font-size: 12px;
background-color: #dde4ed;
color: #52545c; }
.statusmap-tooltip .discrete-item {
color: #52545c;
padding: 1px;
font-weight: bold;
text-shadow: 0 0 0.2em #FFF, 0 0 0.2em #FFF, 0 0 0.2em #FFF; }
.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); }
.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 */
-7
View File
@@ -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,qBAAsB;EACpB,QAAQ,EAAE,QAAQ;EAGhB,sCAAK;IACH,IAAI,ECpBG,OAAO;IDqBd,KAAK,ECrBE,OAAO;IDsBd,SAAS,EEtBE,IAAI;EFyBjB,sCAAK;IACH,OAAO,EAAE,GAAG;IACZ,MAAM,EC1BM,OAAO;ED+BvB,yBAAI;IACF,cAAc,EAAE,IAAI;IAEpB,8BAAK;MACH,cAAc,EAAE,cAAc;;AAKpC,kBAAmB;EACjB,WAAW,EAAE,MAAM;EACnB,SAAS,EE5CI,IAAI;EF6CjB,gBAAgB,EC1CC,OAAO;ED2CxB,KAAK,EC7CM,OAAO;ED+ClB,iCAAe;IACb,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,GAAG;IACZ,WAAW,EAAE,IAAI;IACjB,WAAW,EAAE,8CAA8C;;AAI/D,yBAA0B;EACxB,IAAI,ECvDY,OAAO;;AD2DvB,8BAAK;EACH,MAAM,EAAE,OAAgB;EACxB,YAAY,EAAE,CAAC;;AAInB,yBAA0B;EACxB,YAAY,EAAE,CAAC;EACf,IAAI,EAAE,wBAAwB;EAC9B,MAAM,EAAE,wBAAwB;;AAIlC,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,EC7FG,OAAO;ID8Fd,KAAK,EC9FE,OAAO;ID+Fd,SAAS,EE/FE,IAAI;EFkGjB,+CAAK;IACH,OAAO,EAAE,GAAG;IACZ,MAAM,ECnGM,OAAO;EDsGrB,kDAAQ;IACN,OAAO,EAAE,GAAG;IACZ,MAAM,ECxGM,OAAO",
"sources": ["../../src/css/_statusmap.scss","../../src/css/_variables.light.scss","../../src/css/_variables.scss"],
"names": [],
"file": "statusmap.light.css"
}
-46
View File
@@ -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

-16
View File
@@ -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,Y;;;yBAEQA,OAAO,kDAAP,C","file":"Accent.js","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666\");\n"]}
-16
View File
@@ -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
View File
@@ -1 +0,0 @@
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/categorical/Dark2.js"],"names":["colors"],"mappings":";;;;;;;;AAAOA,Y;;;yBAEQA,OAAO,kDAAP,C","file":"Dark2.js","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666\");\n"]}
-16
View File
@@ -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,Y;;;yBAEQA,OAAO,0EAAP,C","file":"Paired.js","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928\");\n"]}
-16
View File
@@ -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,Y;;;yBAEQA,OAAO,wDAAP,C","file":"Pastel1.js","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2\");\n"]}
-16
View File
@@ -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,Y;;;yBAEQA,OAAO,kDAAP,C","file":"Pastel2.js","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc\");\n"]}
-16
View File
@@ -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
View File
@@ -1 +0,0 @@
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/categorical/Set1.js"],"names":["colors"],"mappings":";;;;;;;;AAAOA,Y;;;yBAEQA,OAAO,wDAAP,C","file":"Set1.js","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999\");\n"]}
-16
View File
@@ -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
View File
@@ -1 +0,0 @@
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/categorical/Set2.js"],"names":["colors"],"mappings":";;;;;;;;AAAOA,Y;;;yBAEQA,OAAO,kDAAP,C","file":"Set2.js","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3\");\n"]}
-16
View File
@@ -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
View File
@@ -1 +0,0 @@
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/categorical/Set3.js"],"names":["colors"],"mappings":";;;;;;;;AAAOA,Y;;;yBAEQA,OAAO,0EAAP,C","file":"Set3.js","sourcesContent":["import colors from \"../colors\";\n\nexport default colors(\"8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f\");\n"]}
-20
View File
@@ -1,20 +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
View File
@@ -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,IAAID,UAAUE,MAAV,GAAmB,CAAnB,GAAuB,CAA/B;AAAA,QAAkCC,SAAS,IAAIC,KAAJ,CAAUH,CAAV,CAA3C;AAAA,QAAyDI,IAAI,CAA7D;AACA,WAAOA,IAAIJ,CAAX;AAAcE,aAAOE,CAAP,IAAY,MAAML,UAAUM,KAAV,CAAgBD,IAAI,CAApB,EAAuB,EAAEA,CAAF,GAAM,CAA7B,CAAlB;AAAd,KACA,OAAOF,MAAP;AACD,G","file":"colors.js","sourcesContent":["export default function(specifier) {\n var n = specifier.length / 6 | 0, colors = new Array(n), i = 0;\n while (i < n) colors[i] = \"#\" + specifier.slice(i * 6, ++i * 6);\n return colors;\n}\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_export("default", ramp(scheme));
}
};
});
//# sourceMappingURL=BrBG.js.map
-1
View File
@@ -1 +0,0 @@
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/BrBG.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;;;yBAYLC,KAAKC,MAAL,C","file":"BrBG.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"d8b365f5f5f55ab4ac\",\n \"a6611adfc27d80cdc1018571\",\n \"a6611adfc27df5f5f580cdc1018571\",\n \"8c510ad8b365f6e8c3c7eae55ab4ac01665e\",\n \"8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e\",\n \"8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e\",\n \"8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e\",\n \"5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30\",\n \"5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_export("default", ramp(scheme));
}
};
});
//# sourceMappingURL=GnYlRd.js.map
-1
View File
@@ -1 +0,0 @@
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/GnYlRd.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;;;yBAYLC,KAAKC,MAAL,C","file":"GnYlRd.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"91cf60ffffbffc8d59\",\n \"1a9641a6d96afdae61d7191c\",\n \"1a9641a6d96affffbffdae61d7191c\",\n \"1a985091cf60d9ef8bfee08bfc8d59d73027\",\n \"1a985091cf60d9ef8bffffbffee08bfc8d59d73027\",\n \"1a985066bd63a6d96ad9ef8bfee08bfdae61f46d43d73027\",\n \"1a985066bd63a6d96ad9ef8bffffbffee08bfdae61f46d43d73027\",\n \"0068371a985066bd63a6d96ad9ef8bfee08bfdae61f46d43d73027a50026\",\n \"0068371a985066bd63a6d96ad9ef8bffffbffee08bfdae61f46d43d73027a50026\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_export("default", ramp(scheme));
}
};
});
//# sourceMappingURL=PRGn.js.map
-1
View File
@@ -1 +0,0 @@
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/PRGn.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;;;yBAYLC,KAAKC,MAAL,C","file":"PRGn.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"af8dc3f7f7f77fbf7b\",\n \"7b3294c2a5cfa6dba0008837\",\n \"7b3294c2a5cff7f7f7a6dba0008837\",\n \"762a83af8dc3e7d4e8d9f0d37fbf7b1b7837\",\n \"762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837\",\n \"762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837\",\n \"762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837\",\n \"40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b\",\n \"40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_export("default", ramp(scheme));
}
};
});
//# sourceMappingURL=PiYG.js.map
-1
View File
@@ -1 +0,0 @@
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/PiYG.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;;;yBAYLC,KAAKC,MAAL,C","file":"PiYG.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"e9a3c9f7f7f7a1d76a\",\n \"d01c8bf1b6dab8e1864dac26\",\n \"d01c8bf1b6daf7f7f7b8e1864dac26\",\n \"c51b7de9a3c9fde0efe6f5d0a1d76a4d9221\",\n \"c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221\",\n \"c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221\",\n \"c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221\",\n \"8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419\",\n \"8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_export("default", ramp(scheme));
}
};
});
//# sourceMappingURL=PuOr.js.map
-1
View File
@@ -1 +0,0 @@
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/PuOr.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;;;yBAYLC,KAAKC,MAAL,C","file":"PuOr.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"998ec3f7f7f7f1a340\",\n \"5e3c99b2abd2fdb863e66101\",\n \"5e3c99b2abd2f7f7f7fdb863e66101\",\n \"542788998ec3d8daebfee0b6f1a340b35806\",\n \"542788998ec3d8daebf7f7f7fee0b6f1a340b35806\",\n \"5427888073acb2abd2d8daebfee0b6fdb863e08214b35806\",\n \"5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806\",\n \"2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08\",\n \"2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_export("default", ramp(scheme));
}
};
});
//# sourceMappingURL=RdBu.js.map
-1
View File
@@ -1 +0,0 @@
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/RdBu.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;;;yBAYLC,KAAKC,MAAL,C","file":"RdBu.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"ef8a62f7f7f767a9cf\",\n \"ca0020f4a58292c5de0571b0\",\n \"ca0020f4a582f7f7f792c5de0571b0\",\n \"b2182bef8a62fddbc7d1e5f067a9cf2166ac\",\n \"b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac\",\n \"b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac\",\n \"b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac\",\n \"67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061\",\n \"67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_export("default", ramp(scheme));
}
};
});
//# sourceMappingURL=RdGy.js.map
-1
View File
@@ -1 +0,0 @@
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/RdGy.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;;;yBAYLC,KAAKC,MAAL,C","file":"RdGy.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"ef8a62ffffff999999\",\n \"ca0020f4a582bababa404040\",\n \"ca0020f4a582ffffffbababa404040\",\n \"b2182bef8a62fddbc7e0e0e09999994d4d4d\",\n \"b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d\",\n \"b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d\",\n \"b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d\",\n \"67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a\",\n \"67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_export("default", ramp(scheme));
}
};
});
//# sourceMappingURL=RdYlBu.js.map
-1
View File
@@ -1 +0,0 @@
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/RdYlBu.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;;;yBAYLC,KAAKC,MAAL,C","file":"RdYlBu.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"fc8d59ffffbf91bfdb\",\n \"d7191cfdae61abd9e92c7bb6\",\n \"d7191cfdae61ffffbfabd9e92c7bb6\",\n \"d73027fc8d59fee090e0f3f891bfdb4575b4\",\n \"d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4\",\n \"d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4\",\n \"d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4\",\n \"a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695\",\n \"a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_export("default", ramp(scheme));
}
};
});
//# sourceMappingURL=RdYlGn.js.map
-1
View File
@@ -1 +0,0 @@
{"version":3,"sources":["../../../../src/libs/d3-scale-chromatic/diverging/RdYlGn.js"],"names":["colors","ramp","scheme","Array","concat","map"],"mappings":";;;;;;;;AAAOA,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;;;yBAYLC,KAAKC,MAAL,C","file":"RdYlGn.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"fc8d59ffffbf91cf60\",\n \"d7191cfdae61a6d96a1a9641\",\n \"d7191cfdae61ffffbfa6d96a1a9641\",\n \"d73027fc8d59fee08bd9ef8b91cf601a9850\",\n \"d73027fc8d59fee08bffffbfd9ef8b91cf601a9850\",\n \"d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850\",\n \"d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850\",\n \"a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837\",\n \"a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_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,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlB,8DARkB,EASlB,oEATkB,EAUlBC,GAVkB,CAUdL,MAVc,C;;;;yBAYLC,KAAKC,MAAL,C","file":"Spectral.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"fc8d59ffffbf99d594\",\n \"d7191cfdae61abdda42b83ba\",\n \"d7191cfdae61ffffbfabdda42b83ba\",\n \"d53e4ffc8d59fee08be6f59899d5943288bd\",\n \"d53e4ffc8d59fee08bffffbfe6f59899d5943288bd\",\n \"d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd\",\n \"d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd\",\n \"9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2\",\n \"9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
-219
View File
@@ -1,219 +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) {
var _exportObj = {};
_exportObj.schemeAccent = _categoricalAccent.default;
_export(_exportObj);
}, function (_categoricalDark) {
var _exportObj2 = {};
_exportObj2.schemeDark2 = _categoricalDark.default;
_export(_exportObj2);
}, function (_categoricalPaired) {
var _exportObj3 = {};
_exportObj3.schemePaired = _categoricalPaired.default;
_export(_exportObj3);
}, function (_categoricalPastel) {
var _exportObj4 = {};
_exportObj4.schemePastel1 = _categoricalPastel.default;
_export(_exportObj4);
}, function (_categoricalPastel2) {
var _exportObj5 = {};
_exportObj5.schemePastel2 = _categoricalPastel2.default;
_export(_exportObj5);
}, function (_categoricalSet) {
var _exportObj6 = {};
_exportObj6.schemeSet1 = _categoricalSet.default;
_export(_exportObj6);
}, function (_categoricalSet2) {
var _exportObj7 = {};
_exportObj7.schemeSet2 = _categoricalSet2.default;
_export(_exportObj7);
}, function (_categoricalSet3) {
var _exportObj8 = {};
_exportObj8.schemeSet3 = _categoricalSet3.default;
_export(_exportObj8);
}, function (_divergingBrBG) {
var _exportObj9 = {};
_exportObj9.interpolateBrBG = _divergingBrBG.default;
_exportObj9.schemeBrBG = _divergingBrBG.scheme;
_export(_exportObj9);
}, function (_divergingPRGn) {
var _exportObj10 = {};
_exportObj10.interpolatePRGn = _divergingPRGn.default;
_exportObj10.schemePRGn = _divergingPRGn.scheme;
_export(_exportObj10);
}, function (_divergingPiYG) {
var _exportObj11 = {};
_exportObj11.interpolatePiYG = _divergingPiYG.default;
_exportObj11.schemePiYG = _divergingPiYG.scheme;
_export(_exportObj11);
}, function (_divergingPuOr) {
var _exportObj12 = {};
_exportObj12.interpolatePuOr = _divergingPuOr.default;
_exportObj12.schemePuOr = _divergingPuOr.scheme;
_export(_exportObj12);
}, function (_divergingRdBu) {
var _exportObj13 = {};
_exportObj13.interpolateRdBu = _divergingRdBu.default;
_exportObj13.schemeRdBu = _divergingRdBu.scheme;
_export(_exportObj13);
}, function (_divergingRdGy) {
var _exportObj14 = {};
_exportObj14.interpolateRdGy = _divergingRdGy.default;
_exportObj14.schemeRdGy = _divergingRdGy.scheme;
_export(_exportObj14);
}, function (_divergingRdYlBu) {
var _exportObj15 = {};
_exportObj15.interpolateRdYlBu = _divergingRdYlBu.default;
_exportObj15.schemeRdYlBu = _divergingRdYlBu.scheme;
_export(_exportObj15);
}, function (_divergingRdYlGn) {
var _exportObj16 = {};
_exportObj16.interpolateRdYlGn = _divergingRdYlGn.default;
_exportObj16.schemeRdYlGn = _divergingRdYlGn.scheme;
_export(_exportObj16);
}, function (_divergingGnYlRd) {
var _exportObj17 = {};
_exportObj17.interpolateGnYlRd = _divergingGnYlRd.default;
_exportObj17.schemeGnYlRd = _divergingGnYlRd.scheme;
_export(_exportObj17);
}, function (_divergingSpectral) {
var _exportObj18 = {};
_exportObj18.interpolateSpectral = _divergingSpectral.default;
_exportObj18.schemeSpectral = _divergingSpectral.scheme;
_export(_exportObj18);
}, function (_sequentialMultiBuGn) {
var _exportObj19 = {};
_exportObj19.interpolateBuGn = _sequentialMultiBuGn.default;
_exportObj19.schemeBuGn = _sequentialMultiBuGn.scheme;
_export(_exportObj19);
}, function (_sequentialMultiBuPu) {
var _exportObj20 = {};
_exportObj20.interpolateBuPu = _sequentialMultiBuPu.default;
_exportObj20.schemeBuPu = _sequentialMultiBuPu.scheme;
_export(_exportObj20);
}, function (_sequentialMultiGnBu) {
var _exportObj21 = {};
_exportObj21.interpolateGnBu = _sequentialMultiGnBu.default;
_exportObj21.schemeGnBu = _sequentialMultiGnBu.scheme;
_export(_exportObj21);
}, function (_sequentialMultiOrRd) {
var _exportObj22 = {};
_exportObj22.interpolateOrRd = _sequentialMultiOrRd.default;
_exportObj22.schemeOrRd = _sequentialMultiOrRd.scheme;
_export(_exportObj22);
}, function (_sequentialMultiPuBuGn) {
var _exportObj23 = {};
_exportObj23.interpolatePuBuGn = _sequentialMultiPuBuGn.default;
_exportObj23.schemePuBuGn = _sequentialMultiPuBuGn.scheme;
_export(_exportObj23);
}, function (_sequentialMultiPuBu) {
var _exportObj24 = {};
_exportObj24.interpolatePuBu = _sequentialMultiPuBu.default;
_exportObj24.schemePuBu = _sequentialMultiPuBu.scheme;
_export(_exportObj24);
}, function (_sequentialMultiPuRd) {
var _exportObj25 = {};
_exportObj25.interpolatePuRd = _sequentialMultiPuRd.default;
_exportObj25.schemePuRd = _sequentialMultiPuRd.scheme;
_export(_exportObj25);
}, function (_sequentialMultiRdPu) {
var _exportObj26 = {};
_exportObj26.interpolateRdPu = _sequentialMultiRdPu.default;
_exportObj26.schemeRdPu = _sequentialMultiRdPu.scheme;
_export(_exportObj26);
}, function (_sequentialMultiYlGnBu) {
var _exportObj27 = {};
_exportObj27.interpolateYlGnBu = _sequentialMultiYlGnBu.default;
_exportObj27.schemeYlGnBu = _sequentialMultiYlGnBu.scheme;
_export(_exportObj27);
}, function (_sequentialMultiYlGn) {
var _exportObj28 = {};
_exportObj28.interpolateYlGn = _sequentialMultiYlGn.default;
_exportObj28.schemeYlGn = _sequentialMultiYlGn.scheme;
_export(_exportObj28);
}, function (_sequentialMultiYlOrBr) {
var _exportObj29 = {};
_exportObj29.interpolateYlOrBr = _sequentialMultiYlOrBr.default;
_exportObj29.schemeYlOrBr = _sequentialMultiYlOrBr.scheme;
_export(_exportObj29);
}, function (_sequentialMultiYlOrRd) {
var _exportObj30 = {};
_exportObj30.interpolateYlOrRd = _sequentialMultiYlOrRd.default;
_exportObj30.schemeYlOrRd = _sequentialMultiYlOrRd.scheme;
_export(_exportObj30);
}, function (_sequentialSingleBlues) {
var _exportObj31 = {};
_exportObj31.interpolateBlues = _sequentialSingleBlues.default;
_exportObj31.schemeBlues = _sequentialSingleBlues.scheme;
_export(_exportObj31);
}, function (_sequentialSingleGreens) {
var _exportObj32 = {};
_exportObj32.interpolateGreens = _sequentialSingleGreens.default;
_exportObj32.schemeGreens = _sequentialSingleGreens.scheme;
_export(_exportObj32);
}, function (_sequentialSingleGreys) {
var _exportObj33 = {};
_exportObj33.interpolateGreys = _sequentialSingleGreys.default;
_exportObj33.schemeGreys = _sequentialSingleGreys.scheme;
_export(_exportObj33);
}, function (_sequentialSinglePurples) {
var _exportObj34 = {};
_exportObj34.interpolatePurples = _sequentialSinglePurples.default;
_exportObj34.schemePurples = _sequentialSinglePurples.scheme;
_export(_exportObj34);
}, function (_sequentialSingleReds) {
var _exportObj35 = {};
_exportObj35.interpolateReds = _sequentialSingleReds.default;
_exportObj35.schemeReds = _sequentialSingleReds.scheme;
_export(_exportObj35);
}, function (_sequentialSingleOranges) {
var _exportObj36 = {};
_exportObj36.interpolateOranges = _sequentialSingleOranges.default;
_exportObj36.schemeOranges = _sequentialSingleOranges.scheme;
_export(_exportObj36);
}],
execute: function () {}
};
});
//# sourceMappingURL=index.js.map
File diff suppressed because one or more lines are too long
-19
View File
@@ -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
View File
@@ -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,GAAGC,mBAAH,CAAuBF,OAAOA,OAAOG,MAAP,GAAgB,CAAvB,CAAvB,CAAP;AACD,G;;;;AAJMF,Q","file":"ramp.js","sourcesContent":["import d3 from 'd3';\n\nexport default function(scheme) {\n return d3.interpolateRgbBasis(scheme[scheme.length - 1]);\n}\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_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,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"BuGn.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"e5f5f999d8c92ca25f\",\n \"edf8fbb2e2e266c2a4238b45\",\n \"edf8fbb2e2e266c2a42ca25f006d2c\",\n \"edf8fbccece699d8c966c2a42ca25f006d2c\",\n \"edf8fbccece699d8c966c2a441ae76238b45005824\",\n \"f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824\",\n \"f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_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,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"BuPu.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"e0ecf49ebcda8856a7\",\n \"edf8fbb3cde38c96c688419d\",\n \"edf8fbb3cde38c96c68856a7810f7c\",\n \"edf8fbbfd3e69ebcda8c96c68856a7810f7c\",\n \"edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b\",\n \"f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b\",\n \"f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_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,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"GnBu.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"e0f3dba8ddb543a2ca\",\n \"f0f9e8bae4bc7bccc42b8cbe\",\n \"f0f9e8bae4bc7bccc443a2ca0868ac\",\n \"f0f9e8ccebc5a8ddb57bccc443a2ca0868ac\",\n \"f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e\",\n \"f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e\",\n \"f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_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,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"OrRd.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"fee8c8fdbb84e34a33\",\n \"fef0d9fdcc8afc8d59d7301f\",\n \"fef0d9fdcc8afc8d59e34a33b30000\",\n \"fef0d9fdd49efdbb84fc8d59e34a33b30000\",\n \"fef0d9fdd49efdbb84fc8d59ef6548d7301f990000\",\n \"fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000\",\n \"fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_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,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"PuBu.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"ece7f2a6bddb2b8cbe\",\n \"f1eef6bdc9e174a9cf0570b0\",\n \"f1eef6bdc9e174a9cf2b8cbe045a8d\",\n \"f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d\",\n \"f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b\",\n \"fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b\",\n \"fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_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,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"PuBuGn.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"ece2f0a6bddb1c9099\",\n \"f6eff7bdc9e167a9cf02818a\",\n \"f6eff7bdc9e167a9cf1c9099016c59\",\n \"f6eff7d0d1e6a6bddb67a9cf1c9099016c59\",\n \"f6eff7d0d1e6a6bddb67a9cf3690c002818a016450\",\n \"fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450\",\n \"fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_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,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"PuRd.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"e7e1efc994c7dd1c77\",\n \"f1eef6d7b5d8df65b0ce1256\",\n \"f1eef6d7b5d8df65b0dd1c77980043\",\n \"f1eef6d4b9dac994c7df65b0dd1c77980043\",\n \"f1eef6d4b9dac994c7df65b0e7298ace125691003f\",\n \"f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f\",\n \"f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_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,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"RdPu.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"fde0ddfa9fb5c51b8a\",\n \"feebe2fbb4b9f768a1ae017e\",\n \"feebe2fbb4b9f768a1c51b8a7a0177\",\n \"feebe2fcc5c0fa9fb5f768a1c51b8a7a0177\",\n \"feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177\",\n \"fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177\",\n \"fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_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,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"YlGn.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"f7fcb9addd8e31a354\",\n \"ffffccc2e69978c679238443\",\n \"ffffccc2e69978c67931a354006837\",\n \"ffffccd9f0a3addd8e78c67931a354006837\",\n \"ffffccd9f0a3addd8e78c67941ab5d238443005a32\",\n \"ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32\",\n \"ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_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,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"YlGnBu.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"edf8b17fcdbb2c7fb8\",\n \"ffffcca1dab441b6c4225ea8\",\n \"ffffcca1dab441b6c42c7fb8253494\",\n \"ffffccc7e9b47fcdbb41b6c42c7fb8253494\",\n \"ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84\",\n \"ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84\",\n \"ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_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,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"YlOrBr.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"fff7bcfec44fd95f0e\",\n \"ffffd4fed98efe9929cc4c02\",\n \"ffffd4fed98efe9929d95f0e993404\",\n \"ffffd4fee391fec44ffe9929d95f0e993404\",\n \"ffffd4fee391fec44ffe9929ec7014cc4c028c2d04\",\n \"ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04\",\n \"ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_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,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"YlOrRd.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"ffeda0feb24cf03b20\",\n \"ffffb2fecc5cfd8d3ce31a1c\",\n \"ffffb2fecc5cfd8d3cf03b20bd0026\",\n \"ffffb2fed976feb24cfd8d3cf03b20bd0026\",\n \"ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026\",\n \"ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026\",\n \"ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_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,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"Blues.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"deebf79ecae13182bd\",\n \"eff3ffbdd7e76baed62171b5\",\n \"eff3ffbdd7e76baed63182bd08519c\",\n \"eff3ffc6dbef9ecae16baed63182bd08519c\",\n \"eff3ffc6dbef9ecae16baed64292c62171b5084594\",\n \"f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594\",\n \"f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
@@ -1,22 +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("scheme", scheme);
_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,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"Greens.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"e5f5e0a1d99b31a354\",\n \"edf8e9bae4b374c476238b45\",\n \"edf8e9bae4b374c47631a354006d2c\",\n \"edf8e9c7e9c0a1d99b74c47631a354006d2c\",\n \"edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32\",\n \"f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32\",\n \"f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}
-22
View File
@@ -1,22 +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("scheme", scheme);
_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,Y;;AACAC,U;;;wBAEIC,M,GAAS,IAAIC,KAAJ,CAAU,CAAV,EAAaC,MAAb,CAClB,oBADkB,EAElB,0BAFkB,EAGlB,gCAHkB,EAIlB,sCAJkB,EAKlB,4CALkB,EAMlB,kDANkB,EAOlB,wDAPkB,EAQlBC,GARkB,CAQdL,MARc,C;;;;yBAULC,KAAKC,MAAL,C","file":"Greys.js","sourcesContent":["import colors from \"../colors\";\nimport ramp from \"../ramp\";\n\nexport var scheme = new Array(3).concat(\n \"f0f0f0bdbdbd636363\",\n \"f7f7f7cccccc969696525252\",\n \"f7f7f7cccccc969696636363252525\",\n \"f7f7f7d9d9d9bdbdbd969696636363252525\",\n \"f7f7f7d9d9d9bdbdbd969696737373525252252525\",\n \"fffffff0f0f0d9d9d9bdbdbd969696737373525252252525\",\n \"fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000\"\n).map(colors);\n\nexport default ramp(scheme);\n"]}

Some files were not shown because too many files have changed in this diff Show More