{"id":2052,"date":"2026-07-27T02:21:52","date_gmt":"2026-07-27T02:21:52","guid":{"rendered":"https:\/\/www.vpascode.com\/cn\/docs\/uncategorized\/treemap-chart-hierarchical-volumes-and-nested-proportions-guide\/"},"modified":"2026-07-27T02:21:52","modified_gmt":"2026-07-27T02:21:52","slug":"treemap-chart-hierarchical-volumes-and-nested-proportions-guide","status":"publish","type":"ld_docs","link":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/treemap-chart-hierarchical-volumes-and-nested-proportions-guide\/","title":{"rendered":"\u6811\u72b6\u56fe\uff1a\u5c42\u7ea7\u4f53\u79ef\u4e0e\u5d4c\u5957\u6bd4\u4f8b"},"content":{"rendered":"<p>\u5728\u5c55\u793a\u591a\u5c42\u7ea7\u7684\u5c42\u6b21\u6570\u636e\u96c6\u6216\u5728\u7a7a\u95f4\u6709\u9650\u7684\u60c5\u51b5\u4e0b\u663e\u793a\u5927\u578b\u89c6\u89c9\u5206\u89e3\u65f6\uff0c<strong>\u6811\u72b6\u56fe<\/strong>\u63d0\u4f9b\u4e86\u4e00\u79cd\u9ad8\u6548\u7684\u89c6\u89c9\u89e3\u51b3\u65b9\u6848\u3002\u901a\u8fc7\u5c06\u5d4c\u5957\u7684\u77e9\u5f62\u6392\u5217\u5728\u4e00\u4e2a\u7edf\u4e00\u7684\u8fb9\u754c\u533a\u57df\u5185\uff0c\u6811\u72b6\u56fe\u901a\u8fc7\u77e9\u5f62\u9762\u79ef\u5927\u5c0f\u6765\u7f16\u7801\u6570\u503c\uff0c\u4f7f\u7528\u6237\u80fd\u591f\u8bc4\u4f30<em>\u590d\u6742\u5d4c\u5957\u7ed3\u6784\u4e2d\u7684\u76f8\u5bf9\u6bd4\u4f8b<\/em>\u2014\u2014\u4f8b\u5982\u78c1\u76d8\u7a7a\u95f4\u4f7f\u7528\u60c5\u51b5\u3001\u4ea7\u54c1\u76ee\u5f55\u6536\u5165\uff0c\u6216\u7236\u90e8\u95e8\u4e0e\u5b50\u90e8\u95e8\u4e4b\u95f4\u7684\u9884\u7b97\u5206\u914d\u3002<\/p>\n<h2>\u6811\u72b6\u56fe\u7684\u5de5\u4f5c\u539f\u7406<\/h2>\n<p>\u5728 Apache ECharts \u4e2d\uff0c\u6811\u72b6\u56fe\u4f7f\u7528<code>type: 'treemap'<\/code>\u3002\u8be5\u7cfb\u5217\u671f\u671b\u4e00\u4e2a\u6811\u72b6\u7ed3\u6784\u7684<code>data<\/code>\u6570\u7ec4\uff0c\u5176\u4e2d\u6bcf\u4e2a\u5bf9\u8c61\u5305\u542b\u4e00\u4e2a<code>name<\/code>\uff0c\u4e00\u4e2a\u5b9a\u91cf\u7684<code>value<\/code>\uff0c\u4ee5\u53ca\u4e00\u4e2a\u53ef\u9009\u7684<code>children<\/code>\u6570\u7ec4\uff0c\u7528\u4e8e\u66f4\u6df1\u5c42\u6b21\u7684\u5d4c\u5957\u5c42\u7ea7\u3002<\/p>\n<h3>1. \u57fa\u7840\u8bbe\u7f6e<\/h3>\n<p>\u8981\u6784\u5efa\u4e00\u4e2a\u57fa\u672c\u7684\u6811\u72b6\u56fe\uff0c\u8bf7\u5b9a\u4e49\u4e00\u4e2a\u5177\u6709\u5d4c\u5957<code>children<\/code>\u7684\u5c42\u6b21\u6570\u636e\u6570\u7ec4\uff0c\u5e76\u5728\u7cfb\u5217\u914d\u7f6e\u4e2d\u8bbe\u7f6e<code>type: 'treemap'<\/code>\u5728\u7cfb\u5217\u914d\u7f6e\u4e2d\uff1a<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">ECharts<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#echarts:eNqtUD0LwjAU3AX\/Qwahi0P9QKTi4ODmIHQUh1ifNJDmhfQpSOl\/N1WjqdYv8JaQe+\/ukkNNAhWbsqLdYhaEKEnoyN0r7NBknAhMxIJiU0asUyRlcJmX3cuZgxGQR2x1l3kOZ+ejBmtABiDjOujWp1tOvKZ+4eKgeFa5zSUkZFCJJH90dDhwuberwzB8sZCkQm4NqMb42zNc4jJFBTbM+faH4a2Et8IF14TaU\/ZGVtksXD\/TTRnvu5lpzQ3ID70M\/tRLnApD\/u\/GX\/YSp+j32ev\/1Eqd8jauE8uUkxN7UZQt\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 8px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>\u5728 VPasCode \u4e2d\u7f16\u8f91 ECharts<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">ECharts<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#echarts:eNrLLyjJzM9TsFWo5uVSAIKS\/PyckswCKxgfBNLyi3ITS0pSi6wU1KuTaq0UVKqTa9Uh8rU6ELo4tSgztdhKIRqhDckEsMmVBalAA0qKUlNzEwvUdVBlUxJLElF04zAFBvISc0GmPZ+y9enaCU92LX86uRHdSBgoS8wpBao1MTDAoSA5IzMnpSg1D6v9cHfArHzW2f1szi51HZi5RiYG8FDAq\/H5mikv1m14NmcN0NEvWiYiTDA0A5qA3YBYTGFsduEPpGdzel8sbiUQPMZUCp4XC9e8WLgayXMWRAbPy3ndwKhE0mhEUqigCiGpgMoARWqtAUyWp2g=\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 8px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit ECharts in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"lang-echarts\"><code class=\"language-echarts\" data-language=\"echarts\" class=\"language-echarts\">option = {\r\n    tooltip: {\r\n        formatter: '{b}: ${c}'\r\n    },\r\n    series: [\r\n        {\r\n            type: 'treemap',\r\n            data: [\r\n                {\r\n                    name: '\u7535\u5b50\u4ea7\u54c1',\r\n                    value: 400,\r\n                    children: [\r\n                        { name: '\u624b\u673a', value: 240 },\r\n                        { name: '\u7b14\u8bb0\u672c\u7535\u8111', value: 160 }\r\n                    ]\r\n                },\r\n                {\r\n                    name: '\u670d\u88c5',\r\n                    value: 300,\r\n                    children: [\r\n                        { name: '\u886c\u886b', value: 180 },\r\n                        { name: '\u978b\u5b50', value: 120 }\r\n                    ]\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n};<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#echarts:eNrLLyjJzM9TsFWo5uVSAIKS\/PyckswCKxgfBNLyi3ITS0pSi6wU1KuTaq0UVKqTa9Uh8rU6ELo4tSgztdhKIRqhDckEsMmVBalAA0qKUlNzEwvUdVBlUxJLElF04zAFBvISc0GmPZ+y9enaCU92LX86uRHdSBgoS8wpBao1MTDAoSA5IzMnpSg1D6v9cHfArHzW2f1szi51HZi5RiYG8FDAq\/H5mikv1m14NmcN0NEvWiYiTDA0A5qA3YBYTGFsduEPpGdzel8sbiUQPMZUCp4XC9e8WLgayXMWRAbPy3ndwKhE0mhEUqigCiGpgMoARWqtAUyWp2g=\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit ECharts in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<\/p><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#echarts:eNqtUD0LwjAU3AX\/Qwahi0P9QKTi4ODmIHQUh1ifNJDmhfQpSOl\/N1WjqdYv8JaQe+\/ukkNNAhWbsqLdYhaEKEnoyN0r7NBknAhMxIJiU0asUyRlcJmX3cuZgxGQR2x1l3kOZ+ejBmtABiDjOujWp1tOvKZ+4eKgeFa5zSUkZFCJJH90dDhwuberwzB8sZCkQm4NqMb42zNc4jJFBTbM+faH4a2Et8IF14TaU\/ZGVtksXD\/TTRnvu5lpzQ3ID70M\/tRLnApD\/u\/GX\/YSp+j32ev\/1Eqd8jauE8uUkxN7UZQt\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 6px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>\u5728 VPasCode \u4e2d\u7f16\u8f91 ECharts<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"mDyvckp\"><img fetchpriority=\"high\" alt=\"\" class=\"alignnone size-full wp-image-1355\" decoding=\"async\" fetchpriority=\"high\" height=\"1402\" sizes=\"(max-width: 2216px) 100vw, 2216px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c1310caac.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c1310caac.png 2216w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c1310caac-300x190.png 300w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c1310caac-1024x648.png 1024w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c1310caac-768x486.png 768w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c1310caac-1536x972.png 1536w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c1310caac-2048x1296.png 2048w\" width=\"2216\"\/><\/p>\n<p>\u00a0<\/p>\n<h2>\u9ad8\u7ea7\u7ed3\u6784\u6280\u672f<\/h2>\n<p>\u6811\u72b6\u56fe\u53ef\u4ee5\u914d\u7f6e\u591a\u5c42\u7ea7\u6837\u5f0f\u89c4\u5219\u3001\u989c\u8272\u6e10\u53d8\u6620\u5c04\u4ee5\u53ca\u7528\u4e8e\u6df1\u5c42\u6570\u636e\u6811\u7684\u4ea4\u4e92\u5f0f\u4e0b\u94bb\u63a7\u5236\u3002<\/p>\n<h3>1. \u591a\u7ea7\u9762\u5305\u5c51\u4e0b\u94bb<\/h3>\n<p>\u542f\u7528\u9876\u90e8\u56fe\u4f8b\u548c\u9762\u5305\u5c51\u5bfc\u822a\uff0c\u4ee5\u4fbf\u7528\u6237\u8bc6\u522b\u9876\u7ea7\u7c7b\u522b\u5e76\u5e73\u6ed1\u5730\u5bfc\u822a\u5230\u5d4c\u5957\u7684\u5b50\u76ee\u5f55\uff1a<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">ECharts<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#echarts:eNqtVE1r20AQvRf6HwZKUAuyIzlVG1R6SUx7KhRMyKHksJbG8jYrrViNbEzQf+9IkapPB5VUN82bmffm7c7qlKRO4Cs8vX0D\/JHWimTqN\/9VzMgoQuODJQljy26RnTaxIKqwp23BVUEB32+s54yizlQYYRL2W2qmsLyLbjOFO+JggAk37AKhIOHDL2tzypgf1kYeEN7f+h8sG6w1g01ozaGHPneGRmLG1W27joxKyilFpiWDGIu0y9sKda8vhsBWE+m4xFYjTKHYrTGlvQ+uDZeXsNnrYwY6QYYOqEAQCCAZIxwl7SFQMnhckF6ERiq1CPUxGZAZFGFg8njrD+VXQ3J7n48pR3sMnrV1NAkP0keL0Vwsvm\/mGVObr7wwGzop9M9lPCswIZpbrXR5kd55njels599L8PS39ULiZFIm6zppGIcLuzZswWl3o2g3Ihyh9gWZ3llg7P89GC\/3o1auTtrPteeZW5XrLP8PN+Ufmg4Xr2fs41LRFxu3MQ6T+cfhMq5wHOcMwnBXqrQYDIp4q+YhvdeJrxhGT8edWN35Uye+6jyp9GRETF8kwo79aurmfV3\/Bp1eT1nyu3K4lfdzJpu+DS+bO\/1f7L3B4ZStEN+9GaacyOCxzzt2urNP5bfGFDXWeefnB1c7\/a3RjhSfPkDkFt71w==\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 8px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>\u5728 VPasCode \u4e2d\u7f16\u8f91 ECharts<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">ECharts<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#echarts:eNqtlM9r1EAUx++C\/8OAlCiEbbI1WiJebME\/oIcepIfZ5O1uYJIJs7MtpQSklwpVC1VLoVAp9FBE1oqgbWP9azYJPfkvOEmz5ueWSM0t733fe9\/3yUyoyy3qoKdo4+4dJB5OKeGWq0\/ekxizej1gOpIsDrYkZ5kuZTbmPMltdDxRZXjo+TPpWuGlSgI9cMxiSypGSNpMvhmBLhdBAxzRMJ8wMcc6eiFF3\/zI\/xgd7KP7C\/oDSUZS+OE0fDNKIosislKcOwBmwUBUZq1yFhIb6y6IkZwB2NjNz8xMqvMz5USHck7tONeu5Ajg7iK4vK8jVUazsyj8shN+Poo2z4MtP9z\/FR1fjM9eBl83f\/98HYwOo7en47Ptq12\/NIEBNg02tDt62XOyWZ+u6eK7DEGuJqdyrNgX7otZr7LMKpAiwSkkJ098Qpb4OgF9muLaATOBLVBC45NzT9O0Op9F9bJlxlDbNwh72J2o6kVeNezJjXczYr9LmA8Zji+NwKK05mSktB6tyLenkTpXG+2nyo3g5s0qrcfNoRRD5fXSC9kYnIPt+JqV72+9eBWToVBrijJFYPQtYjJwah38dTIZumw5Jl0biL9F2lhtK7UfvVIZnWwHFzvh3tbY\/56Vt+ealr8\/CV\/9yM3VlDrUCd9bHct0XulfeDPd+f9EN\/i0O758ly35UGtIJzgWWC9zWJsWXh2dRwejHFbln7CWDnb2mmZExHvyB0iNmto=\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 8px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit ECharts in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"lang-echarts\"><code class=\"language-echarts\" data-language=\"echarts\" class=\"language-echarts\">option = {\r\n    tooltip: {\r\n        trigger: 'item',\r\n        formatter: '{b}: {c} GB'\r\n    },\r\n    legend: {\r\n        top: '5%',\r\n        left: 'center',\r\n        data: ['\u7cfb\u7edf\u76d8 (C:)', '\u6570\u636e\u76d8 (D:)']\r\n    },\r\n    series: [\r\n        {\r\n            type: 'treemap',\r\n            top: '18%',\r\n            bottom: '12%',\r\n            leafDepth: 1, \/\/ \u6bcf\u6b21\u70b9\u51fb\u663e\u793a\u4e00\u5c42\uff0c\u5b9e\u73b0\u4e0b\u94bb\r\n            breadcrumb: {\r\n                show: true,\r\n                left: 'center',\r\n                bottom: '2%'\r\n            },\r\n            levels: [\r\n                {\r\n                    itemStyle: {\r\n                        borderColor: '#555',\r\n                        borderWidth: 2,\r\n                        gapWidth: 2\r\n                    }\r\n                },\r\n                {\r\n                    colorSaturation: [0.3, 0.6],\r\n                    itemStyle: {\r\n                        borderWidth: 1,\r\n                        gapWidth: 1,\r\n                        borderColorSaturation: 0.7\r\n                    }\r\n                }\r\n            ],\r\n            data: [\r\n                {\r\n                    name: '\u7cfb\u7edf\u76d8 (C:)',\r\n                    value: 500,\r\n                    children: [\r\n                        { name: 'Windows', value: 120 },\r\n                        { name: '\u7a0b\u5e8f\u6587\u4ef6', value: 230 },\r\n                        { name: '\u7528\u6237', value: 150 }\r\n                    ]\r\n                },\r\n                {\r\n                    name: '\u6570\u636e\u76d8 (D:)',\r\n                    value: 800,\r\n                    children: [\r\n                        { name: '\u5a92\u4f53', value: 450 },\r\n                        { name: '\u5907\u4efd', value: 250 },\r\n                        { name: '\u9879\u76ee', value: 100 }\r\n                    ]\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n};<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#echarts:eNqtlM9r1EAUx++C\/8OAlCiEbbI1WiJebME\/oIcepIfZ5O1uYJIJs7MtpQSklwpVC1VLoVAp9FBE1oqgbWP9azYJPfkvOEmz5ueWSM0t733fe9\/3yUyoyy3qoKdo4+4dJB5OKeGWq0\/ekxizej1gOpIsDrYkZ5kuZTbmPMltdDxRZXjo+TPpWuGlSgI9cMxiSypGSNpMvhmBLhdBAxzRMJ8wMcc6eiFF3\/zI\/xgd7KP7C\/oDSUZS+OE0fDNKIosislKcOwBmwUBUZq1yFhIb6y6IkZwB2NjNz8xMqvMz5USHck7tONeu5Ajg7iK4vK8jVUazsyj8shN+Poo2z4MtP9z\/FR1fjM9eBl83f\/98HYwOo7en47Ptq12\/NIEBNg02tDt62XOyWZ+u6eK7DEGuJqdyrNgX7otZr7LMKpAiwSkkJ098Qpb4OgF9muLaATOBLVBC45NzT9O0Op9F9bJlxlDbNwh72J2o6kVeNezJjXczYr9LmA8Zji+NwKK05mSktB6tyLenkTpXG+2nyo3g5s0qrcfNoRRD5fXSC9kYnIPt+JqV72+9eBWToVBrijJFYPQtYjJwah38dTIZumw5Jl0biL9F2lhtK7UfvVIZnWwHFzvh3tbY\/56Vt+ealr8\/CV\/9yM3VlDrUCd9bHct0XulfeDPd+f9EN\/i0O758ly35UGtIJzgWWC9zWJsWXh2dRwejHFbln7CWDnb2mmZExHvyB0iNmto=\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit ECharts in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<\/p><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#echarts:eNqtVE1r20AQvRf6HwZKUAuyIzlVG1R6SUx7KhRMyKHksJbG8jYrrViNbEzQf+9IkapPB5VUN82bmffm7c7qlKRO4Cs8vX0D\/JHWimTqN\/9VzMgoQuODJQljy26RnTaxIKqwp23BVUEB32+s54yizlQYYRL2W2qmsLyLbjOFO+JggAk37AKhIOHDL2tzypgf1kYeEN7f+h8sG6w1g01ozaGHPneGRmLG1W27joxKyilFpiWDGIu0y9sKda8vhsBWE+m4xFYjTKHYrTGlvQ+uDZeXsNnrYwY6QYYOqEAQCCAZIxwl7SFQMnhckF6ERiq1CPUxGZAZFGFg8njrD+VXQ3J7n48pR3sMnrV1NAkP0keL0Vwsvm\/mGVObr7wwGzop9M9lPCswIZpbrXR5kd55njels599L8PS39ULiZFIm6zppGIcLuzZswWl3o2g3Ihyh9gWZ3llg7P89GC\/3o1auTtrPteeZW5XrLP8PN+Ufmg4Xr2fs41LRFxu3MQ6T+cfhMq5wHOcMwnBXqrQYDIp4q+YhvdeJrxhGT8edWN35Uye+6jyp9GRETF8kwo79aurmfV3\/Bp1eT1nyu3K4lfdzJpu+DS+bO\/1f7L3B4ZStEN+9GaacyOCxzzt2urNP5bfGFDXWeefnB1c7\/a3RjhSfPkDkFt71w==\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 6px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>\u5728 VPasCode \u4e2d\u7f16\u8f91 ECharts<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"GyuEWsT\"><img alt=\"\" class=\"alignnone size-full wp-image-1358\" decoding=\"async\" height=\"1235\" sizes=\"(max-width: 2216px) 100vw, 2216px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c19f5ef82.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c19f5ef82.png 2216w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c19f5ef82-300x167.png 300w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c19f5ef82-1024x571.png 1024w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c19f5ef82-768x428.png 768w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c19f5ef82-1536x856.png 1536w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c19f5ef82-2048x1141.png 2048w\" width=\"2216\"\/><\/p>\n<p>\u00a0<\/p>\n<h2>\u5e03\u5c40\u4e0e\u6837\u5f0f\u7684\u7cbe\u7ec6\u8c03\u6574<\/h2>\n<p>\u5e94\u7528\u95f4\u8ddd\u5bbd\u5ea6\u3001\u6e05\u6670\u7684\u8fb9\u6846\u548c\u5206\u660e\u7684\u5c42\u7ea7\u989c\u8272\uff0c\u53ef\u4f7f\u5d4c\u5957\u7684\u77e9\u5f62\u4fdd\u6301\u6709\u5e8f\u4e14\u89c6\u89c9\u4e0a\u6613\u4e8e\u9605\u8bfb\u3002<\/p>\n<h3>1. \u81ea\u5b9a\u4e49\u5355\u5143\u683c\u8fb9\u6846\u4e0e\u6807\u7b7e\u5bf9\u9f50<\/h3>\n<p>\u8c03\u6574 <code>gapWidth<\/code> \u548c <code>label<\/code>\u914d\u7f6e\u4ee5\u4fdd\u6301\u7236\u5bb9\u5668\u4e0e\u5b50\u6bb5\u4e4b\u95f4\u7684\u6e05\u6670\u8fb9\u754c\uff1a<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">ECharts<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#echarts:eNqtkT1PwzAQhnck\/sNJDFki9YOmTYMYKmBDCImBARguzqW15I\/IcUAlyn\/HKVQlbUKJ1Hexz\/ee\/fhOZ5ZrBddQnp+BU06GUx7By3dYq9xta9l1RhF41hBJzDy\/mTUaZQQpipx8GAzglucYC8pBoipQwKfWkqvlIEOl3NosFhiTiPYf3GCt9EcE1hTkHyZTbSRaS8ZhlXH1qkpWeU1btVfGLcknuxbU+lqsTULmRgtdX3mRbuT5XcZnnthVBOMWwxKzbfZvoAQtNrre0f2tFMp6Cg\/a2BUspJsawzbCWu8oCmcOxsMOw+9uANt+O5jMhmzqQXVYVPl9Qe8KozM6QngZ9iOcjxibBSciXOQc4REZTzk7wjkJ+nGmyMIgPBHnPVqu\/jny0bwfKNHUqR20efS2C38y7qS6+gK\/HeTc\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 8px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>\u5728 VPasCode \u4e2d\u7f16\u8f91 ECharts<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">ECharts<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#echarts:eNrLLyjJzM9TsFWo5uVSAILi1KLM1GIrhWgIFwSqEUwQKKksSLVSUC8pSk3NTSxQ10GVLcpPzLVSSEvMKU7VUdDXV3i+rPH5lBXPOrufdq14vmflsyn79J\/u3Px8+W5UbTmJSak5VuhWgR2UkV9upVBSVJqqgymZll+Um1hSkloEdFB1Um1edXKtOqqqWjRdmSWpucEllTmpWC1Lyi9KSS1yzs\/JB5monAYG6jq4FIZnppRkWCkYYVGQnlgAk8XvoJTEkkSU4MYR7DCQl5gLCv6nPdOf7+t7tmUTNteBQFliTilQoamRAQ4FyCGhkAzzsqmJuUGymbpCLaamWh1SHflszXLCLjS2IM2FlobJyeamVHLhk12zni5Z9XTOhqc9uwi408SUNHemJSZbmFpQKyS7O5\/saCQqxg0tSXNnaqoZEGB3J6pQLIILlQGK1FoDAIdJ9hI=\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 8px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit ECharts in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"lang-echarts\"><code class=\"language-echarts\" data-language=\"echarts\" class=\"language-echarts\">option = {\r\n    series: [\r\n        {\r\n            type: 'treemap',\r\n            roam: false, \/\/ \u7981\u7528\u624b\u52a8\u7f29\u653e\/\u5e73\u79fb\r\n            label: {\r\n                show: true,\r\n                formatter: '{b}n{c}'\r\n            },\r\n            itemStyle: {\r\n                borderColor: '#ffffff',\r\n                borderWidth: 2,\r\n                gapWidth: 2\r\n            },\r\n            data: [\r\n                {\r\n                    name: '\u5317\u7f8e\u6d32',\r\n                    value: 520,\r\n                    itemStyle: { color: '#5470c6' }\r\n                },\r\n                {\r\n                    name: '\u6b27\u6d32',\r\n                    value: 380,\r\n                    itemStyle: { color: '#91cc75' }\r\n                },\r\n                {\r\n                    name: '\u4e9a\u592a\u5730\u533a',\r\n                    value: 450,\r\n                    itemStyle: { color: '#fac858' }\r\n                },\r\n                {\r\n                    name: '\u62c9\u4e01\u7f8e\u6d32',\r\n                    value: 190,\r\n                    itemStyle: { color: '#ee6666' }\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n};<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#echarts:eNrLLyjJzM9TsFWo5uVSAILi1KLM1GIrhWgIFwSqEUwQKKksSLVSUC8pSk3NTSxQ10GVLcpPzLVSSEvMKU7VUdDXV3i+rPH5lBXPOrufdq14vmflsyn79J\/u3Px8+W5UbTmJSak5VuhWgR2UkV9upVBSVJqqgymZll+Um1hSkloEdFB1Um1edXKtOqqqWjRdmSWpucEllTmpWC1Lyi9KSS1yzs\/JB5monAYG6jq4FIZnppRkWCkYYVGQnlgAk8XvoJTEkkSU4MYR7DCQl5gLCv6nPdOf7+t7tmUTNteBQFliTilQoamRAQ4FyCGhkAzzsqmJuUGymbpCLaamWh1SHflszXLCLjS2IM2FlobJyeamVHLhk12zni5Z9XTOhqc9uwi408SUNHemJSZbmFpQKyS7O5\/saCQqxg0tSXNnaqoZEGB3J6pQLIILlQGK1FoDAIdJ9hI=\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit ECharts in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<\/p><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#echarts:eNqtkT1PwzAQhnck\/sNJDFki9YOmTYMYKmBDCImBARguzqW15I\/IcUAlyn\/HKVQlbUKJ1Hexz\/ee\/fhOZ5ZrBddQnp+BU06GUx7By3dYq9xta9l1RhF41hBJzDy\/mTUaZQQpipx8GAzglucYC8pBoipQwKfWkqvlIEOl3NosFhiTiPYf3GCt9EcE1hTkHyZTbSRaS8ZhlXH1qkpWeU1btVfGLcknuxbU+lqsTULmRgtdX3mRbuT5XcZnnthVBOMWwxKzbfZvoAQtNrre0f2tFMp6Cg\/a2BUspJsawzbCWu8oCmcOxsMOw+9uANt+O5jMhmzqQXVYVPl9Qe8KozM6QngZ9iOcjxibBSciXOQc4REZTzk7wjkJ+nGmyMIgPBHnPVqu\/jny0bwfKNHUqR20efS2C38y7qS6+gK\/HeTc\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 6px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>\u5728 VPasCode \u4e2d\u7f16\u8f91 ECharts<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"BdwXjAc\"><img alt=\"\" class=\"alignnone size-full wp-image-1357\" decoding=\"async\" height=\"1394\" sizes=\"(max-width: 2200px) 100vw, 2200px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c18d97fc5.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c18d97fc5.png 2200w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c18d97fc5-300x190.png 300w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c18d97fc5-1024x649.png 1024w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c18d97fc5-768x487.png 768w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c18d97fc5-1536x973.png 1536w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c18d97fc5-2048x1298.png 2048w\" width=\"2200\"\/><\/p>\n<p>\u00a0<\/p>\n<h2>\u6218\u7565\u6700\u4f73\u5b9e\u8df5<\/h2>\n<ul>\n<li><strong>\u4f7f\u7528 <code>gapWidth<\/code>\u4ee5\u589e\u5f3a\u5d4c\u5957\u53ef\u89c1\u6027\uff1a<\/strong> \u5728\u5d4c\u5957\u77e9\u5f62\u4e4b\u95f4\u6dfb\u52a0\u8f83\u5c0f\u7684 <code>gapWidth<\/code>\uff08\u4f8b\u5982 2px \u5230 4px\uff09\u53ef\u5728\u5d4c\u5957\u77e9\u5f62\u4e4b\u95f4\u521b\u5efa\u6e05\u6670\u7684\u95f4\u8ddd\uff0c\u4ece\u800c\u660e\u786e\u533a\u5206\u7236\u7c7b\u522b\u4e0e\u5b50\u9879\u3002<\/li>\n<li><strong>\u5bf9\u4e8e\u6df1\u5c42\u5d4c\u5957\u7ed3\u6784\uff0c\u8bf7\u542f\u7528\u9762\u5305\u5c51\uff1a<\/strong> \u5f53\u663e\u793a 3 \u5c42\u6216\u66f4\u591a\u5d4c\u5957\u5c42\u7ea7\u65f6\uff0c\u542f\u7528 `breadcrumb: { show: true }`\uff0c\u4ee5\u4fbf\u7528\u6237\u80fd\u8f7b\u677e\u8ffd\u8e2a\u5f53\u524d\u4f4d\u7f6e\u5e76\u5411\u4e0a\u5bfc\u822a\u3002<\/li>\n<li><strong>\u4fdd\u6301\u6807\u7b7e\u7b80\u6d01\uff1a<\/strong> \u6587\u672c\u5bb9\u6613\u6ea2\u51fa\u5230\u5c0f\u578b\u53f6\u77e9\u5f62\u4e2d\u3002\u53ef\u5c06\u7b80\u77ed\u540d\u79f0\u4e0e\u63d0\u793a\u5de5\u5177\u7ed3\u5408\u4f7f\u7528\uff0c\u6216\u4f7f\u7528 <code>leafDepth<\/code> \u5728\u653e\u5927\u4e4b\u524d\u9690\u85cf\u5fae\u5c0f\u7684\u5b50\u77e9\u5f62\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u5c55\u793a\u591a\u5c42\u7ea7\u7684\u5c42\u6b21\u6570\u636e\u96c6\u6216\u5728\u7a7a\u95f4\u6709\u9650\u7684\u60c5\u51b5\u4e0b\u663e\u793a\u5927\u578b\u89c6\u89c9\u5206\u89e3\u65f6\uff0c\u6811\u72b6\u56fe\u63d0\u4f9b\u4e86\u4e00\u79cd&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":17,"template":"","meta":{"inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}}},"ld_collection":[14],"class_list":["post-2052","ld_docs","type-ld_docs","status-publish","hentry","ld_collection-vpascode-docs"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ECharts Treemap Chart Guide | VPasCode Text to Diagram Guide<\/title>\n<meta name=\"description\" content=\"Display proportional nested rectangle grids using ECharts treemaps in VPasCode, your free text to diagram tool.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/treemap-chart-hierarchical-volumes-and-nested-proportions-guide\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ECharts Treemap Chart Guide | VPasCode Text to Diagram Guide\" \/>\n<meta property=\"og:description\" content=\"Display proportional nested rectangle grids using ECharts treemaps in VPasCode, your free text to diagram tool.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/treemap-chart-hierarchical-volumes-and-nested-proportions-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"VPasCode\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c1310caac.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/treemap-chart-hierarchical-volumes-and-nested-proportions-guide\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/treemap-chart-hierarchical-volumes-and-nested-proportions-guide\\\/\",\"name\":\"ECharts Treemap Chart Guide | VPasCode Text to Diagram Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/treemap-chart-hierarchical-volumes-and-nested-proportions-guide\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/treemap-chart-hierarchical-volumes-and-nested-proportions-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/img_6a66c1310caac.png\",\"datePublished\":\"2026-07-27T02:21:52+00:00\",\"description\":\"Display proportional nested rectangle grids using ECharts treemaps in VPasCode, your free text to diagram tool.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/treemap-chart-hierarchical-volumes-and-nested-proportions-guide\\\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/treemap-chart-hierarchical-volumes-and-nested-proportions-guide\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/treemap-chart-hierarchical-volumes-and-nested-proportions-guide\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/img_6a66c1310caac.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/img_6a66c1310caac.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/treemap-chart-hierarchical-volumes-and-nested-proportions-guide\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lean Docs\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/%ld_collection%\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u6811\u72b6\u56fe\uff1a\u5c42\u7ea7\u4f53\u79ef\u4e0e\u5d4c\u5957\u6bd4\u4f8b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/#website\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/\",\"name\":\"VPasCode\",\"description\":\"by Visual Paradigm\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/#organization\",\"name\":\"VPasCode\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/wp-content\\\/uploads\\\/sites\\\/3\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/wp-content\\\/uploads\\\/sites\\\/3\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"width\":128,\"height\":138,\"caption\":\"VPasCode\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ECharts Treemap Chart Guide | VPasCode Text to Diagram Guide","description":"Display proportional nested rectangle grids using ECharts treemaps in VPasCode, your free text to diagram tool.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/treemap-chart-hierarchical-volumes-and-nested-proportions-guide\/","og_locale":"zh_CN","og_type":"article","og_title":"ECharts Treemap Chart Guide | VPasCode Text to Diagram Guide","og_description":"Display proportional nested rectangle grids using ECharts treemaps in VPasCode, your free text to diagram tool.","og_url":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/treemap-chart-hierarchical-volumes-and-nested-proportions-guide\/","og_site_name":"VPasCode","og_image":[{"url":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c1310caac.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/treemap-chart-hierarchical-volumes-and-nested-proportions-guide\/","url":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/treemap-chart-hierarchical-volumes-and-nested-proportions-guide\/","name":"ECharts Treemap Chart Guide | VPasCode Text to Diagram Guide","isPartOf":{"@id":"https:\/\/www.vpascode.com\/cn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/treemap-chart-hierarchical-volumes-and-nested-proportions-guide\/#primaryimage"},"image":{"@id":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/treemap-chart-hierarchical-volumes-and-nested-proportions-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c1310caac.png","datePublished":"2026-07-27T02:21:52+00:00","description":"Display proportional nested rectangle grids using ECharts treemaps in VPasCode, your free text to diagram tool.","breadcrumb":{"@id":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/treemap-chart-hierarchical-volumes-and-nested-proportions-guide\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/treemap-chart-hierarchical-volumes-and-nested-proportions-guide\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/treemap-chart-hierarchical-volumes-and-nested-proportions-guide\/#primaryimage","url":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c1310caac.png","contentUrl":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66c1310caac.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/treemap-chart-hierarchical-volumes-and-nested-proportions-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vpascode.com\/cn\/"},{"@type":"ListItem","position":2,"name":"Lean Docs","item":"https:\/\/www.vpascode.com\/cn\/docs\/%ld_collection%\/"},{"@type":"ListItem","position":3,"name":"\u6811\u72b6\u56fe\uff1a\u5c42\u7ea7\u4f53\u79ef\u4e0e\u5d4c\u5957\u6bd4\u4f8b"}]},{"@type":"WebSite","@id":"https:\/\/www.vpascode.com\/cn\/#website","url":"https:\/\/www.vpascode.com\/cn\/","name":"VPasCode","description":"by Visual Paradigm","publisher":{"@id":"https:\/\/www.vpascode.com\/cn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vpascode.com\/cn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"https:\/\/www.vpascode.com\/cn\/#organization","name":"VPasCode","url":"https:\/\/www.vpascode.com\/cn\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.vpascode.com\/cn\/#\/schema\/logo\/image\/","url":"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/06\/cropped-vp-online-logo-v1.png","contentUrl":"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/06\/cropped-vp-online-logo-v1.png","width":128,"height":138,"caption":"VPasCode"},"image":{"@id":"https:\/\/www.vpascode.com\/cn\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/ld_docs\/2052","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/ld_docs"}],"about":[{"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/types\/ld_docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/users\/3"}],"wp:attachment":[{"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/media?parent=2052"}],"wp:term":[{"taxonomy":"ld_collection","embeddable":true,"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/ld_collection?post=2052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}