wordCloud.ts 648 B

123456789101112131415161718192021222324252627282930313233343536
  1. import ChartTypes from './ChartTypes'
  2. import { IChartInfo } from 'containers/Widget/components/Widget'
  3. const wordCloud: IChartInfo = {
  4. id: ChartTypes.WordCloud,
  5. name: 'wordCloud',
  6. title: '词云',
  7. icon: 'icon-chartwordcloud',
  8. coordinate: 'other',
  9. rules: [{ dimension: 1, metric: 1 }],
  10. dimetionAxis: 'col',
  11. data: {
  12. cols: {
  13. title: '列',
  14. type: 'category'
  15. },
  16. rows: {
  17. title: '行',
  18. type: 'category'
  19. },
  20. metrics: {
  21. title: '指标',
  22. type: 'value'
  23. },
  24. filters: {
  25. title: '筛选',
  26. type: 'all'
  27. }
  28. },
  29. style: {
  30. spec: {
  31. }
  32. }
  33. }
  34. export default wordCloud