|
- <!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="013496dd8d0941b38b5c190f376a296d" class="chart-container" style="width:1600px; height:800px;"></div>
- <script>
- var chart_013496dd8d0941b38b5c190f376a296d = echarts.init(
- document.getElementById('013496dd8d0941b38b5c190f376a296d'), 'white', {renderer: 'canvas'});
- var option_013496dd8d0941b38b5c190f376a296d = {
- "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": "go.mod",
- "value": 139
- },
- {
- "name": "index.js",
- "value": 116
- },
- {
- "name": "README.md",
- "value": 115
- },
- {
- "name": "locale_en-US.ini",
- "value": 110
- },
- {
- "name": "go.sum",
- "value": 109
- }
- ],
- "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": "6543",
- "value": 35
- },
- {
- "name": "Lunny Xiao",
- "value": 24
- },
- {
- "name": "Lauris BH",
- "value": 14
- },
- {
- "name": "\u5176\u5b83",
- "value": 66
- },
- {
- "name": "silverwind",
- "value": 18
- },
- {
- "name": "John Olheiser",
- "value": 15
- },
- {
- "name": "colorfulberry",
- "value": 13
- },
- {
- "name": "\u5176\u5b83",
- "value": 70
- },
- {
- "name": "6543",
- "value": 21
- },
- {
- "name": "palytoxin",
- "value": 21
- },
- {
- "name": "Lunny Xiao",
- "value": 16
- },
- {
- "name": "\u5176\u5b83",
- "value": 57
- },
- {
- "name": "colorfulberry",
- "value": 21
- },
- {
- "name": "zeripath",
- "value": 15
- },
- {
- "name": "6543",
- "value": 8
- },
- {
- "name": "\u5176\u5b83",
- "value": 66
- },
- {
- "name": "6543",
- "value": 25
- },
- {
- "name": "Lunny Xiao",
- "value": 18
- },
- {
- "name": "yuyuanshifu",
- "value": 10
- },
- {
- "name": "\u5176\u5b83",
- "value": 56
- }
- ],
- "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": [
- "go.mod",
- "index.js",
- "README.md",
- "locale_en-US.ini",
- "go.sum",
- "6543",
- "Lunny Xiao",
- "Lauris BH",
- "\u5176\u5b83",
- "silverwind",
- "John Olheiser",
- "colorfulberry",
- "palytoxin",
- "zeripath",
- "yuyuanshifu"
- ],
- "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_013496dd8d0941b38b5c190f376a296d.setOption(option_013496dd8d0941b38b5c190f376a296d);
- </script>
- </body>
- </html>
|