1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- import { commonConfig, displayOption } from 'data-room-ui/js/config'
- export const settingConfig = {
- padding: [30, 30, 30, 60],
- legend: false,
- isGroup: true,
- header: [],
- columnWidth: [],
- align: [],
- data: 0,
-
- displayOption: {
- ...displayOption,
- params: {
- enable: false
- },
- headerField: {
- enable: false
- },
- metricField: {
-
- label: '指标',
- enable: false,
- multiple: false
- },
- dimensionField: {
-
- label: '展示字段',
- enable: true,
- multiple: false
- }
- }
- }
- const customConfig = {
- type: 'indexCard2',
- root: {
- version: '2023071001',
- contribution: false,
- loading: false,
-
- rotateX: 0,
-
- rotateY: 0,
-
- rotateZ: 0,
-
- perspective: 0,
- skewX: 0,
- skewY: 0
- },
- customize: {
- src: '',
- borderRadius: 0,
- borderWidth: 0,
- lineDistance: 6,
- borderColor: '',
- fontFamily: 'ds-digitalbold',
- gradientDirection: 'to right',
- gradientColor0: '#4391f4',
- gradientColor1: '#36c49f',
- distance: 30,
- imgSize: 60,
- firstSize: 18,
- firstColor: '#ffffff',
- firstWeight: 500,
- secondSize: 36,
- secondColor: '#ffffff',
- secondWeight: 500,
- secondLine: '历史工单量',
- unit: '',
- unitSize: 32,
- unitColor: '#fff'
- }
- }
- export const dataConfig = {
- ...commonConfig(customConfig)
- }
|