반응형
계속해서 UI 및 기능이 업데이트 되고 있네요...
Style > Chart Options > Color Scheme 추가하기
assets/javascripts/modules/colors.js 파일에
export const ALL_COLOR_SCHEMES = {
bnbColors,
d3Category10,
d3Category20,
d3Category20b,
d3Category20c,
googleCategory10c,
googleCategory20c, myColors };
이 부분에 추가하면 된다.
const myColors= [
'#3366cc',
'#dc3912',
'#ff9900',
'#109618']
Color Schema Control 위치는
assets/javascripts/explore/components/controls/ColorSchemeControl.jsx
반응형
'엉터리 개발 이야기 > Superset' 카테고리의 다른 글
[Superset] iframe 으로 chart 호출 시 x-frame-options' to 'sameorigin' 에러 처리 (0) | 2018.03.30 |
---|---|
[Superset] X Axis Format 추가하기. (9) | 2018.03.30 |
[Superset] 'NoneType' object has no attribute 'to_dict' (0) | 2018.03.27 |
[Superset] upgrade 하기(makedirs 에러 조치) (0) | 2018.03.14 |
[Superset] Install 시 에러 발생 처리 ( 0.23.3 버전 ) (0) | 2018.03.14 |