{ tooltip : { show: true, trigger: 'item', formatter: '{c} minut' }, toolbox: { show : true, feature : { mark : {show: false}, magicType : {show: true, type: ['line', 'bar']}, restore : {show: true}, saveAsImage : {show: true} } }, calculable : true, series : [ { name:'postanki', type:'pie', center : ['50%', '45%'], startAngle: 90, radius : '70%', itemStyle : { normal : { label : { position : 'outer', formatter : function (a,b,c,d) {return c + ' min'} }, labelLine : { show : true } }, emphasis : { label : { show : true, formatter : function (a,b,c,d) {return c + ' min'} } } }, data:[ <#chartdata> ], markPoint : { symbol: 'emptyCircle', data : [ { name : 'xx', itemStyle:{ color: 'red', normal:{label: { position:'top', formatter : function (a,b,c,d) {return '0'}, textStyle : { color : 'green', align : 'center', baseline : 'middle', fontFamily : 'Arial', fontSize : 12, // fontWeight : 'bolder' } } } }, value : 0, x:'50%', y:'10%', symbolSize:0 }, { name : 'xx', itemStyle:{ color: 'red', normal:{label: { position:'top', formatter : function (a,b,c,d) {return '12'}, textStyle : { color : 'green', align : 'center', baseline : 'middle', fontFamily : 'Arial', fontSize : 12, //fontWeight : 'bolder' } } } }, value : 0, x:'50%', y:'95%', symbolSize:0 } ] } } ] }; /* definition of data { value:<#intervalmin>, name:'<#name>', itemStyle : { normal : { color :'<#color>', label : { show : false, position : 'inner', formatter : function (a,b,c,d) {return 'P:'+c+' min'}, textStyle : { color : 'green', align : 'center', baseline : 'middle', fontFamily : 'Arial', fontSize : 10, fontWeight : 'bolder' } }, labelLine : { show : false, length : 50, lineStyle : { color : '#f0f', width : 1, type : 'dotted' } } }, emphasis : { label : { show : false, color:'red', formatter1 : function (a,b,c,d) {return '<#time>, '+c+' min
'}, formatter :'{a} < br/>{b} : {c}', position : 'outer', textStyle : { color : 'green', align : 'center', baseline : 'middle', fontFamily : 'Arial', fontSize : 10, fontWeight : 'bolder' } }, labelLine : { show : true, color: 'blue', length : 5, lineStyle : { color : '#f0f', width : 1, type : 'dotted' } } } }, tooltip : { // Data config. show: true, backgroundColor: '<#color>', formatter: function (a,b,c,d) {return '<#info>'}, textStyle : { color : 'white', align : 'left', baseline : 'middle', fontFamily : 'Arial', fontSize : 9, fontWeight : 'bolder' } } }
*/