|
| 1 | +{ |
| 2 | + a:{ |
| 3 | + "name": { |
| 4 | + "zh_CN": "仪表盘" |
| 5 | + }, |
| 6 | + "icon": "gauge", |
| 7 | + "screenshot": "", |
| 8 | + "snippetName": "TinyHuichartsGauge", |
| 9 | + "schema": { |
| 10 | + "componentName": "TinyHuichartsGauge", |
| 11 | + "props": { |
| 12 | + "options": { |
| 13 | + "splitColor": [ |
| 14 | + [0.25, "#0d9458"], |
| 15 | + [0.5, "#eeba18"], |
| 16 | + [0.75, "#ec6f1a"], |
| 17 | + [1, "#f43146"] |
| 18 | + ], |
| 19 | + "pointer": true, |
| 20 | + "data": [ |
| 21 | + { |
| 22 | + "value": 71, |
| 23 | + "name": "Utilization rate" |
| 24 | + } |
| 25 | + ] |
| 26 | + } |
| 27 | + } |
| 28 | + } |
| 29 | + }, |
| 30 | + b: { |
| 31 | + "name": { |
| 32 | + "zh_CN": "拓扑图" |
| 33 | + }, |
| 34 | + "icon": "graph", |
| 35 | + "screenshot": "", |
| 36 | + "snippetName": "TinyHuichartsGraph", |
| 37 | + "schema": { |
| 38 | + "componentName": "TinyHuichartsGraph", |
| 39 | + "props": { |
| 40 | + "options": { |
| 41 | + "animationDurationUpdate": 1600, |
| 42 | + "animationEasingUpdate": "quinticInOut", |
| 43 | + "series": [ |
| 44 | + { |
| 45 | + "type": "graph", |
| 46 | + "layout": "none", |
| 47 | + "symbolSize": 48, |
| 48 | + "color": "#42A5F5", |
| 49 | + "roam": true, |
| 50 | + "label": { |
| 51 | + "normal": { |
| 52 | + "show": true |
| 53 | + } |
| 54 | + }, |
| 55 | + "edgeSymbol": ["circle", "arrow"], |
| 56 | + "edgeSymbolSize": [3, 10], |
| 57 | + "edgeLabel": { |
| 58 | + "normal": { |
| 59 | + "textStyle": { |
| 60 | + "fontSize": 18 |
| 61 | + } |
| 62 | + } |
| 63 | + }, |
| 64 | + "data": [ |
| 65 | + { |
| 66 | + "name": "节点 1", |
| 67 | + "x": 300, |
| 68 | + "y": 300 |
| 69 | + }, |
| 70 | + { |
| 71 | + "name": "节点 2", |
| 72 | + "x": 800, |
| 73 | + "y": 300 |
| 74 | + }, |
| 75 | + { |
| 76 | + "name": "节点 3", |
| 77 | + "x": 550, |
| 78 | + "y": 100 |
| 79 | + }, |
| 80 | + { |
| 81 | + "name": "节点 4", |
| 82 | + "x": 550, |
| 83 | + "y": 500 |
| 84 | + } |
| 85 | + ], |
| 86 | + "links": [ |
| 87 | + { |
| 88 | + "source": 0, |
| 89 | + "target": 1, |
| 90 | + "symbolSize": [5, 20], |
| 91 | + "label": { |
| 92 | + "normal": { |
| 93 | + "show": true |
| 94 | + } |
| 95 | + }, |
| 96 | + "lineStyle": { |
| 97 | + "normal": { |
| 98 | + "width": 5, |
| 99 | + "curveness": 0.2 |
| 100 | + } |
| 101 | + } |
| 102 | + }, |
| 103 | + { |
| 104 | + "source": "节点 2", |
| 105 | + "target": "节点 1", |
| 106 | + "label": { |
| 107 | + "normal": { |
| 108 | + "show": true |
| 109 | + } |
| 110 | + }, |
| 111 | + "lineStyle": { |
| 112 | + "normal": { |
| 113 | + "curveness": 0.2 |
| 114 | + } |
| 115 | + } |
| 116 | + }, |
| 117 | + { |
| 118 | + "source": "节点 1", |
| 119 | + "target": "节点 3" |
| 120 | + }, |
| 121 | + { |
| 122 | + "source": "节点 2", |
| 123 | + "target": "节点 3" |
| 124 | + }, |
| 125 | + { |
| 126 | + "source": "节点 2", |
| 127 | + "target": "节点 4" |
| 128 | + }, |
| 129 | + { |
| 130 | + "source": "节点 1", |
| 131 | + "target": "节点 4" |
| 132 | + } |
| 133 | + ], |
| 134 | + "lineStyle": { |
| 135 | + "normal": { |
| 136 | + "opacity": 0.9, |
| 137 | + "width": 2, |
| 138 | + "curveness": 0 |
| 139 | + } |
| 140 | + } |
| 141 | + } |
| 142 | + ] |
| 143 | + } |
| 144 | + } |
| 145 | + } |
| 146 | + }, |
| 147 | +c: { |
| 148 | + "name": { |
| 149 | + "zh_CN": "进度图" |
| 150 | + }, |
| 151 | + "icon": "process", |
| 152 | + "screenshot": "", |
| 153 | + "snippetName": "TinyHuichartsProcess", |
| 154 | + "schema": { |
| 155 | + "componentName": "TinyHuichartsProcess", |
| 156 | + "props": { |
| 157 | + "options": { |
| 158 | + "name": "ProcessBarChart", |
| 159 | + "theme": "light", |
| 160 | + "padding": [32, 32, 0, 32], |
| 161 | + "color": ["#fa2a2d", "#ff7500", "#ffbf00", "#41ba41", "#00aaee"], |
| 162 | + "data": [ |
| 163 | + { "name": "UniEPMgr", "value": 80 }, |
| 164 | + { "name": "SMLoglic", "value": 65 }, |
| 165 | + { "name": "SSO", "value": 45 }, |
| 166 | + { "name": "APIMgr", "value": 20 }, |
| 167 | + { "name": "Logtransfer", "value": 12 } |
| 168 | + ] |
| 169 | + } |
| 170 | + } |
| 171 | + } |
| 172 | + } |
| 173 | +} |
0 commit comments