settingConfig.js 630 B

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