PieConfig.js 728 B

1234567891011121314151617181920212223242526272829303132
  1. let _PieOptions = {
  2. // color: ["#0090D5", "#E14C46", "#FAAF1E", "#59C152", "#2e6ae5"],
  3. color: ['#FFD75B', '#EEE'],
  4. calculable: true,
  5. series: [
  6. {
  7. name: 'Area',
  8. type: 'pie',
  9. center: ['50%', '50%'],
  10. radius: ['70%', '80%'],
  11. avoidLabelOverlap: false,
  12. silent: true,
  13. label: {
  14. normal: {
  15. textStyle: {
  16. color: '#333',
  17. align: 'left',
  18. fontSize: 20,
  19. lineHeight: 32,
  20. verticalAlign: 'middle',
  21. },
  22. position: 'center',
  23. formatter: [],
  24. rich: {},
  25. },
  26. },
  27. data: [],
  28. },
  29. ],
  30. }
  31. let PieOptions = JSON.parse(JSON.stringify(_PieOptions))
  32. export { PieOptions }