This is an automated email from the ASF dual-hosted git repository.

wangzx pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git


The following commit(s) were added to refs/heads/gh-pages by this push:
     new 90252ca2 fix some examples code
90252ca2 is described below

commit 90252ca2419bbd19b565190b7c73cba58177121b
Author: plainheart <y...@all-my-life.cn>
AuthorDate: Tue May 10 17:50:01 2022 +0800

    fix some examples code
---
 public/examples/ts/data-transform-aggregate.js                | 2 +-
 public/examples/ts/gl/bar3d-noise-modified-from-marpi-demo.js | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/public/examples/ts/data-transform-aggregate.js 
b/public/examples/ts/data-transform-aggregate.js
index 52a0999b..1af54613 100644
--- a/public/examples/ts/data-transform-aggregate.js
+++ b/public/examples/ts/data-transform-aggregate.js
@@ -15,7 +15,7 @@ $.when(
 });
 
 function run(_rawData) {
-  echarts.registerTransform(window.ecSimpleTransform.aggregate);
+  echarts.registerTransform(ecSimpleTransform.aggregate);
 
   option = {
     dataset: [
diff --git a/public/examples/ts/gl/bar3d-noise-modified-from-marpi-demo.js 
b/public/examples/ts/gl/bar3d-noise-modified-from-marpi-demo.js
index a0db195e..68c870cc 100644
--- a/public/examples/ts/gl/bar3d-noise-modified-from-marpi-demo.js
+++ b/public/examples/ts/gl/bar3d-noise-modified-from-marpi-demo.js
@@ -9,8 +9,6 @@ $.getScript(
 ).done(function () {
   var simplex = new SimplexNoise();
 
-  window.onresize = myChart.resize;
-
   var UPDATE_DURATION = 1000;
 
   function initVisualizer() {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to