Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

feat: getter function to return color mapping #124

Merged
merged 1 commit into from
Mar 25, 2019

Conversation

khtruong
Copy link
Contributor

🏆 Enhancements

Exposed a getter function to return the color mapping between a data value and a color hex code. This is needed so we can save it as dashboard metadata for color consistency in dashboards (apache/superset#7086).

@khtruong khtruong requested a review from a team as a code owner March 25, 2019 20:46
@kristw
Copy link
Contributor

kristw commented Mar 25, 2019

lgtm. waiting for ci

@codecov
Copy link

codecov bot commented Mar 25, 2019

Codecov Report

Merging #124 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #124   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          76     76           
  Lines         965    970    +5     
  Branches      232    232           
=====================================
+ Hits          965    970    +5
Impacted Files Coverage Δ
...ges/superset-ui-color/src/CategoricalColorScale.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9b8efc2...75f2656. Read the comment docs.

@kristw kristw merged commit 46e78ad into apache-superset:master Mar 25, 2019
kristw added a commit that referenced this pull request Apr 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants