123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- import ChartDigit6 from '../../../src/chart/digit/ChartDigit6/ChartDigit6.js';
- import Title from "../../../src/chart/commonOptions/title";
-
- let chart=new ChartDigit6(document.getElementsByClassName('c1')[0],{});
- window.addEventListener('resize',()=>{
- chart.resize();
- });
- // setTimeout(()=>{
- // chart.setOption({
- // title:Title.option(''),
- // bg:{
- // backgroundColor:"#1d1a2d"
- // },
- // grid:{
- // left: "25%",
- // top: "35%",
- // },
- // allStyle:{
- // titlePosition:"leftTop",//left leftTop centerTop rightTop
- // fontSize: 16,
- // textFill: '#fff',
- // textShadowColor: '#ff4f7f',
- // textShadowBlur: 50,
- // fontWeight: 'bold',
- // keepThousand: true,
- // numFontSize: 36,
- // numFontColor: '#ffffff',
- // numFontWeight: 'bold',
- // numtextShadowColor: '#00deff',
- // numtextShadowBlur: 50,
- // numMargin:15,
- // rectbox: 5,
- // rectborder: '#0081b6',
- // rectbg: '#1a3142'
- // },
- // unit:{
- // cont: '元',
- // fontSize: 12,
- // textFill: '#94ddf3',
- // fontWeight: 'normal'
- // },
- // series: [{
- // name: '指标数据',
- // value: 839405160
- // }
- // ]
- // })
- // },3000);
|