1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- import { commonConfig, displayOption } from 'data-room-ui/js/config'
- export const settingConfig = {
- padding: [30, 30, 50, 80],
- legend: false,
- isGroup: true,
- data: [],
- color: '',
- theme: 'dark',
- label: {
-
- position: 'top',
-
- content: ''
- },
- seriesField: '',
- displayOption: {
- ...displayOption,
- metricField: {
-
- label: '指标',
- enable: false,
- multiple: false
- },
- dimensionField: {
-
- label: '表格列',
- enable: true,
- multiple: true
- }
- }
- }
- const customConfig = {
- type: 'tables',
- root: {
- version: '2023071001',
- contribution: false
- },
- customize: {
- theme: 'dark',
-
- headerBackgroundColor: '#232832',
-
- headerFontColor: '#fff',
-
- headerFontSize: 14,
-
- bodyBackgroundColor: '',
-
- bodyFontColor: 'rgb(155 159 172)',
-
- bodyFontSize: 14,
-
- stripe: false,
-
- oddRowBackgroundColor: '',
-
- evenRowBackgroundColor: ''
-
-
- }
- }
- export const dataConfig = {
- ...commonConfig(customConfig)
- }
|