fix: 修改水波图的名称

This commit is contained in:
mtrun 2022-03-28 14:36:05 +08:00
parent 4b21f3a753
commit 0d873e4ffa
5 changed files with 22 additions and 8 deletions

View 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
}

View File

@ -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,

View File

@ -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]