Skip to content

Commit 48bcb51

Browse files
committed
rebuild
1 parent cd92e45 commit 48bcb51

File tree

593 files changed

+84472
-72267
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

593 files changed

+84472
-72267
lines changed

public/404.html

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var lang = navigator.language || navigator.userLanguage;
1+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var hash = (location.hash || '').replace('#', '');
2+
var search = (location.search || '').replace('?', '');
3+
var lang = navigator.language || navigator.userLanguage;
24
lang = lang.indexOf('zh') > -1 ? 'zh' : 'en';
3-
location.href = 'https://echarts.apache.org/' + lang + '/404.html';</script></head></html>
5+
location.href = 'https://www.echartsjs.com/' + lang + '/404.html'
6+
+ (search ? '?' + search : '') + (hash ? '#' + hash : '');</script></head></html>

public/about.html

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var lang = navigator.language || navigator.userLanguage;
1+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var hash = (location.hash || '').replace('#', '');
2+
var search = (location.search || '').replace('?', '');
3+
var lang = navigator.language || navigator.userLanguage;
24
lang = lang.indexOf('zh') > -1 ? 'zh' : 'en';
3-
location.href = 'https://echarts.apache.org/' + lang + '/committers.html';</script></head></html>
5+
location.href = 'https://www.echartsjs.com/' + lang + '/committers.html'
6+
+ (search ? '?' + search : '') + (hash ? '#' + hash : '');</script></head></html>

public/api.html

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var lang = navigator.language || navigator.userLanguage;
1+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var hash = (location.hash || '').replace('#', '');
2+
var search = (location.search || '').replace('?', '');
3+
var lang = navigator.language || navigator.userLanguage;
24
lang = lang.indexOf('zh') > -1 ? 'zh' : 'en';
3-
location.href = 'https://echarts.apache.org/' + lang + '/api.html';</script></head></html>
5+
location.href = 'https://www.echartsjs.com/' + lang + '/api.html'
6+
+ (search ? '?' + search : '') + (hash ? '#' + hash : '');</script></head></html>

public/builder.html

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var lang = navigator.language || navigator.userLanguage;
1+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var hash = (location.hash || '').replace('#', '');
2+
var search = (location.search || '').replace('?', '');
3+
var lang = navigator.language || navigator.userLanguage;
24
lang = lang.indexOf('zh') > -1 ? 'zh' : 'en';
3-
location.href = 'https://echarts.apache.org/' + lang + '/builder.html';</script></head></html>
5+
location.href = 'https://www.echartsjs.com/' + lang + '/builder.html'
6+
+ (search ? '?' + search : '') + (hash ? '#' + hash : '');</script></head></html>

public/builder3.html

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var lang = navigator.language || navigator.userLanguage;
1+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var hash = (location.hash || '').replace('#', '');
2+
var search = (location.search || '').replace('?', '');
3+
var lang = navigator.language || navigator.userLanguage;
24
lang = lang.indexOf('zh') > -1 ? 'zh' : 'en';
3-
location.href = 'https://echarts.apache.org/' + lang + '/builder3.html';</script></head></html>
5+
location.href = 'https://www.echartsjs.com/' + lang + '/builder3.html'
6+
+ (search ? '?' + search : '') + (hash ? '#' + hash : '');</script></head></html>

public/changelog.html

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var lang = navigator.language || navigator.userLanguage;
1+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var hash = (location.hash || '').replace('#', '');
2+
var search = (location.search || '').replace('?', '');
3+
var lang = navigator.language || navigator.userLanguage;
24
lang = lang.indexOf('zh') > -1 ? 'zh' : 'en';
3-
location.href = 'https://echarts.apache.org/' + lang + '/changelog.html';</script></head></html>
5+
location.href = 'https://www.echartsjs.com/' + lang + '/changelog.html'
6+
+ (search ? '?' + search : '') + (hash ? '#' + hash : '');</script></head></html>

public/cheat-sheet.html

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var hash = (location.hash || '').replace('#', '');
2+
var search = (location.search || '').replace('?', '');
3+
var lang = navigator.language || navigator.userLanguage;
4+
lang = lang.indexOf('zh') > -1 ? 'zh' : 'en';
5+
location.href = 'https://www.echartsjs.com/' + lang + '/cheat-sheet.html'
6+
+ (search ? '?' + search : '') + (hash ? '#' + hash : '');</script></head></html>

public/cn/documents/cn/api.json

+1-1
Large diffs are not rendered by default.

public/cn/documents/cn/changelog.html

+169
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,172 @@
1+
<h2 id="v4-3-0-rc-1">v4.3.0-rc.1</h2>
2+
<div class="time">2019-08-27</div>
3+
4+
<ul>
5+
<li><p>[Feature] Sankey diagram enhancement:
6+
Add left node align, right in sankey diagram.
7+
Support user to specify the depth of the node.
8+
Enhance sankey node tooltip formatter.
9+
Add depth layout info for each node.</p>
10+
</li>
11+
<li><p>[Feature] Support callback in <code>series.symbol</code>. Contributed by PR #9664 originally.</p>
12+
</li>
13+
<li><p>[Feature] Enhance Pie chart:
14+
Support <code>minShowLabelAngle</code>. Contributed by PR #8997 originally.
15+
Support label rotate in pie chart. Fix #10045.</p>
16+
</li>
17+
<li><p>[Feature] Support <code>backgroundColor</code> for connected charts in toolbox. <code>toolbox.feature.saveAsImage.connectedBackgroundColor</code> can be used to set the background color. Fix #10099.</p>
18+
</li>
19+
<li><p>[Feature] Enhance toolbox:
20+
Enable to set text style of toolbox.
21+
Support tooltip for toolbox. Fix #10202.</p>
22+
</li>
23+
<li><p>[Feature] Enhance dataZoom:
24+
Normalize illegal range setting and get accurate <code>start</code>/<code>end</code>/<code>startValue</code>/<code>endValue</code> in <code>&#39;dataZoom&#39;</code> event.</p>
25+
</li>
26+
<li><p>[Feature] Add <code>dimensionNames</code> and <code>encode</code> info to callback parameters of formatters. Fix #10248 and Close #10250.</p>
27+
</li>
28+
<li><p>[Feature] Funnel enhancement:
29+
<code>series.label.position</code> support to set <code>rightTop</code>, <code>rightBottom</code>, <code>leftTop</code>, <code>leftBottom</code>. And fix style in funnel text position.</p>
30+
</li>
31+
<li><p>[Fix] Support mouse event in iOS when css transform used. Fix #9434, #8326, #5009, #5921.</p>
32+
</li>
33+
<li><p>[Fix] Use a clearer warning message when initing dom without size. Fix #10478.</p>
34+
</li>
35+
<li><p>[Fix] Fix that the rgba opacity does not work in SVG renderer. Fix #9014</p>
36+
</li>
37+
<li><p>[Fix] Enhance funnel chart label display policy PR #8759</p>
38+
</li>
39+
<li><p>[Fix] Fix the highlight/downplay of pie graphic.</p>
40+
</li>
41+
<li><p>[Fix] Fix the mouse pointer in force graph. Fix #7764, contributed by PR #9134.</p>
42+
</li>
43+
<li><p>[Fix] Fix that <code>symbol</code> and <code>symbolSize</code> and <code>opacity</code> does not work in <code>series[i]-graph.categories[i]</code>. Fix #8009 and #5969, contributed by PR #9171.</p>
44+
</li>
45+
<li><p>[Fix] Fix that <code>axisLine.show</code> does not work in the gauge. Fix #9194, contributed by PR #9195.</p>
46+
</li>
47+
<li><p>[Fix] Fix a display error when the first data item is &#39;-&#39; in radar. Fix 8962.</p>
48+
</li>
49+
<li><p>[Fix] Fix polygon rendering bug when the first value is <code>NaN</code>. Fix #8962, contributed by PR #9162.</p>
50+
</li>
51+
<li><p>[Fix] Fix text truncate bug in treemap when using SVG renderer.</p>
52+
</li>
53+
<li><p>[Fix] Fix that <code>label.rotate</code> does not work in graph. Fix #9182, contributed by PR #9210.</p>
54+
</li>
55+
<li><p>[Fix] Fix the rich content hiding bug and confine bug in tooltip. Fix ecomfe/echarts-for-weixin#360, ecomfe/echarts-for-weixin#347.</p>
56+
</li>
57+
<li><p>[Fix] Fix that callback function params.color is incorrect in sunburst area. Fix #8952, contributed by PR #9238.</p>
58+
</li>
59+
<li><p>[Fix] Fix that when <code>axisLabel.interval</code> of a category axis is set as <code>0</code>, all labels are displayed regardless of overlap. Fix #9589.</p>
60+
</li>
61+
<li><p>[Fix] Fix sub-pixel in markLine. Move subPixelOptimize to zrender. Fix #9598.</p>
62+
</li>
63+
<li><p>[Fix] Fix that when doing clear on click handler error is thrown. Fix #9649.</p>
64+
</li>
65+
<li><p>[Fix] Fix that <code>false</code> value in data items effect subsequent items in <code>visualMap</code>. Fix #8799.</p>
66+
</li>
67+
<li><p>[Fix] Enhance <code>hoverStyle</code> and <code>highlight</code>/<code>downplay</code> API. Support keep highlighted when changing style (e.g., <code>setOption</code> or <code>hoverLink</code>). Fix the highlight conflict.</p>
68+
</li>
69+
<li><p>[Fix] Fix radar line disappear on hover when there is empty value in data.</p>
70+
</li>
71+
<li><p>[Fix] Fix that geo map panning not working on Edge browser. Fix #9479.</p>
72+
</li>
73+
<li><p>[Fix] Fix map label bugs:
74+
Fix map rich label missing when missing data.
75+
Fix map label miss to enter formatter when missing data.
76+
Fix #9682.</p>
77+
</li>
78+
<li><p>[Fix] Enable <code>triggerEvent</code> for label of <code>angleAxis</code>. Fix #9765.</p>
79+
</li>
80+
<li><p>[Fix] Fix that the hover style bugs of graph:
81+
Fix that the hover style is disabled by <code>focusNodeAdjacency</code> in graph.
82+
Fix that the line label can not be returned to its original opacity after <code>&quot;focusNodeAdjacency&quot;</code>.</p>
83+
</li>
84+
<li><p>[Fix] Lift the axis line arrow over splitLine and tick.</p>
85+
</li>
86+
<li><p>[Fix] Fix that the scrollable legend pager does not work when the target index is illegal. Fix #7568.</p>
87+
</li>
88+
<li><p>[Fix] Exclude padding from tooltip position, since it&#39;s included in clientWidth. Contributed by PR #9750.</p>
89+
</li>
90+
<li><p>[Fix] Fix <code>barWidth</code> calculation when stack on multiple polars. Fix #9626.</p>
91+
</li>
92+
<li><p>[Fix] Loop to find the first non-NaN angle for clipPath in pie.</p>
93+
</li>
94+
<li><p>[Fix] Fix line width in singleAxis. Fix #9965.</p>
95+
</li>
96+
<li><p>[Fix] Fix the label bounding rect calculation error when <code>rich</code> used (e.g., containLabel: true while axisLabel has rich).</p>
97+
</li>
98+
<li><p>[Fix] Part of emphasis in sunburst do not work. Fix #9563, constributed by PR #9993.</p>
99+
</li>
100+
<li><p>[Fix] Add <code>seriesId</code> in <code>pieselectchanged</code>. Fix #9830.</p>
101+
</li>
102+
<li><p>[Fix] Fix that axis name align does not work. Fix #9901.</p>
103+
</li>
104+
<li><p>[Fix] Fix taht the strange label position when the pie chart series data value is <code>null</code>. Fix #10088.</p>
105+
</li>
106+
<li><p>[Fix] Do not create an anchor element if you don&#39;t need to in <code>SaveAsImage</code>. Contributed by PR #10132.</p>
107+
</li>
108+
<li><p>[Fix] Fix that <code>axisLabel</code> dost not display correctly in radar. Fix #9282, contributed by PR #10036.</p>
109+
</li>
110+
<li><p>[Fix] Fix that bar chart is abnormal when <code>filterMode</code> of <code>dataZoom</code> is &#39;empty&#39;. Fix #9882.</p>
111+
</li>
112+
<li><p>[Fix] Fix <code>series.label.formatter</code> callback bug. Fix #10248, contributed by PR #10250.</p>
113+
</li>
114+
<li><p>[Fix] Fix that the last axis labels are duplicated. Fix #10304.</p>
115+
</li>
116+
<li><p>[Fix] Fix that setting <code>emphasis.lineStyle.type</code> as <code>solid</code> dose not work. Fix #9704, close #10129.</p>
117+
</li>
118+
<li><p>[Fix] Fix that if some negetive numbers or strings existing in the dimensions array, the corresponding line will not show. Fix #10343.</p>
119+
</li>
120+
<li><p>[Fix] Fix that when <code>&#39;0&#39;</code> existing in dimentions the chart do not work. Make backward compat when dimention is a number-like string. Fix #9363, contributed by PR #9388.</p>
121+
</li>
122+
<li><p>[Fix] Fix hover style on <code>textStroke</code> bug in custom series.</p>
123+
</li>
124+
<li><p>[Fix] Fix graph bug when data is number typed. Fix #10485.</p>
125+
</li>
126+
<li><p>[Fix] Fix that <code>axisPointer</code> label padding does not work. Fix #10569.</p>
127+
</li>
128+
<li><p>[Fix] Add <code>dimIndex</code> for callback formatter in radar. Close #10403, #10180, contributed PR #10437.</p>
129+
</li>
130+
<li><p>[Fix] Prevent treamap from using hover layer by default. Fix #10521. Ref #10635.</p>
131+
</li>
132+
<li><p>[Fix] Update pointer when type is none. Fix #10570.</p>
133+
</li>
134+
<li><p>[Fix] Enhance circular layout: based on symbol size and fix overlap when some value are very smaller than the max value. Fix #10462, Close #10615.</p>
135+
</li>
136+
<li><p>[Fix] Support click and tooltip in bar large mode. Fix #10699.</p>
137+
</li>
138+
</ul>
139+
<h2 id="v4-2-1">v4.2.1</h2>
140+
<div class="time">2019-03-21</div>
141+
142+
<ul>
143+
<li><p>[Fix] 修复了文本缓存的问题. 参见 <a href="https://github.com/apache/incubator-echarts/issues/9190">#9190</a><a href="https://github.com/apache/incubator-echarts/issues/9597">#9597</a><a href="https://github.com/apache/incubator-echarts/issues/9762">#9762</a></p>
144+
</li>
145+
<li><p>[Fix] 修复了在一些情况下事件处理器中重新 <code>setOption</code> 时抛异常的问题。参见 <a href="https://github.com/apache/incubator-echarts/issues/9649">#9649</a></p>
146+
</li>
147+
<li><p>[Fix] 修复了 geo 中 <code>showTip</code> 异常的问题。参见 <a href="https://github.com/apache/incubator-echarts/issues/9156">#9156</a></p>
148+
</li>
149+
<li><p>[Fix] 修复了一些情况下堆叠柱状图超出直角坐标系范围的问题。参见 <a href="https://github.com/apache/incubator-echarts/issues/9346">#9346</a></p>
150+
</li>
151+
<li><p>[Fix] 修复了图例组件(legend)当空间只够显示一项时不能翻页的问题。参见 <a href="https://github.com/apache/incubator-echarts/issues/6743">#6743</a><a href="https://github.com/apache/incubator-echarts/issues/8971">#8971</a><a href="https://github.com/apache/incubator-echarts/issues/9471">#9471</a></p>
152+
</li>
153+
<li><p>[Fix] 修复了饼图标签(label)定位在中心时,在一些角度下有便宜的问题。参见 <a href="https://github.com/apache/incubator-echarts/issues/9657">#9657</a></p>
154+
</li>
155+
<li><p>[Fix] 修复了地图坐标系(geo)在 MS Edge 下不能拖动的问题。参见 <a href="https://github.com/apache/incubator-echarts/issues/9479">#9479</a></p>
156+
</li>
157+
<li><p>[Fix] 修复了地图系列(series.type: &#39;map&#39;)标签不能显示的问题。参见 <a href="https://github.com/apache/incubator-echarts/issues/9682">#9682</a></p>
158+
</li>
159+
<li><p>[Fix] 修复了设置了 <code>visualMap: false</code> 的数据项影响其他数据项的问题。参见 <a href="https://github.com/apache/incubator-echarts/issues/8799">#8799</a></p>
160+
</li>
161+
<li><p>[Fix] 使得 <code>axis.type: &#39;category&#39;</code><code>axisLabel.interval: 0</code> 时,所有标签(axisLabel)都能被显示。参见 <a href="https://github.com/apache/incubator-echarts/issues/9589">#9589</a></p>
162+
</li>
163+
<li><p>[Fix] 修复了 containLabel 和 axisLabel.rich 同时使用时,grid(cartesian) 不渲染的问题。</p>
164+
</li>
165+
<li><p>[Fix] 修复了 license 表述。</p>
166+
</li>
167+
<li><p>[Fix] 修复了 rich text boundingRect 问题。</p>
168+
</li>
169+
</ul>
1170
<h2 id="v4-2-1-rc1">v4.2.1.rc1</h2>
2171
<div class="time">2019-01-22</div>
3172

public/cn/documents/cn/option.json

+1-1
Large diffs are not rendered by default.

public/cn/documents/cn/tutorial.json

+1-1
Large diffs are not rendered by default.

public/coding-standard.html

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var lang = navigator.language || navigator.userLanguage;
1+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var hash = (location.hash || '').replace('#', '');
2+
var search = (location.search || '').replace('?', '');
3+
var lang = navigator.language || navigator.userLanguage;
24
lang = lang.indexOf('zh') > -1 ? 'zh' : 'en';
3-
location.href = 'https://echarts.apache.org/' + lang + '/coding-standard.html';</script></head></html>
5+
location.href = 'https://www.echartsjs.com/' + lang + '/coding-standard.html'
6+
+ (search ? '?' + search : '') + (hash ? '#' + hash : '');</script></head></html>

public/committer.html

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var lang = navigator.language || navigator.userLanguage;
1+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var hash = (location.hash || '').replace('#', '');
2+
var search = (location.search || '').replace('?', '');
3+
var lang = navigator.language || navigator.userLanguage;
24
lang = lang.indexOf('zh') > -1 ? 'zh' : 'en';
3-
location.href = 'https://echarts.apache.org/' + lang + '/committer.html';</script></head></html>
5+
location.href = 'https://www.echartsjs.com/' + lang + '/committer.html'
6+
+ (search ? '?' + search : '') + (hash ? '#' + hash : '');</script></head></html>

public/demo.html

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var lang = navigator.language || navigator.userLanguage;
1+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var hash = (location.hash || '').replace('#', '');
2+
var search = (location.search || '').replace('?', '');
3+
var lang = navigator.language || navigator.userLanguage;
24
lang = lang.indexOf('zh') > -1 ? 'zh' : 'en';
3-
location.href = 'https://echarts.apache.org/' + lang + '/demo.html';</script></head></html>
5+
location.href = 'https://www.echartsjs.com/' + lang + '/demo.html'
6+
+ (search ? '?' + search : '') + (hash ? '#' + hash : '');</script></head></html>

public/download-extension.html

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var lang = navigator.language || navigator.userLanguage;
1+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var hash = (location.hash || '').replace('#', '');
2+
var search = (location.search || '').replace('?', '');
3+
var lang = navigator.language || navigator.userLanguage;
24
lang = lang.indexOf('zh') > -1 ? 'zh' : 'en';
3-
location.href = 'https://echarts.apache.org/' + lang + '/download-extension.html';</script></head></html>
5+
location.href = 'https://www.echartsjs.com/' + lang + '/download-extension.html'
6+
+ (search ? '?' + search : '') + (hash ? '#' + hash : '');</script></head></html>

public/download-map.html

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var lang = navigator.language || navigator.userLanguage;
1+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var hash = (location.hash || '').replace('#', '');
2+
var search = (location.search || '').replace('?', '');
3+
var lang = navigator.language || navigator.userLanguage;
24
lang = lang.indexOf('zh') > -1 ? 'zh' : 'en';
3-
location.href = 'https://echarts.apache.org/' + lang + '/download-map.html';</script></head></html>
5+
location.href = 'https://www.echartsjs.com/' + lang + '/download-map.html'
6+
+ (search ? '?' + search : '') + (hash ? '#' + hash : '');</script></head></html>

0 commit comments

Comments
 (0)