信通院-灾备 图表源码(在产品图表库基础上进行修改),开发逻辑和产品图表库一致
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. import ChartDigit6 from '../../../src/chart/digit/ChartDigit6/ChartDigit6.js';
  2. import Title from "../../../src/chart/commonOptions/title";
  3. let chart=new ChartDigit6(document.getElementsByClassName('c1')[0],{});
  4. window.addEventListener('resize',()=>{
  5. chart.resize();
  6. });
  7. // setTimeout(()=>{
  8. // chart.setOption({
  9. // title:Title.option(''),
  10. // bg:{
  11. // backgroundColor:"#1d1a2d"
  12. // },
  13. // grid:{
  14. // left: "25%",
  15. // top: "35%",
  16. // },
  17. // allStyle:{
  18. // titlePosition:"leftTop",//left leftTop centerTop rightTop
  19. // fontSize: 16,
  20. // textFill: '#fff',
  21. // textShadowColor: '#ff4f7f',
  22. // textShadowBlur: 50,
  23. // fontWeight: 'bold',
  24. // keepThousand: true,
  25. // numFontSize: 36,
  26. // numFontColor: '#ffffff',
  27. // numFontWeight: 'bold',
  28. // numtextShadowColor: '#00deff',
  29. // numtextShadowBlur: 50,
  30. // numMargin:15,
  31. // rectbox: 5,
  32. // rectborder: '#0081b6',
  33. // rectbg: '#1a3142'
  34. // },
  35. // unit:{
  36. // cont: '元',
  37. // fontSize: 12,
  38. // textFill: '#94ddf3',
  39. // fontWeight: 'normal'
  40. // },
  41. // series: [{
  42. // name: '指标数据',
  43. // value: 839405160
  44. // }
  45. // ]
  46. // })
  47. // },3000);