1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- import ChartDigit1 from '../../../src/chart/digit/ChartDigit1/ChartDigit1.js';
- import Title from "../../../src/chart/commonOptions/title";
-
- let chart=new ChartDigit1(document.getElementsByClassName('c1')[0],{});
- window.addEventListener('resize',()=>{
- chart.resize();
- });
- // setTimeout(()=>{
- // chart.setOption( {
- // title:Title.option(''),
- // bg:{
- // backgroundColor:"#1d1a2d"
- // },
- // grid:{
- // left: "28%",
- // top: "35%",
- // },
- // flyicon: {
- // iconName: 'icon1',
- // iconColor: '#ffffff',
- // shadowColor: '#00deff',
- // shadowBlur: 50,
- // scale: '75%',
- // left: 0,
- // top: 0
- // },
- // shuline: {
- // lineColor: '#ffffff',
- // lineX: 15,
- // lineY: 8,
- // lineW: 2,
- // lineH: 34
- // },
- // themetit:{
- // themeColor: '#ffffff',
- // themeSize: 24,
- // fontWeight: 'normal',
- // textAlign: 'left',
- // left: 15,
- // top: 15
- // },
- // numcont:{
- // themeColor: '#ffffff',
- // themeSize: 42,
- // fontWeight: 'normal',
- // textAlign: 'left',
- // left: 5,
- // top: 12,
- // shadowColor: '#00deff',
- // shadowBlur: 40,
- // isthousand: true
- // },
- // series: [{
- // name: '预测指标数据',
- // value: 23857198
- // }
- // ]
- // });
- // },3000)
|