index.ts 607 Bytes
import { ConfigType, PackagesCategoryEnum, ChartFrameEnum } from '@/packages/index.d'
import { ChatCategoryEnum, ChatCategoryEnumName } from '@/packages/components/Charts/index.d'
import { useWidgetKey } from '@/packages/external/useWidgetKey'

const { key, conKey, chartKey } = useWidgetKey('OverrideBarCommon', true)

export const OverrideBarCommonConfig: ConfigType = {
  key,
  chartKey,
  conKey,
  title: '柱状图动画',
  category: ChatCategoryEnum.BAR,
  categoryName: ChatCategoryEnumName.BAR,
  package: PackagesCategoryEnum.CHARTS,
  chartFrame: ChartFrameEnum.ECHARTS,
  image: 'bar_x.png'
}