[Superset] Color Scheme 추가하기
계속해서 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/compon..
더보기
[ORM][Sequelize] include 모델에 order by 하기
참고한 내용https://github.com/sequelize/sequelize/issues/7510 Model.findAll({ include: [{ model: Nested, attributes: [] }], order: [[Nested, 'name', 'asc']] })A1.findone({where: { id: id },include: [ { model: B1, as: 'b1' } ],order: [ [ {model: B1, as: 'b1'}, 'createAt', 'DESC' ] ] A1.findone({where: { id: id },include: [ { model: B1, as: 'b1' } { model: C1, as: 'c1' } ],order: [ [ {model: B1, as: 'b..
더보기