index.ts
624 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('OverridePieCircle', true)
export const OverridePieCircleConfig: ConfigType = {
key,
chartKey,
conKey,
title: 'charts.chart.customPieChart',
category: ChatCategoryEnum.PIE,
categoryName: ChatCategoryEnumName.PIE,
package: PackagesCategoryEnum.CHARTS,
chartFrame: ChartFrameEnum.ECHARTS,
image: 'pie-circle.png'
}