You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by de...@apache.org on 2018/09/04 09:46:26 UTC

[incubator-echarts] 04/04: test(sankey): text sankey diagram with new vertical layout

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

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

commit 2cc14b4d5ba2181291375b2636b6339d844f3f8f
Author: deqingli <an...@gmail.com>
AuthorDate: Tue Sep 4 17:45:50 2018 +0800

    test(sankey): text sankey diagram with new vertical layout
---
 test/sankey-vertical.html | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/test/sankey-vertical.html b/test/sankey-vertical.html
index e2f7c26..8735118 100644
--- a/test/sankey-vertical.html
+++ b/test/sankey-vertical.html
@@ -44,6 +44,7 @@ under the License.
                     chart.resize();
                 };
 
+                // Data used to test the circle
                 // var data = {
                 //     nodes: [
                 //         {name: 'Brazil'},
@@ -180,16 +181,13 @@ under the License.
                             type: 'sankey',
                             layout:'none',
                             bottom: '10%',
-                            // focusNodeAdjacency: 'allEdges',
+                            focusNodeAdjacency: 'allEdges',
                             data: testData.nodes,
                             links: testData.links,
                             orient: 'vertical',
                             label: {
-                                position: 'left'
+                                position: 'top'
                             },
-                            // Used to test when the data is null whether it is work well.
-                            // data: [],
-                            // links: [],
                             lineStyle: {
                                 normal: {
                                     color: 'source',


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