信通院-灾备 图表源码(在产品图表库基础上进行修改),开发逻辑和产品图表库一致
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536
  1. import Title from "../../../src/chart/commonOptions/title";
  2. import ChartDigit from '../../../src/chart/digit/ChartDigit27/ChartDigit27.js';
  3. let chart=new ChartDigit(document.getElementsByClassName('c1')[0],{});
  4. window.addEventListener('resize',()=>{
  5. chart.resize();
  6. });
  7. // setTimeout(()=>{
  8. // chart.setOption(opt);
  9. // },3000);
  10. let opt = {
  11. bg: {
  12. backgroundColor: "#000000"
  13. },
  14. color:['#dceeff','#00f7ff'],
  15. shape: {
  16. textStyle:{
  17. textSize:12,
  18. textColor: '#ffffff',
  19. textShadowColor: '#1889C0',
  20. fontWeight: 'bold',
  21. dw: '家'
  22. },
  23. center:{
  24. x:'20%',
  25. y:'50%',
  26. outR: '30%'
  27. },
  28. },
  29. series: [{
  30. name: '企业总数',
  31. value: 563
  32. }
  33. ]
  34. };