mirror of
https://github.com/apache/superset.git
synced 2026-06-04 15:19:25 +00:00
Add lyftColor to the game 💯 (#4682)
* add lyftColor to the game 💯
* fix json
This commit is contained in:
committed by
Maxime Beauchemin
parent
00cab7e107
commit
9abc5c724f
@@ -2747,6 +2747,10 @@
|
||||
[
|
||||
"googleCategory20c",
|
||||
"googleCategory20c"
|
||||
],
|
||||
[
|
||||
"lyftColors",
|
||||
"lyftColors"
|
||||
]
|
||||
],
|
||||
"description": "The color scheme for rendering chart",
|
||||
|
||||
@@ -27,6 +27,14 @@ export const bnbColors = [
|
||||
'#b37e00',
|
||||
'#988b4e',
|
||||
];
|
||||
|
||||
export const lyftColors = [
|
||||
'#ff00bf', // pink
|
||||
'#352384', // purple
|
||||
'#333447', // carbon
|
||||
'#f3f3f5', // silver
|
||||
];
|
||||
|
||||
const d3Category10 = d3.scale.category10().range();
|
||||
const d3Category20 = d3.scale.category20().range();
|
||||
const d3Category20b = d3.scale.category20b().range();
|
||||
|
||||
Reference in New Issue
Block a user