1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- import ChartPie19 from '../../../src/chart/pie/ChartPie19/ChartPie19.js';
- import title from '../../../src/chart/commonOptions/title';
- let chart=new ChartPie19(document.getElementsByClassName('c1')[0],{});
- window.addEventListener("resize",()=>{
- chart.resize();
- });
-
-
-
- const defaultOption = {
- title: title.option(''),
- pie19: {
- center: {
- x:"50%",
- y:"50%"
- },
- width:"70%",
- lineLength:30,
- textMar:{
- x:"0%",
- y:"0%"
- },
- colorList:['#00a8ff', '#00eaff'],
- detailStyle:{
- show:true,
- fontWeight:'normal',
- fontSize:14,
-
- },
-
- },
- series: [{
- name: '实际值',
- value: '45%'}
-
-
-
-
-
-
-
- ],
- bg:{
- backgroundColor:"#000000"
-
- },
- };
-
-
|