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

ovilia pushed a commit to branch feat-treemap-test
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit 7faa2e17604e2bd7321d3d67cd5cbf1df7a3b565
Author: Ovilia <zwl.s...@gmail.com>
AuthorDate: Tue Jun 11 18:14:31 2024 +0800

    test(treemap): update test case for #18304
---
 test/treemap-scaleLimit.html | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/test/treemap-scaleLimit.html b/test/treemap-scaleLimit.html
index e766cd02d..4ad5d7890 100644
--- a/test/treemap-scaleLimit.html
+++ b/test/treemap-scaleLimit.html
@@ -37,23 +37,23 @@ under the License.
             height: 50%;
         }
     </style>
-    
+
     <body>
         <div>scaleLimit: { max: 1, min: 0.5 }</div>
         <div id="main1" class="chart"></div>
         <div id="main2" class="chart"></div>
         <script>
-    
+
             require([
                 'echarts'
             ], function (echarts) {
-    
+
                 var chart = echarts.init(document.getElementById('main1'), 
null, {
-    
+
                 });
-    
+
                 chart.setOption({
-    
+
                     series: [
                         {
                             name: '矩形树图scaleLimit',
@@ -146,10 +146,14 @@ under the License.
                         }
                     ]
                 });
-                
+
                 var chart1 = echarts.init(document.getElementById('main2'));
                 option = {
                     series: [{
+                        scaleLimit: {
+                            max: 3,
+                            min: 0.8
+                        },
                         emphasis: {
                             label: {
                                 show: true,
@@ -175,7 +179,7 @@ under the License.
 
                 chart1.setOption(option);
                 });
-    
+
         </script>
     </body>
 </html>


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

Reply via email to