import { PublicConfigClass } from '../../../../../utils/PublicConfigClass';

import { echartOptionProfixHandle } from '../../../chart';
import { PressureConfig } from './basis';
import { cloneDeep } from 'lodash-es';

export const includes = [];

export const option = {
  tooltip: {
    show: true
  },
  series: [
    {
      name: '仪表盘',
      type: 'gauge',
      progress: {
        show: true
      },
      detail: {
        valueAnimation: true,
        formatter: '{value}'
      },
      data: [
        {
          value: 50,
          name: 'SCORE'
        }
      ]
    }
  ]
};

export default class Config extends PublicConfigClass {
  key = PressureConfig.key;
  chartConfig = cloneDeep(PressureConfig);
  // 图表配置项
  option = echartOptionProfixHandle(option, includes);
}
