12345678910111213141516171819202122232425262728293031323334 |
- import Title from "../../../src/chart/commonOptions/title";
- import ChartDigit from '../../../src/chart/zaibei/ChartDigit27/ChartDigit27.js';
-
- let chart = new ChartDigit(document.getElementsByClassName('c1')[0], {});
- window.addEventListener('resize', () => {
- chart.resize();
- });
- // setTimeout(()=>{
- // chart.setOption(opt);
- // },3000);
- let opt = {
- bg: {
- backgroundColor: "#000000"
- },
- color: ['#dceeff', '#00f7ff'],
- shape: {
- textStyle: {
- textSize: 12,
- textColor: '#ffffff',
- textShadowColor: '#1889C0',
- fontWeight: 'bold',
- dw: '家'
- },
- center: {
- x: '20%',
- y: '50%',
- outR: '30%'
- },
- },
- series: [{
- name: '企业总数',
- value: 563
- }]
- };
|