fix: 修改水波图的名称
This commit is contained in:
parent
4b21f3a753
commit
0d873e4ffa
14
src/packages/components/Charts/Mores/WaterPolo/config.ts
Normal file
14
src/packages/components/Charts/Mores/WaterPolo/config.ts
Normal file
@ -0,0 +1,14 @@
|
||||
import { publicConfig } from '@/packages/public'
|
||||
import { CreateComponentType } from '@/packages/index.d'
|
||||
import { WaterPoloConfig } from './index'
|
||||
import cloneDeep from 'lodash/cloneDeep'
|
||||
|
||||
export const option = {
|
||||
colors: ['#4fd2dd', '#235fa7'],
|
||||
}
|
||||
|
||||
export default class Config extends publicConfig implements CreateComponentType {
|
||||
public key = WaterPoloConfig.key
|
||||
public chartConfig = cloneDeep(WaterPoloConfig)
|
||||
public option = option
|
||||
}
|
@ -1,12 +1,12 @@
|
||||
import image from '@/assets/images/chart/charts/water_variable.png'
|
||||
import image from '@/assets/images/chart/charts/water_WaterPolo.png'
|
||||
import { ConfigType, PackagesCategoryEnum } from '@/packages/index.d'
|
||||
import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d'
|
||||
|
||||
export const VariableConfig: ConfigType = {
|
||||
key: 'Variable',
|
||||
chartKey: 'VVariable',
|
||||
conKey: 'VCVariable',
|
||||
title: '折线面积图',
|
||||
export const WaterPoloConfig: ConfigType = {
|
||||
key: 'WaterPolo',
|
||||
chartKey: 'VWaterPolo',
|
||||
conKey: 'VCWaterPolo',
|
||||
title: '水球图',
|
||||
category: ChatCategoryEnum.MORE,
|
||||
categoryName: ChatCategoryEnumName.MORE,
|
||||
package: PackagesCategoryEnum.CHARTS,
|
@ -2,7 +2,7 @@ import { RadarConfig } from './Radar/index'
|
||||
import { FunnelConfig } from './Funnel/index'
|
||||
import { HeatmapConfig } from './Heatmap/index'
|
||||
import { PointConfig } from './Point/index'
|
||||
import { VariableConfig } from './Variable/index'
|
||||
import { WaterPoloConfig } from './WaterPolo/index'
|
||||
import { TreeMapConfig } from './TreeMap/index'
|
||||
|
||||
export default [RadarConfig, FunnelConfig, HeatmapConfig,PointConfig, VariableConfig, TreeMapConfig]
|
||||
export default [RadarConfig, FunnelConfig, HeatmapConfig,PointConfig, WaterPoloConfig, TreeMapConfig]
|
||||
|
Loading…
x
Reference in New Issue
Block a user