settingConfig.js 612 B

1234567891011121314151617181920212223
  1. import { commonConfig, displayOption } from 'data-room-ui/js/config'
  2. export const settingConfig = {
  3. displayOption: { ...displayOption }
  4. }
  5. const customConfig = {
  6. root: {
  7. contribution: false
  8. },
  9. customize: {
  10. theme: 'dark', // 'light'、'dark'
  11. colorScheme: [],
  12. legend: null,
  13. legendColor: '', // 图例颜色
  14. xaxisColor: '', // x轴标签颜色
  15. xaxisFontSize: 14, // x轴标签字体大小
  16. yaxisColor: '', // y轴标签颜色
  17. yaxisFontSize: 14, // y轴标签字体大小
  18. labelColor: ''// 标签颜色
  19. }
  20. }
  21. export const dataConfig = {
  22. ...commonConfig(customConfig)
  23. }