1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- import ChartDigit7 from '../../../src/chart/digit/ChartDigit7/ChartDigit7.js';
- import Title from "../../../src/chart/commonOptions/title";
-
- let chart=new ChartDigit7(document.getElementsByClassName('c1')[0],{});
- window.addEventListener('resize',()=>{
- chart.resize();
- });
- // setTimeout(()=>{
- // chart.setOption(
- // {
- // title: Title.option(''),
- // bg: {
- // backgroundColor: "#101028"
- // },
- // grid: {
- // left: "28%",
- // right: "28%",
- // top: "35%",
- // bottom: "35%"
- // },
- // realNum:{
- // color: '#000000',
- // wordSize: 24,
- // numSize: 46,
- // fontWeight: 'normal',
- // textAlign: 'left',
- // textLineHeight: 'middle',
- // numleft: 8,
- // rectBgColor: '#94ddf3',
- // rectPaddingtop: 5,
- // rectPaddingleft: 15,
- // cutangle: 12,
- // isthousand: false
- // },
- // targetNum:{
- // color: '#fff',
- // wordSize: 24,
- // numSize: 46,
- // fontWeight: 'normal',
- // textAlign: 'left',
- // textLineHeight: 'middle',
- // numleft: 8,
- // rectBgColor: '#18c1f1',
- // rectPaddingtop: 5,
- // rectPaddingleft: 15,
- // rectmarginTop:12,
- // cutangle: 12,
- // isthousand: false
- // },
- // series: [{
- // name: '实际',
- // value: 52000
- // },
- // {
- // name: '目标',
- // value: 50000
- // }
- // ]
- // }
- // );
- // },3000)
-
|