You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2018/09/11 16:56:03 UTC

[incubator-echarts] 01/02: tweak tree roam comment.

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

sushuang pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git

commit 547ea1728ff2f440a42b8d800db440fd96d39009
Author: sushuang <su...@gmail.com>
AuthorDate: Tue Sep 11 23:25:44 2018 +0800

    tweak tree roam comment.
---
 src/chart/tree/TreeSeries.js | 2 +-
 test/tree-roam.html          | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/chart/tree/TreeSeries.js b/src/chart/tree/TreeSeries.js
index 8dece1f..7dda0f6 100644
--- a/src/chart/tree/TreeSeries.js
+++ b/src/chart/tree/TreeSeries.js
@@ -133,7 +133,7 @@ export default SeriesModel.extend({
         // the layout of the tree, two value can be selected, 'orthogonal' or 'radial'
         layout: 'orthogonal',
 
-        roam: false,
+        roam: false, // true | false | 'move' | 'scale', see module:component/helper/RoamController.
         // Symbol size scale ratio in roam
         nodeScaleRatio: 0.4,
 
diff --git a/test/tree-roam.html b/test/tree-roam.html
index fac8df4..8450f58 100644
--- a/test/tree-roam.html
+++ b/test/tree-roam.html
@@ -69,6 +69,8 @@ under the License.
                                     bottom: '14%',
 
                                     roam: true,
+                                    // roam: 'scale',
+                                    // roam: 'move',
 
                                     layout: 'radial',
 


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