12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- import { commonConfig, displayOption } from 'data-room-ui/js/config'
- export const settingConfig = {
- theme: 'dark',
- text: '超链接占位符',
-
- displayOption: {
- ...displayOption,
- metricField: {
-
- label: '指标',
- enable: true,
- multiple: false
- },
- dimensionField: {
-
- label: '维度',
- enable: false,
- multiple: true
- }
- }
- }
- const customConfig = {
- type: 'linkChart',
- root: {
- version: '2023071001',
- url: 'https://www.runoob.com/'
- },
- customize: {
- title: '超链接占位符',
- fontSize: 20,
- fontWeight: 700,
- color: 'left,#ffffff,#ffffff',
- url: '',
- openType: '',
- dialogW: 1000,
- dialogH: 500
- }
- }
- export const dataConfig = {
- ...commonConfig(customConfig)
- }
|