PageSourceSearch

https://0471mm.com/static/common/lib/echarts/macarons.js?v=20200202

js 0471mm.com collected 2026-10-09 04:29:09 UTC 4,845 bytes, 198 lines download raw bytes

1(function (root, factory) {
2    if (typeof define === 'function' && define.amd) {
3        // AMD. Register as an anonymous module.
4        define(['exports', 'echarts'], factory);
5    } else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
6        // CommonJS
7        factory(exports, require('echarts'));
8    } else {
9        // Browser globals
10        factory({}, root.echarts);
11    }
12}(this, function (exports, echarts) {
13    var log = function (msg) {
14        if (typeof console !== 'undefined') {
15            console && console.error && console.error(msg);
16        }
17    };
18    if (!echarts) {
19        log('ECharts is not Loaded');
20        return;
21    }
22
23    var colorPalette = [
24        '#2ec7c9','#b6a2de','#5ab1ef','#ffb980','#d87a80',
25        '#8d98b3','#e5cf0d','#97b552','#95706d','#dc69aa',
26        '#07a2a4','#9a7fd1','#588dd5','#f5994e','#c05050',
27        '#59678c','#c9ab00','#7eb00a','#6f5553','#c14089'
28    ];
29
30
31    var theme = {
32        color: colorPalette,
33
34        title: {
35            textStyle: {
36                fontWeight: 'normal',
37                color: '#008acd'
38            }
39        },
40
41        visualMap: {
42            itemWidth: 15,
43            color: ['#5ab1ef','#e0ffff']
44        },
45
46        toolbox: {
47            iconStyle: {
48                normal: {
49                    borderColor: colorPalette[0]
50                }
51            }
52        },
53
54        tooltip: {
55            backgroundColor: 'rgba(50,50,50,0.5)',
56            axisPointer : {
57                type : 'line',
58                lineStyle : {
59                    color: '#008acd'
60                },
61                crossStyle: {
62                    color: '#008acd'
63                },
64                shadowStyle : {
65                    color: 'rgba(200,200,200,0.2)'
66                }
67            }
68        },
69
70        dataZoom: {
71            dataBackgroundColor: '#efefff',
72            fillerColor: 'rgba(182,162,222,0.2)',
73            handleColor: '#008acd'
74        },
75
76        grid: {
77            borderColor: '#eee'
78        },
79
80        categoryAxis: {
81            axisLine: {
82                lineStyle: {
83                    color: '#008acd'
84                }
85            },
86            splitLine: {
87                lineStyle: {
88                    color: ['#eee']
89                }
90            }
91        },
92
93        valueAxis: {
94            axisLine: {
95                lineStyle: {
96                    color: '#008acd'
97                }
98            },
99            splitArea : {
100                show : true,
101                areaStyle : {
102                    color: ['rgba(250,250,250,0.1)','rgba(200,200,200,0.1)']
103                }
104            },
105            splitLine: {
106                lineStyle: {
107                    color: ['#eee']
108                }
109            }
110        },
111
112        timeline : {
113            lineStyle : {
114                color : '#008acd'
115            },
116            controlStyle : {
117                normal : { color : '#008acd'},
118                emphasis : { color : '#008acd'}
119            },
120            symbol : 'emptyCircle',
121            symbolSize : 3
122        },
123
124        line: {
125            smooth : true,
126            symbol: 'emptyCircle',
127            symbolSize: 3
128        },
129
130        candlestick: {
131            itemStyle: {
132                normal: {
133                    color: '#d87a80',
134                    color0: '#2ec7c9',
135                    lineStyle: {
136                        color: '#d87a80',
137                        color0: '#2ec7c9'
138                    }
139                }
140            }
141        },
142
143        scatter: {
144            symbol: 'circle',
145            symbolSize: 4
146        },
147
148        map: {
149            label: {
150                normal: {
151                    textStyle: {
152                        color: '#d87a80'
153                    }
154                }
155            },
156            itemStyle: {
157                normal: {
158                    borderColor: '#eee',
159                    areaColor: '#ddd'
160                },
161                emphasis: {
162                    areaColor: '#fe994e'
163                }
164            }
165        },
166
167        graph: {
168            color: colorPalette
169        },
170
171        gauge : {
172            axisLine: {
173                lineStyle: {
174                    color: [[0.2, '#2ec7c9'],[0.8, '#5ab1ef'],[1, '#d87a80']],
175                    width: 10
176                }
177            },
178            axisTick: {
179                splitNumber: 10,
180                length :15,
181                lineStyle: {
182                    color: 'auto'
183                }
184            },
185            splitLine: {
186                length :22,
187                lineStyle: {
188                    color: 'auto'
189                }
190            },
191            pointer : {
192                width : 5
193            }
194        }
195    };
196
197    echarts.registerTheme('macarons', theme);
198}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.