diff --git a/doc/asset/js/echartsTheme.js b/doc/asset/js/echartsTheme.js
index 5c81702b5ef1b5e1a5378623d52cc7ea99f8d2a2..d24b219b136e2bbfc529d62a1da47e25c55bcbbd 100644
--- a/doc/asset/js/echartsTheme.js
+++ b/doc/asset/js/echartsTheme.js
@@ -1,7 +1,7 @@
var myChart = [];
var domMain = $("[md='main']");
-var theme = 'erik';
+var theme = 'infographic';
$('[name=theme-select]').on('change', function(){
selectChange($(this).val());
});
@@ -77,10 +77,10 @@ else {
});
}
-var hash = window.location.hash.replace('#','') || 'erik';
+var hash = window.location.hash.replace('#','') || 'infographic';
if ($('[name=theme-select]').val(hash).val() != hash) {
- $('[name=theme-select]').val('erik');
- hash = 'erik';
+ $('[name=theme-select]').val('infographic');
+ hash = 'infographic';
}
// 按需加载
@@ -181,7 +181,9 @@ function requireCallback (ec, defaultTheme) {
var downloadLink = document.createElement('a');
downloadLink.href = image
- downloadLink.setAttribute('download', 'EChartsTheme.png');
+ downloadLink.setAttribute(
+ 'download', 'EChartsTheme-' + $('[name=theme-select]').val() + '.png'
+ );
downloadLink.innerHTML = '