{"id":2061,"date":"2026-07-27T01:55:55","date_gmt":"2026-07-27T01:55:55","guid":{"rendered":"https:\/\/www.vpascode.com\/vn\/docs\/uncategorized\/doughnut-chart-ring-based-proportions-and-center-metrics-guide\/"},"modified":"2026-07-27T01:55:55","modified_gmt":"2026-07-27T01:55:55","slug":"doughnut-chart-ring-based-proportions-and-center-metrics-guide","status":"publish","type":"ld_docs","link":"https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/doughnut-chart-ring-based-proportions-and-center-metrics-guide\/","title":{"rendered":"Bi\u1ec3u \u0111\u1ed3 Donut: T\u1ef7 l\u1ec7 d\u1ef1a tr\u00ean v\u00e0nh v\u00e0 c\u00e1c ch\u1ec9 s\u1ed1 trung t\u00e2m"},"content":{"rendered":"<p>Khi tr\u00ecnh b\u00e0y ph\u00e2n b\u1ed5 danh m\u1ee5c t\u01b0\u01a1ng \u0111\u1ed1i, th\u00ec<strong>Bi\u1ec3u \u0111\u1ed3 Donut<\/strong>cung c\u1ea5p m\u1ed9t l\u1ef1a ch\u1ecdn hi\u1ec7n \u0111\u1ea1i, t\u01b0\u01a1ng ph\u1ea3n cao thay th\u1ebf cho bi\u1ec3u \u0111\u1ed3 b\u00e1nh truy\u1ec1n th\u1ed1ng. B\u1eb1ng c\u00e1ch lo\u1ea1i b\u1ecf ph\u1ea7n l\u00f5i \u1edf gi\u1eefa, bi\u1ec3u \u0111\u1ed3 donut chuy\u1ec3n tr\u1ecdng t\u00e2m th\u1ecb gi\u00e1c t\u1eeb k\u00edch th\u01b0\u1edbc v\u00f9ng \u0111\u01b0\u1ee3c t\u00f4 \u0111\u1ea7y sang \u0111\u1ed9 d\u00e0i cung d\u1ecdc theo v\u00e0nh ngo\u00e0i. Ph\u1ea7n trung t\u00e2m r\u1ed7ng n\u00e0y t\u1ea1o ra kh\u00f4ng gian th\u1ecb gi\u00e1c l\u00fd t\u01b0\u1edfng \u0111\u1ec3 hi\u1ec3n th\u1ecb c\u00e1c ch\u1ec9 s\u1ed1 hi\u1ec7u su\u1ea5t ch\u00ednh, t\u1ed5ng k\u1ebft, ho\u1eb7c ch\u1ec9 b\u00e1o tr\u1ea1ng th\u00e1i \u2014 khi\u1ebfn n\u00f3 tr\u1edf th\u00e0nh th\u00e0nh ph\u1ea7n thi\u1ebft y\u1ebfu cho b\u1ea3ng \u0111i\u1ec1u khi\u1ec3n tr\u1ea1ng th\u00e1i c\u1ea5p cao v\u00e0 b\u1ea3n t\u00f3m t\u1eaft t\u00e0i ch\u00ednh.<\/p>\n<h2>C\u01a1 ch\u1ebf c\u1ee7a bi\u1ec3u \u0111\u1ed3 Donut<\/h2>\n<p>Trong Apache ECharts, bi\u1ec3u \u0111\u1ed3 donut \u0111\u01b0\u1ee3c c\u1ea5u h\u00ecnh b\u1eb1ng c\u00e1ch s\u1eed d\u1ee5ng<code>'pie'<\/code>ki\u1ec3u chu\u1ed7i k\u1ebft h\u1ee3p v\u1edbi m\u1ed9t m\u1ea3ng hai ph\u1ea7n t\u1eed<code>radius<\/code>m\u1ea3ng: <code>['innerRadius', 'outerRadius']<\/code>. Gi\u00e1 tr\u1ecb \u0111\u1ea7u ti\u00ean x\u00e1c \u0111\u1ecbnh \u0111\u1ed9 m\u1edf c\u1ee7a ph\u1ea7n trung t\u00e2m r\u1ed7ng, trong khi gi\u00e1 tr\u1ecb th\u1ee9 hai \u0111i\u1ec1u khi\u1ec3n ranh gi\u1edbi b\u00ean ngo\u00e0i.<\/p>\n<h3>1. C\u00e0i \u0111\u1eb7t c\u01a1 b\u1ea3n<\/h3>\n<p>\u0110\u1ec3 x\u00e2y d\u1ef1ng bi\u1ec3u \u0111\u1ed3 donut ti\u00eau chu\u1ea9n, khai b\u00e1o m\u1ed9t chu\u1ed7i v\u1edbi<code>type: 'pie'<\/code>, \u0111\u1eb7t<code>radius: ['50%', '70%']<\/code>, v\u00e0 truy\u1ec1n c\u00e1c \u0111\u1ed1i t\u01b0\u1ee3ng d\u1eef li\u1ec7u v\u1edbi<code>name<\/code> v\u00e0<code>value<\/code>thu\u1ed9c t\u00ednh:<\/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:eNqFkD9rwzAQxfdAvoOWoBYyuCQmxqVDC91aMmQsGS72RRVVJCHLKcXou\/fsJP6XwVqE7t7vnd4Z66XR7IVV8xmj441RXtr09m5qTgqBLmVcejzxZdc5GncC75teBYHNZ9UhEJsF9lDlYfHIL9pwZRQK1PnQ3NAwHi\/6tgqPnooZarIeWRToJBYp++rkPbf6aDgh0W9lLtCzV6VMBnXI\/oRm8p+tdVbiuOMgl2U9g8cRfYzxDV37kejyu54oju9FcDYy\/4ADqu0ZnQLK6l2JI5WqBek4R5P22\/ym7AiqwGEzjCxy8DBYSrscdgZVUtCnaJ0sb8t510JqpFVqwe+8BthmFbfUJ7gf9NNMnEQts7XomvUXE9A6WbfQDhRO6VdRN2RXWmucJ2II7LvntUOV8PwPkryuSA==\" 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>Ch\u1ec9nh s\u1eeda ECharts trong VPasCode<\/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:eNqFkL1OwzAUhfdKfQcvlUHqENRGrYJYmJBAggGxoA5u4yaWXDtynCIU+QmYESuFmQegGRjyJH4TbtI2fx3qJfG95zvH98pIMynQFUr7PQRHS8k1i7zDvawpFgRUeQgzTVd4WHeWUq2I1mUvJQb1e+ncALsw6Cz1zeAc77Rmz3AaUOG3zSWEYXfQtOV0qaG4oAKsOxYxVYzGHnqu5Q234giyokA\/hPmXQHObvSMRFL9xvlmEzZgy\/jUqxBGj3Y4iPkuKIOw68DqEJ\/CZdUS7JzZErnssImvJ\/Dsyp\/x+TRUnMLBWCe2oeCHwusOUI4fyxUNLwmPabpqOhU80aW2m2hBaE57AoBfOeDo8bOjWZr9Ih4nd\/mh8ZNbiJiO3wh6Z3f5FANrs7QTmTp0Ke4IYgcL8U4QnqPF0XFHX+WYHBSegkVNH3djsA1Zss2+A2sysvu47UDGX\/8Vfv0E=\" \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: '{a} \r\n{b}: {c} ({d}%)'\r\n    },\r\n    legend: {\r\n        top: '5%',\r\n        left: 'center'\r\n    },\r\n    series: [\r\n        {\r\n            name: 'Ph\u00e2n b\u1ed5 ng\u00e2n s\u00e1ch',\r\n            type: 'pie',\r\n            radius: ['50%', '70%'],\r\n            center: ['50%', '55%'],\r\n            avoidLabelOverlap: true,\r\n            label: {\r\n                show: false\r\n            },\r\n            data: [\r\n                { value: 1048, name: 'K\u1ef9 thu\u1eadt' },\r\n                { value: 735, name: 'Ti\u1ebfp th\u1ecb' },\r\n                { value: 580, name: 'V\u1eadn h\u00e0nh' },\r\n                { value: 484, name: 'B\u00e1n h\u00e0ng' },\r\n                { value: 300, name: 'H\u1ed7 tr\u1ee3' }\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:eNqFkL1OwzAUhfdKfQcvlUHqENRGrYJYmJBAggGxoA5u4yaWXDtynCIU+QmYESuFmQegGRjyJH4TbtI2fx3qJfG95zvH98pIMynQFUr7PQRHS8k1i7zDvawpFgRUeQgzTVd4WHeWUq2I1mUvJQb1e+ncALsw6Cz1zeAc77Rmz3AaUOG3zSWEYXfQtOV0qaG4oAKsOxYxVYzGHnqu5Q234giyokA\/hPmXQHObvSMRFL9xvlmEzZgy\/jUqxBGj3Y4iPkuKIOw68DqEJ\/CZdUS7JzZErnssImvJ\/Dsyp\/x+TRUnMLBWCe2oeCHwusOUI4fyxUNLwmPabpqOhU80aW2m2hBaE57AoBfOeDo8bOjWZr9Ih4nd\/mh8ZNbiJiO3wh6Z3f5FANrs7QTmTp0Ke4IYgcL8U4QnqPF0XFHX+WYHBSegkVNH3djsA1Zss2+A2sysvu47UDGX\/8Vfv0E=\" \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:eNqFkD9rwzAQxfdAvoOWoBYyuCQmxqVDC91aMmQsGS72RRVVJCHLKcXou\/fsJP6XwVqE7t7vnd4Z66XR7IVV8xmj441RXtr09m5qTgqBLmVcejzxZdc5GncC75teBYHNZ9UhEJsF9lDlYfHIL9pwZRQK1PnQ3NAwHi\/6tgqPnooZarIeWRToJBYp++rkPbf6aDgh0W9lLtCzV6VMBnXI\/oRm8p+tdVbiuOMgl2U9g8cRfYzxDV37kejyu54oju9FcDYy\/4ADqu0ZnQLK6l2JI5WqBek4R5P22\/ym7AiqwGEzjCxy8DBYSrscdgZVUtCnaJ0sb8t510JqpFVqwe+8BthmFbfUJ7gf9NNMnEQts7XomvUXE9A6WbfQDhRO6VdRN2RXWmucJ2II7LvntUOV8PwPkryuSA==\" 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>Ch\u1ec9nh s\u1eeda ECharts trong VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"qZuZYKI\"><img fetchpriority=\"high\" alt=\"\" class=\"alignnone size-full wp-image-1316\" decoding=\"async\" fetchpriority=\"high\" height=\"1300\" sizes=\"(max-width: 1088px) 100vw, 1088px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66bb32c140a.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66bb32c140a.png 1088w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66bb32c140a-251x300.png 251w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66bb32c140a-857x1024.png 857w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66bb32c140a-768x918.png 768w\" width=\"1088\"\/><\/p>\n<p>\u00a0<\/p>\n<h2>C\u00e1c k\u1ef9 thu\u1eadt c\u1ea5u tr\u00fac n\u00e2ng cao<\/h2>\n<p>Bi\u1ec3u \u0111\u1ed3 donut t\u1ecfa s\u00e1ng khi k\u1ebft h\u1ee3p v\u1edbi c\u00e1c th\u1ed1ng k\u00ea trung t\u00e2m ho\u1eb7c phong c\u00e1ch th\u1ecb gi\u00e1c bo tr\u00f2n \u0111\u1ec3 t\u1ea1o ra c\u00e1c th\u00e0nh ph\u1ea7n giao di\u1ec7n ng\u01b0\u1eddi d\u00f9ng ho\u00e0n ch\u1ec9nh.<\/p>\n<h3>1. Giao di\u1ec7n ch\u1ed3ng th\u1ed1ng k\u00ea nh\u00e3n trung t\u00e2m<\/h3>\n<p>S\u1eed d\u1ee5ng c\u00e1c y\u1ebfu t\u1ed1 \u0111\u1ed3 h\u1ecda ho\u1eb7c c\u00e1c th\u00e0nh ph\u1ea7n ti\u00eau \u0111\u1ec1 \u1edf trung t\u00e2m \u0111\u1ec3 hi\u1ec3n th\u1ecb t\u1ed5ng c\u1ed9ng ho\u1eb7c KPI ch\u00ednh ngay b\u00ean trong v\u00e0nh bi\u1ec3u \u0111\u1ed3 donut:<\/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:eNqFUz1vgzAQ3Sv1P1hqKy8MSfgIStWxUodKGYjUocpwwJFYcrBlG5K0yn+vTQoJ0Cq3APfeu\/O9M0IaJkryQr7v74gNwwzHRfvVZPBgFoQ++t40mFPvAugq\/cVWwgAnicTSXBM4Fg7NbBrVNWCEtPlg9tRL2lqJOQ66uyhEaRL2ZYFZ7I2hD2SbrWuUCp7TASETXCiLPfi+Ty\/QaTzHrd7T4L\/SURRdlz6\/th2MENww2bdUsc0GnZYZ3NG+QKNiqBfk88IfnKmEnT0PfT1YwzXq4cjmKB0sGQ4RBTmrXGkaTaz3hMb2sR6O1azLkcIzKfyDBLVg+TukyJc1Kg52vgK4xgGNO8bI02bKrdj\/avrgaVAiBwM9MzpTSA28couZBLHXmvIGKt+DQjoq1NPM\/bCTJAAJSapUZ4o1f4O+IQ7jSSdeFgXL0Mql5HZtN5RBHHTKlYIaOW3vSxvr0U2ymdPzD\/SU02U=\" 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>Ch\u1ec9nh s\u1eeda ECharts trong VPasCode<\/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:eNqFUr1OwzAQ3pF4B0uAvFSobX4aFTHBiMSQCgbUwUncxMKNo8QpFNSJkYWFZ0AgsTC2Qgzti+RNOLdN2iSgemlz38\/dfbaIJBMhOkWP+3sIjmSS027+tazQe9lF+FA7bukd3NgASeqssV42ew195AYM9POPdJvF6UBRXBpKGm8DUkRQ19tHpSIY2nJcGUGdgQilzR4AaFuNOnRNmR+oRo7gHq4QXMFFDNiBpml4A03qy+zq3dL\/szZNc9t69TfvIIXgkkXlXGPm+1RpmaRDXBYkNGY06aKbDb8yU0iGMA8+g8yjYP5ZXVmOIwVHjFaRmHgsVdbYbEL2CFvw06+utbwuRTJWJOMPEhkJ5l0Qh\/LLEY05gf0GhCe0QuOKUct0uWUg7taaMjipWHhEklIYRShoRHiqLqapW408lF7AsumPRE42e4Z0sulbiNxs9h76uGZdculoRmGyeFk8waO+nX8jmxB7h9KwmoXyCoTqUr5Arrq\/D3eIdUsvxOcp4jC2G+D8EeWnX3teUJmc\/AJMwear\" \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    title: {\r\n        text: '$3.147',\r\n        subtext: 'T\u1ed5ng chi ti\u00eau',\r\n        left: 'center',\r\n        top: '42%',\r\n        textStyle: {\r\n            fontSize: 28,\r\n            fontWeight: 'bold',\r\n            color: '#333'\r\n        },\r\n        subtextStyle: {\r\n            fontSize: 14,\r\n            color: '#666'\r\n        }\r\n    },\r\n    tooltip: {\r\n        trigger: 'item'\r\n    },\r\n    series: [\r\n        {\r\n            name: 'Chi ph\u00ed',\r\n            type: 'pie',\r\n            radius: ['60%', '80%'],\r\n            center: ['50%', '50%'],\r\n            avoidLabelOverlap: false,\r\n            label: {\r\n                show: false\r\n            },\r\n            data: [\r\n                { value: 1048, name: 'Thi\u1ebft b\u1ecb ph\u1ea7n c\u1ee9ng' },\r\n                { value: 735, name: '\u0110\u0103ng k\u00fd SaaS' },\r\n                { value: 580, name: 'V\u0103n ph\u00f2ng ph\u1ea9m' },\r\n                { value: 484, name: 'Du l\u1ecbch' }\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:eNqFUr1OwzAQ3pF4B0uAvFSobX4aFTHBiMSQCgbUwUncxMKNo8QpFNSJkYWFZ0AgsTC2Qgzti+RNOLdN2iSgemlz38\/dfbaIJBMhOkWP+3sIjmSS027+tazQe9lF+FA7bukd3NgASeqssV42ew195AYM9POPdJvF6UBRXBpKGm8DUkRQ19tHpSIY2nJcGUGdgQilzR4AaFuNOnRNmR+oRo7gHq4QXMFFDNiBpml4A03qy+zq3dL\/szZNc9t69TfvIIXgkkXlXGPm+1RpmaRDXBYkNGY06aKbDb8yU0iGMA8+g8yjYP5ZXVmOIwVHjFaRmHgsVdbYbEL2CFvw06+utbwuRTJWJOMPEhkJ5l0Qh\/LLEY05gf0GhCe0QuOKUct0uWUg7taaMjipWHhEklIYRShoRHiqLqapW408lF7AsumPRE42e4Z0sulbiNxs9h76uGZdculoRmGyeFk8waO+nX8jmxB7h9KwmoXyCoTqUr5Arrq\/D3eIdUsvxOcp4jC2G+D8EeWnX3teUJmc\/AJMwear\" \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:eNqFUz1vgzAQ3Sv1P1hqKy8MSfgIStWxUodKGYjUocpwwJFYcrBlG5K0yn+vTQoJ0Cq3APfeu\/O9M0IaJkryQr7v74gNwwzHRfvVZPBgFoQ++t40mFPvAugq\/cVWwgAnicTSXBM4Fg7NbBrVNWCEtPlg9tRL2lqJOQ66uyhEaRL2ZYFZ7I2hD2SbrWuUCp7TASETXCiLPfi+Ty\/QaTzHrd7T4L\/SURRdlz6\/th2MENww2bdUsc0GnZYZ3NG+QKNiqBfk88IfnKmEnT0PfT1YwzXq4cjmKB0sGQ4RBTmrXGkaTaz3hMb2sR6O1azLkcIzKfyDBLVg+TukyJc1Kg52vgK4xgGNO8bI02bKrdj\/avrgaVAiBwM9MzpTSA28couZBLHXmvIGKt+DQjoq1NPM\/bCTJAAJSapUZ4o1f4O+IQ7jSSdeFgXL0Mql5HZtN5RBHHTKlYIaOW3vSxvr0U2ymdPzD\/SU02U=\" 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>Ch\u1ec9nh s\u1eeda ECharts trong VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"nIFRHCY\"><img alt=\"\" class=\"alignnone size-full wp-image-1317\" decoding=\"async\" height=\"1236\" sizes=\"(max-width: 1236px) 100vw, 1236px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66bb3f33768.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66bb3f33768.png 1236w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66bb3f33768-300x300.png 300w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66bb3f33768-1024x1024.png 1024w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66bb3f33768-150x150.png 150w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66bb3f33768-768x768.png 768w\" width=\"1236\"\/><\/p>\n<p>\u00a0<\/p>\n<h2>Tinh ch\u1ec9nh b\u1ed1 c\u1ee5c v\u00e0 \u0111\u1ecbnh d\u1ea1ng \u0111o\u1ea1n<\/h2>\n<p>Vi\u1ec7c th\u00eam c\u00e1c g\u00f3c bo nh\u1eb9 nh\u00e0ng v\u00e0 kho\u1ea3ng c\u00e1ch r\u00f5 r\u1ec7t gi\u1eefa c\u00e1c \u0111o\u1ea1n gi\u00fap bi\u1ec3u \u0111\u1ed3 h\u00ecnh donut c\u00f3 v\u1ebb ngo\u00e0i hi\u1ec7n \u0111\u1ea1i, tinh t\u1ebf.<\/p>\n<h3>1. \u0110\u1ea7u tr\u00f2n v\u00e0 kho\u1ea3ng c\u00e1ch gi\u1eefa c\u00e1c \u0111o\u1ea1n<\/h3>\n<p>S\u1eed d\u1ee5ng <code>itemStyle.borderRadius<\/code>k\u1ebft h\u1ee3p c\u00f9ng vi\u1ec1n tr\u1eafng r\u00f5 r\u00e0ng \u0111\u1ec3 t\u1ea1o cho m\u1ed7i \u0111o\u1ea1n cung m\u1ed9t v\u1ebb ngo\u00e0i m\u1ec1m m\u1ea1i, gi\u1ed1ng vi\u00ean thu\u1ed1c:<\/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:eNqFUTtrwzAQ3gv9DwfFaPHgFIeCS6eGbFliSoeSQY4ujUC2jHRuMcb\/vac2jbHz+gah032PQ2dr0raCF+ju74Dh0Wn0GXz8lQHdcA2oZIkZiJysk58Ib55PEY851NaBU+uTjpNKN8FfpPNIxCCekkhsJiRNWObUGvaYhAcU1il064PRLIkvUV6tsY7HeNj9QlwkvmtF+wzScb+f8I0s0JydyO\/tdwbkGjwTsbOulEQYJumKng1UH4nrUUqSHO3guAv4kqbhf0mT+H8TC7ttSqzIixOfkeRxfpSsUGkJS23wpmjIyVvPe4EFz3ZDNBuSlg4R8lpukTVjyWYoDx1+6Z9\/ABegkrU=\" 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>Ch\u1ec9nh s\u1eeda ECharts trong VPasCode<\/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:eNqFUrFOwzAU3JH4hyehyEuGFKVCCuoEGxtFYkAdHMVtLDl25DigKsrM3D+AgRHRgS1jUf4jf8JzG4gSWvoGy\/a7d3fyWaWGKwkTKE5PACtjmrMsgIfd0VbRbW1JmrAAyLSp3iFqqje5AFGvczC6qT6I2webZWrBKWfDjqYRz60Q8ccOcYFceA6ZDUDcsGRqlgI5Bi5shUpHTN+2RCPPPQS5UkJptHE23xY5CLznkYkD8Pv9coAXNGRir6MsVk8BvkTO9kjMlU6oMcw6KcISCaLSIf9LRdTQXhi\/ocAjFTm+i++5P5HcbV44CN5Uzzn5w9QbOh93QwhP4WtFIY3rdf2KcRpLIY9RdLrXGHyrCzGuYHBdycURhlFn4ibefKLwglO5\/Ue74f7srDu2HbwpL78BjbuypA==\" \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            name: 'S\u1eed d\u1ee5ng l\u01b0u tr\u1eef',\r\n            type: 'pie',\r\n            radius: ['45%', '70%'],\r\n            itemStyle: {\r\n                borderRadius: 10,\r\n                borderColor: '#ffffff',\r\n                borderWidth: 4\r\n            },\r\n            label: {\r\n                show: true,\r\n                formatter: '{b}: {d}%'\r\n            },\r\n            data: [\r\n                { value: 40, name: 'T\u00e0i li\u1ec7u' },\r\n                { value: 25, name: 'T\u1ec7p \u0111a ph\u01b0\u01a1ng ti\u1ec7n' },\r\n                { value: 20, name: 'D\u1eef li\u1ec7u h\u1ec7 th\u1ed1ng' },\r\n                { value: 15, name: 'Kh\u00f4ng gian tr\u1ed1ng' }\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:eNqFUrFOwzAU3JH4hyehyEuGFKVCCuoEGxtFYkAdHMVtLDl25DigKsrM3D+AgRHRgS1jUf4jf8JzG4gSWvoGy\/a7d3fyWaWGKwkTKE5PACtjmrMsgIfd0VbRbW1JmrAAyLSp3iFqqje5AFGvczC6qT6I2webZWrBKWfDjqYRz60Q8ccOcYFceA6ZDUDcsGRqlgI5Bi5shUpHTN+2RCPPPQS5UkJptHE23xY5CLznkYkD8Pv9coAXNGRir6MsVk8BvkTO9kjMlU6oMcw6KcISCaLSIf9LRdTQXhi\/ocAjFTm+i++5P5HcbV44CN5Uzzn5w9QbOh93QwhP4WtFIY3rdf2KcRpLIY9RdLrXGHyrCzGuYHBdycURhlFn4ibefKLwglO5\/Ue74f7srDu2HbwpL78BjbuypA==\" \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:eNqFUTtrwzAQ3gv9DwfFaPHgFIeCS6eGbFliSoeSQY4ujUC2jHRuMcb\/vac2jbHz+gah032PQ2dr0raCF+ju74Dh0Wn0GXz8lQHdcA2oZIkZiJysk58Ib55PEY851NaBU+uTjpNKN8FfpPNIxCCekkhsJiRNWObUGvaYhAcU1il064PRLIkvUV6tsY7HeNj9QlwkvmtF+wzScb+f8I0s0JydyO\/tdwbkGjwTsbOulEQYJumKng1UH4nrUUqSHO3guAv4kqbhf0mT+H8TC7ttSqzIixOfkeRxfpSsUGkJS23wpmjIyVvPe4EFz3ZDNBuSlg4R8lpukTVjyWYoDx1+6Z9\/ABegkrU=\" 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>Ch\u1ec9nh s\u1eeda ECharts trong VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"UvWZRED\"><img alt=\"\" class=\"alignnone size-full wp-image-1318\" decoding=\"async\" height=\"1114\" sizes=\"(max-width: 1641px) 100vw, 1641px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66bb4b5091a.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66bb4b5091a.png 1641w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66bb4b5091a-300x204.png 300w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66bb4b5091a-1024x695.png 1024w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66bb4b5091a-768x521.png 768w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66bb4b5091a-1536x1043.png 1536w\" width=\"1641\"\/><\/p>\n<p>\u00a0<\/p>\n<h2>C\u00e1c th\u1ef1c h\u00e0nh t\u1ed1t chi\u1ebfn l\u01b0\u1ee3c<\/h2>\n<ul>\n<li><strong>T\u1ed1i \u01b0u t\u1ef7 l\u1ec7 b\u00e1n k\u00ednh trong so v\u1edbi b\u00e1n k\u00ednh ngo\u00e0i:<\/strong>Duy tr\u00ec b\u00e1n k\u00ednh trong t\u1eeb 50% \u0111\u1ebfn 70% b\u00e1n k\u00ednh ngo\u00e0i \u0111\u1ec3 \u0111\u1ea3m b\u1ea3o c\u00e1c \u0111o\u1ea1n \u0111\u1ee7 d\u00e0y \u0111\u1ec3 d\u1ec5 d\u00e0ng di chu\u1ed9t qua, \u0111\u1ed3ng th\u1eddi gi\u1eef l\u1ea1i kh\u00f4ng gian \u0111\u1ee7 l\u1edbn \u1edf trung t\u00e2m.<\/li>\n<li><strong>S\u1eed d\u1ee5ng kh\u00f4ng gian trung t\u00e2m m\u1ed9t c\u00e1ch c\u00f3 ch\u1ee7 \u00fd:<\/strong>S\u1eed d\u1ee5ng v\u00f9ng tr\u1ed1ng \u1edf trung t\u00e2m \u0111\u1ec3 hi\u1ec3n th\u1ecb t\u1ed5ng c\u1ed9ng ho\u1eb7c ch\u1ec9 s\u1ed1 \u0111o\u1ea1n \u0111\u01b0\u1ee3c ch\u1ecdn thay v\u00ec l\u00e0m r\u1ed1i r\u1eafm vi\u1ec1n bi\u1ec3u \u0111\u1ed3 b\u1eb1ng c\u00e1c h\u1ed9p v\u0103n b\u1ea3n b\u1ed5 sung.<\/li>\n<li><strong>Gi\u1edbi h\u1ea1n s\u1ed1 l\u01b0\u1ee3ng mi\u1ebfng:<\/strong>Gi\u1edbi h\u1ea1n v\u00f2ng tr\u00f2n ch\u1ec9 c\u00f3 5 ho\u1eb7c 6 \u0111o\u1ea1n ch\u00ednh. N\u1ebfu b\u1ea1n c\u00f3 nhi\u1ec1u danh m\u1ee5c nh\u1ecf, h\u00e3y gom ch\u00fang l\u1ea1i th\u00e0nh danh m\u1ee5c &#8216;Kh\u00e1c&#8217; \u0111\u1ec3 tr\u00e1nh c\u00e1c cung m\u1ecfng, kh\u00f3 \u0111\u1ecdc.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Khi tr\u00ecnh b\u00e0y ph\u00e2n b\u1ed5 danh m\u1ee5c t\u01b0\u01a1ng \u0111\u1ed1i, th\u00ecBi\u1ec3u \u0111\u1ed3 Donutcung c\u1ea5p m\u1ed9t l\u1ef1a ch\u1ecdn hi\u1ec7n \u0111\u1ea1i, t\u01b0\u01a1ng ph\u1ea3n cao thay th\u1ebf cho bi\u1ec3u \u0111\u1ed3 b\u00e1nh truy\u1ec1n th\u1ed1ng. B\u1eb1ng c\u00e1ch lo\u1ea1i b\u1ecf ph\u1ea7n l\u00f5i \u1edf gi\u1eefa, bi\u1ec3u \u0111\u1ed3 donut&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":9,"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-2061","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 Doughnut Chart Guide | VPasCode Text to Diagram Guide<\/title>\n<meta name=\"description\" content=\"Script hollow doughnut charts with custom labels using ECharts syntax in VPasCode, a 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\/vn\/docs\/vpascode-docs\/doughnut-chart-ring-based-proportions-and-center-metrics-guide\/\" \/>\n<meta property=\"og:locale\" content=\"vi_VN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ECharts Doughnut Chart Guide | VPasCode Text to Diagram Guide\" \/>\n<meta property=\"og:description\" content=\"Script hollow doughnut charts with custom labels using ECharts syntax in VPasCode, a free text to diagram tool.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/doughnut-chart-ring-based-proportions-and-center-metrics-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_6a66bb32c140a.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 ph\u00fat\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/docs\\\/vpascode-docs\\\/doughnut-chart-ring-based-proportions-and-center-metrics-guide\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/docs\\\/vpascode-docs\\\/doughnut-chart-ring-based-proportions-and-center-metrics-guide\\\/\",\"name\":\"ECharts Doughnut Chart Guide | VPasCode Text to Diagram Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/docs\\\/vpascode-docs\\\/doughnut-chart-ring-based-proportions-and-center-metrics-guide\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/docs\\\/vpascode-docs\\\/doughnut-chart-ring-based-proportions-and-center-metrics-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/img_6a66bb32c140a.png\",\"datePublished\":\"2026-07-27T01:55:55+00:00\",\"description\":\"Script hollow doughnut charts with custom labels using ECharts syntax in VPasCode, a free text to diagram tool.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/docs\\\/vpascode-docs\\\/doughnut-chart-ring-based-proportions-and-center-metrics-guide\\\/#breadcrumb\"},\"inLanguage\":\"vi\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/docs\\\/vpascode-docs\\\/doughnut-chart-ring-based-proportions-and-center-metrics-guide\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/docs\\\/vpascode-docs\\\/doughnut-chart-ring-based-proportions-and-center-metrics-guide\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/img_6a66bb32c140a.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/img_6a66bb32c140a.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/docs\\\/vpascode-docs\\\/doughnut-chart-ring-based-proportions-and-center-metrics-guide\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lean Docs\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/docs\\\/%ld_collection%\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Bi\u1ec3u \u0111\u1ed3 Donut: T\u1ef7 l\u1ec7 d\u1ef1a tr\u00ean v\u00e0nh v\u00e0 c\u00e1c ch\u1ec9 s\u1ed1 trung t\u00e2m\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/#website\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/\",\"name\":\"VPasCode\",\"description\":\"by Visual Paradigm\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"vi\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/#organization\",\"name\":\"VPasCode\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/wp-content\\\/uploads\\\/sites\\\/12\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/wp-content\\\/uploads\\\/sites\\\/12\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"width\":128,\"height\":138,\"caption\":\"VPasCode\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/vn\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ECharts Doughnut Chart Guide | VPasCode Text to Diagram Guide","description":"Script hollow doughnut charts with custom labels using ECharts syntax in VPasCode, a 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\/vn\/docs\/vpascode-docs\/doughnut-chart-ring-based-proportions-and-center-metrics-guide\/","og_locale":"vi_VN","og_type":"article","og_title":"ECharts Doughnut Chart Guide | VPasCode Text to Diagram Guide","og_description":"Script hollow doughnut charts with custom labels using ECharts syntax in VPasCode, a free text to diagram tool.","og_url":"https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/doughnut-chart-ring-based-proportions-and-center-metrics-guide\/","og_site_name":"VPasCode","og_image":[{"url":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66bb32c140a.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc":"2 ph\u00fat"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/doughnut-chart-ring-based-proportions-and-center-metrics-guide\/","url":"https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/doughnut-chart-ring-based-proportions-and-center-metrics-guide\/","name":"ECharts Doughnut Chart Guide | VPasCode Text to Diagram Guide","isPartOf":{"@id":"https:\/\/www.vpascode.com\/vn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/doughnut-chart-ring-based-proportions-and-center-metrics-guide\/#primaryimage"},"image":{"@id":"https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/doughnut-chart-ring-based-proportions-and-center-metrics-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66bb32c140a.png","datePublished":"2026-07-27T01:55:55+00:00","description":"Script hollow doughnut charts with custom labels using ECharts syntax in VPasCode, a free text to diagram tool.","breadcrumb":{"@id":"https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/doughnut-chart-ring-based-proportions-and-center-metrics-guide\/#breadcrumb"},"inLanguage":"vi","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/doughnut-chart-ring-based-proportions-and-center-metrics-guide\/"]}]},{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/doughnut-chart-ring-based-proportions-and-center-metrics-guide\/#primaryimage","url":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66bb32c140a.png","contentUrl":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66bb32c140a.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.vpascode.com\/vn\/docs\/vpascode-docs\/doughnut-chart-ring-based-proportions-and-center-metrics-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vpascode.com\/vn\/"},{"@type":"ListItem","position":2,"name":"Lean Docs","item":"https:\/\/www.vpascode.com\/vn\/docs\/%ld_collection%\/"},{"@type":"ListItem","position":3,"name":"Bi\u1ec3u \u0111\u1ed3 Donut: T\u1ef7 l\u1ec7 d\u1ef1a tr\u00ean v\u00e0nh v\u00e0 c\u00e1c ch\u1ec9 s\u1ed1 trung t\u00e2m"}]},{"@type":"WebSite","@id":"https:\/\/www.vpascode.com\/vn\/#website","url":"https:\/\/www.vpascode.com\/vn\/","name":"VPasCode","description":"by Visual Paradigm","publisher":{"@id":"https:\/\/www.vpascode.com\/vn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vpascode.com\/vn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"vi"},{"@type":"Organization","@id":"https:\/\/www.vpascode.com\/vn\/#organization","name":"VPasCode","url":"https:\/\/www.vpascode.com\/vn\/","logo":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/www.vpascode.com\/vn\/#\/schema\/logo\/image\/","url":"https:\/\/www.vpascode.com\/vn\/wp-content\/uploads\/sites\/12\/2026\/06\/cropped-vp-online-logo-v1.png","contentUrl":"https:\/\/www.vpascode.com\/vn\/wp-content\/uploads\/sites\/12\/2026\/06\/cropped-vp-online-logo-v1.png","width":128,"height":138,"caption":"VPasCode"},"image":{"@id":"https:\/\/www.vpascode.com\/vn\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.vpascode.com\/vn\/wp-json\/wp\/v2\/ld_docs\/2061","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vpascode.com\/vn\/wp-json\/wp\/v2\/ld_docs"}],"about":[{"href":"https:\/\/www.vpascode.com\/vn\/wp-json\/wp\/v2\/types\/ld_docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.vpascode.com\/vn\/wp-json\/wp\/v2\/users\/3"}],"wp:attachment":[{"href":"https:\/\/www.vpascode.com\/vn\/wp-json\/wp\/v2\/media?parent=2061"}],"wp:term":[{"taxonomy":"ld_collection","embeddable":true,"href":"https:\/\/www.vpascode.com\/vn\/wp-json\/wp\/v2\/ld_collection?post=2061"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}