123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- import ChartPie3 from '../../../src/chart/pie/ChartPie3/ChartPie3.js';
- import Title from "../../../src/chart/commonOptions/title";
-
- let chart=new ChartPie3(document.getElementsByClassName('c1')[0],{});
-
- window.addEventListener("resize",()=>{
- chart.resize();
- });
- // setTimeout(v=>{
- // chart.setOption({bg:{
- // backgroundColor:"#0b162f"
- // },
- // title: {},
- // color:['#0170a9', '#faeb00'],
- // series: [{
- // legendSet:{
- // color:"#fff",
- // colorList:['#0170a9', '#faeb00'],
- // show:true,
- // fontWeight:'normal',
- // fontSize:14,
- // legendCircle:5
- // },
- // pieSet:{
- // width:"70%",
- // circleLength:100,
- // circleR:2,
- // arcWidth:10,
- // color:"#00b4ff",
- // },
- // center:{
- // x:'50%',
- // y:'50%',
- // },
- // maxArc:{value:"70%"},
- // state:{
- // abnormal:"60%",
- // warning:"80%"
- // },
- // detailStyle:{
- // show:true,
- // fontWeight:'normal',
- // color:'#ffffff',
- // fontSize:14,
- // unit:"件",
- // numShow:0
- // },
- // dataStyle:{
- // fontWeight:'normal',
- // color:'#ffffff',
- // fontSize:14,
- // numShow:0
- // },
- // data:{
- // name: ['目标值',"实际值"],
- // value:[ 60,100]
- // }
- //
- // }]})
- // },3000)
|