|
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>Awesome-pyecharts</title>
- <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>
-
- </head>
- <body>
- <div id="4fc4128b7d6140a6a9722113232f5f02" class="chart-container" style="width:1600px; height:800px;"></div>
- <script>
- var chart_4fc4128b7d6140a6a9722113232f5f02 = echarts.init(
- document.getElementById('4fc4128b7d6140a6a9722113232f5f02'), 'white', {renderer: 'canvas'});
- var option_4fc4128b7d6140a6a9722113232f5f02 = {
- "animation": true,
- "animationThreshold": 2000,
- "animationDuration": 1000,
- "animationEasing": "cubicOut",
- "animationDelay": 0,
- "animationDurationUpdate": 300,
- "animationEasingUpdate": "cubicOut",
- "animationDelayUpdate": 0,
- "color": [
- "#c23531",
- "#2f4554",
- "#61a0a8",
- "#d48265",
- "#749f83",
- "#ca8622",
- "#bda29a",
- "#6e7074",
- "#546570",
- "#c4ccd3",
- "#f05b72",
- "#ef5b9c",
- "#f47920",
- "#905a3d",
- "#fab27b",
- "#2a5caa",
- "#444693",
- "#726930",
- "#b2d235",
- "#6d8346",
- "#ac6767",
- "#1d953f",
- "#6950a1",
- "#918597"
- ],
- "series": [
- {
- "type": "pie",
- "name": "\u6587\u4ef6commits",
- "clockwise": true,
- "data": [
- {
- "name": "__init__.py",
- "value": 12
- },
- {
- "name": "top_3_0_PGD_Models.UserModel.ResNet2_ImageCustom.jpg",
- "value": 10
- },
- {
- "name": "top_3_10_PGD_Models.UserModel.ResNet2_ImageCustom.jpg",
- "value": 10
- },
- {
- "name": "top_3_11_PGD_Models.UserModel.ResNet2_ImageCustom.jpg",
- "value": 10
- },
- {
- "name": "top_3_12_PGD_Models.UserModel.ResNet2_ImageCustom.jpg",
- "value": 10
- }
- ],
- "radius": [
- 0,
- "30%"
- ],
- "center": [
- "50%",
- "50%"
- ],
- "label": {
- "show": true,
- "position": "inner",
- "margin": 8
- },
- "tooltip": {
- "show": true,
- "trigger": "item",
- "triggerOn": "mousemove|click",
- "axisPointer": {
- "type": "line"
- },
- "showContent": true,
- "alwaysShowContent": false,
- "showDelay": 0,
- "hideDelay": 100,
- "formatter": "{a} <br/>{b}: {c} ({d}%)",
- "textStyle": {
- "fontSize": 14
- },
- "borderWidth": 0,
- "padding": 5
- },
- "rippleEffect": {
- "show": true,
- "brushType": "stroke",
- "scale": 2.5,
- "period": 4
- }
- },
- {
- "type": "pie",
- "name": "\u5f00\u53d1\u8005commits",
- "clockwise": true,
- "data": [
- {
- "name": "ZZ",
- "value": 7
- },
- {
- "name": "mabingqi",
- "value": 5
- },
- {
- "name": "\u5176\u5b83",
- "value": 0
- },
- {
- "name": "ZZ",
- "value": 10
- },
- {
- "name": "\u5176\u5b83",
- "value": 0
- },
- {
- "name": "ZZ",
- "value": 10
- },
- {
- "name": "\u5176\u5b83",
- "value": 0
- },
- {
- "name": "ZZ",
- "value": 10
- },
- {
- "name": "\u5176\u5b83",
- "value": 0
- },
- {
- "name": "ZZ",
- "value": 10
- },
- {
- "name": "\u5176\u5b83",
- "value": 0
- }
- ],
- "radius": [
- "40%",
- "55%"
- ],
- "center": [
- "50%",
- "50%"
- ],
- "label": {
- "show": true,
- "position": "outside",
- "margin": 8,
- "formatter": "{a|{a}}{abg|}\n{hr|}\n {b|{b}: }{c} {per|{d}%} ",
- "backgroundColor": "#eee",
- "borderColor": "#aaa",
- "borderWidth": 1,
- "borderRadius": 4,
- "rich": {
- "a": {
- "color": "#999",
- "lineHeight": 22,
- "align": "center"
- },
- "abg": {
- "backgroundColor": "#e3e3e3",
- "width": "100%",
- "align": "right",
- "height": 22,
- "borderRadius": [
- 4,
- 4,
- 0,
- 0
- ]
- },
- "hr": {
- "borderColor": "#aaa",
- "width": "100%",
- "borderWidth": 0.5,
- "height": 0
- },
- "b": {
- "fontSize": 16,
- "lineHeight": 33
- },
- "per": {
- "color": "#eee",
- "backgroundColor": "#334455",
- "padding": [
- 2,
- 4
- ],
- "borderRadius": 2
- }
- }
- },
- "tooltip": {
- "show": true,
- "trigger": "item",
- "triggerOn": "mousemove|click",
- "axisPointer": {
- "type": "line"
- },
- "showContent": true,
- "alwaysShowContent": false,
- "showDelay": 0,
- "hideDelay": 100,
- "formatter": "{a} <br/>{b}: {c} ({d}%)",
- "textStyle": {
- "fontSize": 14
- },
- "borderWidth": 0,
- "padding": 5
- },
- "rippleEffect": {
- "show": true,
- "brushType": "stroke",
- "scale": 2.5,
- "period": 4
- }
- }
- ],
- "legend": [
- {
- "data": [
- "__init__.py",
- "top_3_0_PGD_Models.UserModel.ResNet2_ImageCustom.jpg",
- "top_3_10_PGD_Models.UserModel.ResNet2_ImageCustom.jpg",
- "top_3_11_PGD_Models.UserModel.ResNet2_ImageCustom.jpg",
- "top_3_12_PGD_Models.UserModel.ResNet2_ImageCustom.jpg",
- "ZZ",
- "mabingqi",
- "\u5176\u5b83"
- ],
- "selected": {},
- "show": true,
- "left": "left",
- "orient": "vertical",
- "padding": 5,
- "itemGap": 10,
- "itemWidth": 25,
- "itemHeight": 14
- }
- ],
- "tooltip": {
- "show": true,
- "trigger": "item",
- "triggerOn": "mousemove|click",
- "axisPointer": {
- "type": "line"
- },
- "showContent": true,
- "alwaysShowContent": false,
- "showDelay": 0,
- "hideDelay": 100,
- "textStyle": {
- "fontSize": 14
- },
- "borderWidth": 0,
- "padding": 5
- },
- "title": [
- {
- "padding": 5,
- "itemGap": 10
- }
- ]
- };
- chart_4fc4128b7d6140a6a9722113232f5f02.setOption(option_4fc4128b7d6140a6a9722113232f5f02);
- </script>
- </body>
- </html>
|