{"id":2074,"date":"2026-07-27T01:13:45","date_gmt":"2026-07-27T01:13:45","guid":{"rendered":"https:\/\/www.vpascode.com\/fr\/docs\/uncategorized\/stacked-bar-chart-horizontal-part-to-whole-breakdown-guide\/"},"modified":"2026-07-27T01:13:45","modified_gmt":"2026-07-27T01:13:45","slug":"stacked-bar-chart-horizontal-part-to-whole-breakdown-guide","status":"publish","type":"ld_docs","link":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/stacked-bar-chart-horizontal-part-to-whole-breakdown-guide\/","title":{"rendered":"Diagramme en barres empil\u00e9es : r\u00e9partition horizontale partielles-totales"},"content":{"rendered":"<p>Pour analyser les r\u00e9partitions des composants sur des \u00e9l\u00e9ments ayant des titres de cat\u00e9gorie longs, le <strong>Diagramme en barres empil\u00e9es<\/strong> est le choix id\u00e9al. En empilant les segments de donn\u00e9es horizontalement de gauche \u00e0 droite le long de l&#8217;axe Y, cette visualisation pr\u00e9serve la clart\u00e9 des \u00e9tiquettes longues tout en affichant <em>\u00e0 la fois les totaux globaux des cat\u00e9gories et la r\u00e9partition proportionnelle interne<\/em>. Il fonctionne particuli\u00e8rement bien pour les r\u00e9sultats d\u00e9mographiques d&#8217;enqu\u00eates, l&#8217;allocation des ressources de projet par d\u00e9partement ou les pipelines de conversion multicanal.<\/p>\n<h2>Le fonctionnement des barres horizontales empil\u00e9es<\/h2>\n<p>La cr\u00e9ation d&#8217;un graphique empil\u00e9 horizontal implique l&#8217;utilisation de la m\u00eame <code>empilement<\/code> propri\u00e9t\u00e9 que les graphiques en barres empil\u00e9es verticales, associ\u00e9e \u00e0 un axe Y bas\u00e9 sur des cat\u00e9gories. Lorsque plusieurs <code>type: 'barre'<\/code> s\u00e9ries partagent une cl\u00e9 d&#8217;empilement identique <code>empilement<\/code> sur une orientation horizontale, le moteur de rendu accumule les valeurs de gauche \u00e0 droite le long de l&#8217;axe X.<\/p>\n<h3>1. Configuration essentielle<\/h3>\n<p>Pour cr\u00e9er un diagramme en barres empil\u00e9es de base, d\u00e9finissez <code>yAxis<\/code> \u00e0 <code>type: 'cat\u00e9gorie'<\/code>, <code>xAxis<\/code> \u00e0 <code>type: 'valeur'<\/code>, et attribuez une cha\u00eene d&#8217;empilement correspondante \u00e0 chaque s\u00e9rie :<code>empilement<\/code>cha\u00eene \u00e0 chaque s\u00e9rie :<\/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:eNq1kj1rwzAQhvdC\/4M2LR4iuYHWpUNKSqdC9pBBtQ9FjSwZWWljgv97T\/6oo0ApgVSDuI9X0nN3spVX1pAncry9Ibi8tdqrKhv9LuaUlOAyQsVB1TSZMsFfWWV8yB6JbypAVb0Vhf2ipO2F7XBAgwRTRDcXwouMrOmLkcoAOGUkTQhdOVvscx\/MJdRKmmC9CbcDHxSb+N7DAili4J7jU+g90Fjc\/CbOhQdpXXNa3oiHPB+Qe7LQ1VYMgF3gGXzkv4qyjAJL0Kg4A66xUECI9fTSCU9YRpSBKWpLrBio34U7z9Re5LswK60tFoXTPVcMZaV8lpB0xsPGcEvvNpOuTf6C+xnS1cFYAGMpgrEAxi4EG7\/M1bl4x3UfuB6Qi1\/INX3gf2jZHNE4QzTetWweofUmRtrHbyQN6ag=\" 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>Modifier ECharts dans 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:eNq10kFLwzAUAOC74H\/ILZceltaBVjxMBfEg7D52iOuji0uTkma6MvqD\/B3+Md9rO9sMRAYzh5CXvKbfS2JLr6xhd2x\/ecGweWu1V2V6iNs5p\/IcXMq43KmKR8MKxXOrjKfVPfN1CZhVrWVmPzhrusSm\/0BDDiYLds6klylb8GeTf30aBU4BjxifO5ttlafhgzUraI0UvUi3Aa9Mzpfh3rsZSkJ0Z3mXegs8TK5\/S15JD7l19bjEAxFNb+DZTJdr2Rspvgc\/Dp9kUYzjR9C4foStqE4ELIa\/jCzUjCzIExxLmNGLX6U7Xqm8XG3orrS2WFB7cmFGX1ISTyKWTGLqBHbJ1XLIa6K\/cD+XdHaYIJhIECYIJk6EjZ\/M2W1xa7sm2w3a4hNtwwP+h2ObIi0WSIvbY5sGtG6IM83tN0M47M4=\" \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: 'axis',\r\n        axisPointer: { type: 'shadow' }\r\n    },\r\n    legend: {\r\n        data: ['Ing\u00e9nierie', 'Produit', 'Conception', 'Marketing']\r\n    },\r\n    xAxis: {\r\n        type: 'value'\r\n    },\r\n    yAxis: {\r\n        type: 'category',\r\n        data: ['Projet Alpha', 'Projet Beta', 'Projet Gamma', 'Projet Delta']\r\n    },\r\n    series: [\r\n        {\r\n            name: 'Ing\u00e9nierie',\r\n            type: 'bar',\r\n            stack: 'allocation',\r\n            data: [320, 302, 301, 334]\r\n        },\r\n        {\r\n            name: 'Produit',\r\n            type: 'bar',\r\n            stack: 'allocation',\r\n            data: [120, 132, 101, 134]\r\n        },\r\n        {\r\n            name: 'Conception',\r\n            type: 'bar',\r\n            stack: 'allocation',\r\n            data: [220, 182, 191, 234]\r\n        },\r\n        {\r\n            name: 'Marketing',\r\n            type: 'bar',\r\n            stack: 'allocation',\r\n            data: [150, 212, 201, 154]\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:eNq10kFLwzAUAOC74H\/ILZceltaBVjxMBfEg7D52iOuji0uTkma6MvqD\/B3+Md9rO9sMRAYzh5CXvKbfS2JLr6xhd2x\/ecGweWu1V2V6iNs5p\/IcXMq43KmKR8MKxXOrjKfVPfN1CZhVrWVmPzhrusSm\/0BDDiYLds6klylb8GeTf30aBU4BjxifO5ttlafhgzUraI0UvUi3Aa9Mzpfh3rsZSkJ0Z3mXegs8TK5\/S15JD7l19bjEAxFNb+DZTJdr2Rspvgc\/Dp9kUYzjR9C4foStqE4ELIa\/jCzUjCzIExxLmNGLX6U7Xqm8XG3orrS2WFB7cmFGX1ISTyKWTGLqBHbJ1XLIa6K\/cD+XdHaYIJhIECYIJk6EjZ\/M2W1xa7sm2w3a4hNtwwP+h2ObIi0WSIvbY5sGtG6IM83tN0M47M4=\" \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:eNq1kj1rwzAQhvdC\/4M2LR4iuYHWpUNKSqdC9pBBtQ9FjSwZWWljgv97T\/6oo0ApgVSDuI9X0nN3spVX1pAncry9Ibi8tdqrKhv9LuaUlOAyQsVB1TSZMsFfWWV8yB6JbypAVb0Vhf2ipO2F7XBAgwRTRDcXwouMrOmLkcoAOGUkTQhdOVvscx\/MJdRKmmC9CbcDHxSb+N7DAili4J7jU+g90Fjc\/CbOhQdpXXNa3oiHPB+Qe7LQ1VYMgF3gGXzkv4qyjAJL0Kg4A66xUECI9fTSCU9YRpSBKWpLrBio34U7z9Re5LswK60tFoXTPVcMZaV8lpB0xsPGcEvvNpOuTf6C+xnS1cFYAGMpgrEAxi4EG7\/M1bl4x3UfuB6Qi1\/INX3gf2jZHNE4QzTetWweofUmRtrHbyQN6ag=\" 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>Modifier ECharts dans VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"sQHyoCX\"><img fetchpriority=\"high\" alt=\"\" class=\"alignnone size-full wp-image-1291\" decoding=\"async\" fetchpriority=\"high\" height=\"1363\" sizes=\"(max-width: 1377px) 100vw, 1377px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66b11b508fe.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66b11b508fe.png 1377w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66b11b508fe-300x297.png 300w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66b11b508fe-1024x1014.png 1024w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66b11b508fe-768x760.png 768w\" width=\"1377\"\/><\/p>\n<p>\u00a0<\/p>\n<h2>Techniques structurelles avanc\u00e9es<\/h2>\n<p>Les barres horizontales empil\u00e9es peuvent \u00eatre configur\u00e9es pour une comparaison absolue des volumes ou normalis\u00e9es pour afficher des ratios en pourcentage entre les cat\u00e9gories.<\/p>\n<h3>1. Graphique \u00e0 barres horizontales normalis\u00e9es \u00e0 100 %<\/h3>\n<p>Pour \u00e9valuer les ratios relatifs plut\u00f4t que les comptages absolus sur des cat\u00e9gories longues, normalisez vos donn\u00e9es de s\u00e9rie pour qu&#8217;elles totalisent 100 % par ligne :<\/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:eNqtUj1PwzAQ3Sv1P9xSeUmlpFBAQQwI2CggdUQMl+QSrCZxZLulVZT\/jp1+JA4wINVL7u69nN87n6g0FyXcQT0egTlaiFzzKjzmbU3yLCMZAsMtV8zrEJu\/CV5qi9agdxUZlvrERHwxaHrMVMgCdctjddSMRzX6jfkn9puJTYI2CfbJrE1mzYTtGxwb5ZRRmTjaEtQYwjtbouYq5ZQwD9gLrbXE3IaPXKkT9OG2294b+a7TvYEN5mvq+yx4GYLfL+A2hMD3B7N4xohyOwnHbtvOmIHGvX\/31\/0xasqE3PUlHIx2BXvYkx19JbkieFgrLQqSsFzHMSnnnVrugifTBcoVaUOpKiHNl+SGG\/IP7pLydGpRgtcyEigTXmasIw0mqUhyUo682u1YYmGd9Z7JxQ\/OI5RDRGmMVwZKiZLIhEP8MJjruQdXvgeX848O72\/g74JOq3JmOcGNBzMj6eJ\/cpx1PfuIPAiMpJnfl7QPTaW5\/Qa1bfYL\" 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>Modifier ECharts dans 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:eNqtUktqwzAQ3Rdyh9kEbVyw0y8uXXRZKG0hy5LFWJ64oo5kJDlNMIZeozdozpGb9CSV7aSx0nZRiMCgmTd+eu9JqrBCSbiGanAEblmlciuKeFu3PS2yjHQMDBfCsGCHNPWjEtI2aAV2WZCbMs+YqlcGdW9yqvQMbTvHqqQeHFUY1u4fHtbDpojaIuqKUVuM6iHrCLZEOWUkU09bihZjeGJjtMJMUVgWALun0mpqdrfSfAMTn2xx48T7Pjv5c8xL6rucCRlD2G\/gIoYoDPeSuMOE8iYHz2xL56xA7Z+\/\/Ot8jpYypZd9CRubu0az2LjkfP1hgOeCpAX3aSq0MJ76bpL0XHAykH6+vaMxwliUnKBQpXaxOkeaP69X0F7lbL1KBQr9k+ZBJgp1KmQGWFp1bBwtlZrtxvZCdgOCjKe88jklzhrTvfvz8U0oCep9xFngLw6aEqWJ2+7jm8wuzgI4DwM4PZvs8P7T\/F3Q9g0dWE10GcDIKTr5n5r+Oz54QAFETtEo7Cvqtq5TX30BCMgCeg==\" \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: 'axis',\r\n        axisPointer: { type: 'shadow' },\r\n        formatter: '{b}\r\n{a0}: {c0}%\r\n{a1}: {c1}%\r\n{a2}: {c2}%'\r\n    },\r\n    legend: {\r\n        data: ['Satisfait', 'Neutre', 'Insatisfait']\r\n    },\r\n    xAxis: {\r\n        type: 'value',\r\n        min: 0,\r\n        max: 100,\r\n        axisLabel: { formatter: '{value}%' }\r\n    },\r\n    yAxis: {\r\n        type: 'category',\r\n        data: [\r\n            'Succ\u00e8s client entreprise',\r\n            'Services d\u2019assistance pour le march\u00e9 interm\u00e9diaire',\r\n            'Onboarding auto-serveur'\r\n        ]\r\n    },\r\n    series: [\r\n        {\r\n            name: 'Satisfait',\r\n            type: 'bar',\r\n            stack: 'feedback',\r\n            data: [75, 60, 45]\r\n        },\r\n        {\r\n            name: 'Neutre',\r\n            type: 'bar',\r\n            stack: 'feedback',\r\n            data: [18, 25, 35]\r\n        },\r\n        {\r\n            name: 'Insatisfait',\r\n            type: 'bar',\r\n            stack: 'feedback',\r\n            data: [7, 15, 20]\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:eNqtUktqwzAQ3Rdyh9kEbVyw0y8uXXRZKG0hy5LFWJ64oo5kJDlNMIZeozdozpGb9CSV7aSx0nZRiMCgmTd+eu9JqrBCSbiGanAEblmlciuKeFu3PS2yjHQMDBfCsGCHNPWjEtI2aAV2WZCbMs+YqlcGdW9yqvQMbTvHqqQeHFUY1u4fHtbDpojaIuqKUVuM6iHrCLZEOWUkU09bihZjeGJjtMJMUVgWALun0mpqdrfSfAMTn2xx48T7Pjv5c8xL6rucCRlD2G\/gIoYoDPeSuMOE8iYHz2xL56xA7Z+\/\/Ot8jpYypZd9CRubu0az2LjkfP1hgOeCpAX3aSq0MJ76bpL0XHAykH6+vaMxwliUnKBQpXaxOkeaP69X0F7lbL1KBQr9k+ZBJgp1KmQGWFp1bBwtlZrtxvZCdgOCjKe88jklzhrTvfvz8U0oCep9xFngLw6aEqWJ2+7jm8wuzgI4DwM4PZvs8P7T\/F3Q9g0dWE10GcDIKTr5n5r+Oz54QAFETtEo7Cvqtq5TX30BCMgCeg==\" \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:eNqtUj1PwzAQ3Sv1P9xSeUmlpFBAQQwI2CggdUQMl+QSrCZxZLulVZT\/jp1+JA4wINVL7u69nN87n6g0FyXcQT0egTlaiFzzKjzmbU3yLCMZAsMtV8zrEJu\/CV5qi9agdxUZlvrERHwxaHrMVMgCdctjddSMRzX6jfkn9puJTYI2CfbJrE1mzYTtGxwb5ZRRmTjaEtQYwjtbouYq5ZQwD9gLrbXE3IaPXKkT9OG2294b+a7TvYEN5mvq+yx4GYLfL+A2hMD3B7N4xohyOwnHbtvOmIHGvX\/31\/0xasqE3PUlHIx2BXvYkx19JbkieFgrLQqSsFzHMSnnnVrugifTBcoVaUOpKiHNl+SGG\/IP7pLydGpRgtcyEigTXmasIw0mqUhyUo682u1YYmGd9Z7JxQ\/OI5RDRGmMVwZKiZLIhEP8MJjruQdXvgeX848O72\/g74JOq3JmOcGNBzMj6eJ\/cpx1PfuIPAiMpJnfl7QPTaW5\/Qa1bfYL\" 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>Modifier ECharts dans VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"vRYIsAC\"><img alt=\"\" class=\"alignnone size-full wp-image-1292\" decoding=\"async\" height=\"1363\" sizes=\"(max-width: 1412px) 100vw, 1412px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66b12c08f4d.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66b12c08f4d.png 1412w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66b12c08f4d-300x290.png 300w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66b12c08f4d-1024x988.png 1024w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66b12c08f4d-768x741.png 768w\" width=\"1412\"\/><\/p>\n<p>\u00a0<\/p>\n<h2>Affinage du layout et du style<\/h2>\n<p>Des limites visuelles nettes et des extr\u00e9mit\u00e9s arrondies donnent aux barres empil\u00e9es horizontales un aspect soign\u00e9 et moderne.<\/p>\n<h3>1. S\u00e9paration des segments et arrondi des extr\u00e9mit\u00e9s externes<\/h3>\n<p>Appliquez des lignes de bord verticales fines pour d\u00e9limiter les segments internes, et limitez le style d&#8217;arrondi des coins au dernier segment \u00e0 droite :<\/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:eNrNVMFqg0AQvRf6DwuleBHiGm0SSw9tSk+9JIX2EHJYdydmqXHDupZI8d+7ExOighRCCh1kcHYeM8+3zqitkSojD+T7+opYS7QU0TFAS2FlIuLQ8NZxT6daJuv9sdc65iozTGavLIY0IkYXUOeqA2b3uJN5q7wpt2DrfLG0AKcNLvvAnBlIlC6bnQUzLCILZ0bJUyESMI5LnJnfDIbNIDgGy3bTHLQE23VxKt0ggJaxDZJ4kTsQZKpykzd5NGjGTHczuWH8E1MHIu3s4RsCz3NJ4KOj6IbesgOUBjZvpkwh6pKrLyFV2ja5CYORx++6XdBipQXo6RG42ls\/8EMKs44IbeerU1i5v8n1zrRkcQp\/opiPivkhOpTNH5+r2IRyPgr\/h2LPMucacDpZ+1e\/gGAUBaMoGB2im5wr2IrxcTi+oGC9gDkTssDBtHzv9o+3JIMBmasiE3YSudIZ6JzYZWbWUC8oAplNsG3\/LdSvdgdU9z+n+h8F\" 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>Modifier ECharts dans 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:eNrNVMtqwzAQvBf6Dwul+GKI7cR5uPTQpsde2h56KDnI0toRdaywkkNCyQflG3rMj9XKo7ENhhJy6GIWr3bYGY2Q1NxIlcM9fF1fQRkpSREdCxsZJiYCxw9vHfe0SjKd7pa92jJXuWEyf2YxZhEYKnDfWx8wy4el1LXxZjXHcs6CZQU6dfCqDcyZwVTRqsosmGERfDiPhUjRwIvvuPBbBNWiWy16zqROqpEklqwfp9EVATZyNrMixmr7bTQkcom6KqSiM2bU7GjD+Kdt7fib3cMmep7nQi+wybep600aQGlw9mZWGUZNdftTyBSVJDdhb+DxfpPFRqxIII2PwGQX7cB3Kcw0Ar\/eX5\/KtftHvxaMJIuzi3sWWM+C0CZrXDA817ORz\/kg\/B+ePUnNCe0FzZkkvLBlvrXMt5b5XZtG51qWMD4Mhxe0rBXwyoQs7O0s9fZ3nzeBTgfGSuYaGJHKhdSgCyrfLeBsrgwIhMzBpaHtZibNdgOCVLmx9mPZ\/5bvwvruB6lzKbQ=\" \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    grid: {\r\n        left: '15%',\r\n        right: '10%',\r\n        containLabel: true\r\n    },\r\n    xAxis: {\r\n        type: 'value'\r\n    },\r\n    yAxis: {\r\n        type: 'category',\r\n        data: ['Budget Q1', 'Budget Q2', 'Budget Q3', 'Budget Q4']\r\n    },\r\n    series: [\r\n        {\r\n            name: 'Co\u00fbts fixes',\r\n            type: 'bar',\r\n            stack: 'budget',\r\n            data: [400, 420, 410, 430],\r\n            itemStyle: {\r\n                color: '#5470c6',\r\n                borderColor: '#ffffff',\r\n                borderWidth: 1\r\n            }\r\n        },\r\n        {\r\n            name: 'Co\u00fbts variables',\r\n            type: 'bar',\r\n            stack: 'budget',\r\n            data: [200, 250, 220, 280],\r\n            itemStyle: {\r\n                color: '#91cc75',\r\n                borderColor: '#ffffff',\r\n                borderWidth: 1\r\n            }\r\n        },\r\n        {\r\n            name: 'Discretionnaire',\r\n            type: 'bar',\r\n            stack: 'budget',\r\n            data: [100, 150, 130, 190],\r\n            itemStyle: {\r\n                color: '#fac858',\r\n                borderColor: '#ffffff',\r\n                borderWidth: 1,\r\n                borderRadius: [0, 6, 6, 0] \/\/ Coins arrondis sur le capot de l'extr\u00e9mit\u00e9 droite\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:eNrNVMtqwzAQvBf6Dwul+GKI7cR5uPTQpsde2h56KDnI0toRdaywkkNCyQflG3rMj9XKo7ENhhJy6GIWr3bYGY2Q1NxIlcM9fF1fQRkpSREdCxsZJiYCxw9vHfe0SjKd7pa92jJXuWEyf2YxZhEYKnDfWx8wy4el1LXxZjXHcs6CZQU6dfCqDcyZwVTRqsosmGERfDiPhUjRwIvvuPBbBNWiWy16zqROqpEklqwfp9EVATZyNrMixmr7bTQkcom6KqSiM2bU7GjD+Kdt7fib3cMmep7nQi+wybep600aQGlw9mZWGUZNdftTyBSVJDdhb+DxfpPFRqxIII2PwGQX7cB3Kcw0Ar\/eX5\/KtftHvxaMJIuzi3sWWM+C0CZrXDA817ORz\/kg\/B+ePUnNCe0FzZkkvLBlvrXMt5b5XZtG51qWMD4Mhxe0rBXwyoQs7O0s9fZ3nzeBTgfGSuYaGJHKhdSgCyrfLeBsrgwIhMzBpaHtZibNdgOCVLmx9mPZ\/5bvwvruB6lzKbQ=\" \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:eNrNVMFqg0AQvRf6DwuleBHiGm0SSw9tSk+9JIX2EHJYdydmqXHDupZI8d+7ExOighRCCh1kcHYeM8+3zqitkSojD+T7+opYS7QU0TFAS2FlIuLQ8NZxT6daJuv9sdc65iozTGavLIY0IkYXUOeqA2b3uJN5q7wpt2DrfLG0AKcNLvvAnBlIlC6bnQUzLCILZ0bJUyESMI5LnJnfDIbNIDgGy3bTHLQE23VxKt0ggJaxDZJ4kTsQZKpykzd5NGjGTHczuWH8E1MHIu3s4RsCz3NJ4KOj6IbesgOUBjZvpkwh6pKrLyFV2ja5CYORx++6XdBipQXo6RG42ls\/8EMKs44IbeerU1i5v8n1zrRkcQp\/opiPivkhOpTNH5+r2IRyPgr\/h2LPMucacDpZ+1e\/gGAUBaMoGB2im5wr2IrxcTi+oGC9gDkTssDBtHzv9o+3JIMBmasiE3YSudIZ6JzYZWbWUC8oAplNsG3\/LdSvdgdU9z+n+h8F\" 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>Modifier ECharts dans VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"xgcMIVQ\"><img alt=\"\" class=\"alignnone size-full wp-image-1293\" decoding=\"async\" height=\"1243\" sizes=\"(max-width: 1195px) 100vw, 1195px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66b13bdc4f2.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66b13bdc4f2.png 1195w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66b13bdc4f2-288x300.png 288w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66b13bdc4f2-984x1024.png 984w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66b13bdc4f2-768x799.png 768w\" width=\"1195\"\/><\/p>\n<p>\u00a0<\/p>\n<h2>Meilleures pratiques strat\u00e9giques<\/h2>\n<ul>\n<li><strong>Base du premier segment :<\/strong> Le segment le plus proche de la base de l&#8217;axe Y est le plus facile \u00e0 comparer entre les cat\u00e9gories. Placez toujours votre composant le plus critique en tant que premier objet de s\u00e9rie.<\/li>\n<li><strong>Limitez les composants empil\u00e9s :<\/strong> Limitez le nombre total de segments empil\u00e9s \u00e0 5 ou moins par barre afin de maintenir une analyse visuelle claire sans surcharger le spectateur.<\/li>\n<li><strong>\u00c9tiquettes de texte dans la barre :<\/strong> Pour les barres empil\u00e9es horizontales avec des segments larges, envisagez d&#8217;activer <code>label: { show: true, position: 'inside' }<\/code> afin de rendre les valeurs individuelles des segments lisibles sans d\u00e9pendre des infobulles au survol.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Pour analyser les r\u00e9partitions des composants sur des \u00e9l\u00e9ments ayant des titres de cat\u00e9gorie longs, le Diagramme en barres empil\u00e9es est le choix id\u00e9al. En empilant les segments de donn\u00e9es horizontalement de gauche \u00e0 droite le long de l&#8217;axe Y,&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":4,"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-2074","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 Stacked Bar Chart | VPasCode Text to Diagram Guide<\/title>\n<meta name=\"description\" content=\"Script stacked horizontal bar visuals from raw data with ECharts in VPasCode, a diagram-as-code 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\/fr\/docs\/vpascode-docs\/stacked-bar-chart-horizontal-part-to-whole-breakdown-guide\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ECharts Stacked Bar Chart | VPasCode Text to Diagram Guide\" \/>\n<meta property=\"og:description\" content=\"Script stacked horizontal bar visuals from raw data with ECharts in VPasCode, a diagram-as-code tool.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/stacked-bar-chart-horizontal-part-to-whole-breakdown-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_6a66b11b508fe.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/vpascode-docs\\\/stacked-bar-chart-horizontal-part-to-whole-breakdown-guide\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/vpascode-docs\\\/stacked-bar-chart-horizontal-part-to-whole-breakdown-guide\\\/\",\"name\":\"ECharts Stacked Bar Chart | VPasCode Text to Diagram Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/vpascode-docs\\\/stacked-bar-chart-horizontal-part-to-whole-breakdown-guide\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/vpascode-docs\\\/stacked-bar-chart-horizontal-part-to-whole-breakdown-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/img_6a66b11b508fe.png\",\"datePublished\":\"2026-07-27T01:13:45+00:00\",\"description\":\"Script stacked horizontal bar visuals from raw data with ECharts in VPasCode, a diagram-as-code tool.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/vpascode-docs\\\/stacked-bar-chart-horizontal-part-to-whole-breakdown-guide\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/vpascode-docs\\\/stacked-bar-chart-horizontal-part-to-whole-breakdown-guide\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/vpascode-docs\\\/stacked-bar-chart-horizontal-part-to-whole-breakdown-guide\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/img_6a66b11b508fe.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/img_6a66b11b508fe.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/vpascode-docs\\\/stacked-bar-chart-horizontal-part-to-whole-breakdown-guide\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lean Docs\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/%ld_collection%\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Diagramme en barres empil\u00e9es : r\u00e9partition horizontale partielles-totales\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/#website\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/\",\"name\":\"VPasCode\",\"description\":\"by Visual Paradigm\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/#organization\",\"name\":\"VPasCode\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/wp-content\\\/uploads\\\/sites\\\/6\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/wp-content\\\/uploads\\\/sites\\\/6\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"width\":128,\"height\":138,\"caption\":\"VPasCode\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ECharts Stacked Bar Chart | VPasCode Text to Diagram Guide","description":"Script stacked horizontal bar visuals from raw data with ECharts in VPasCode, a diagram-as-code 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\/fr\/docs\/vpascode-docs\/stacked-bar-chart-horizontal-part-to-whole-breakdown-guide\/","og_locale":"fr_FR","og_type":"article","og_title":"ECharts Stacked Bar Chart | VPasCode Text to Diagram Guide","og_description":"Script stacked horizontal bar visuals from raw data with ECharts in VPasCode, a diagram-as-code tool.","og_url":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/stacked-bar-chart-horizontal-part-to-whole-breakdown-guide\/","og_site_name":"VPasCode","og_image":[{"url":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66b11b508fe.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Dur\u00e9e de lecture estim\u00e9e":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/stacked-bar-chart-horizontal-part-to-whole-breakdown-guide\/","url":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/stacked-bar-chart-horizontal-part-to-whole-breakdown-guide\/","name":"ECharts Stacked Bar Chart | VPasCode Text to Diagram Guide","isPartOf":{"@id":"https:\/\/www.vpascode.com\/fr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/stacked-bar-chart-horizontal-part-to-whole-breakdown-guide\/#primaryimage"},"image":{"@id":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/stacked-bar-chart-horizontal-part-to-whole-breakdown-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66b11b508fe.png","datePublished":"2026-07-27T01:13:45+00:00","description":"Script stacked horizontal bar visuals from raw data with ECharts in VPasCode, a diagram-as-code tool.","breadcrumb":{"@id":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/stacked-bar-chart-horizontal-part-to-whole-breakdown-guide\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/stacked-bar-chart-horizontal-part-to-whole-breakdown-guide\/"]}]},{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/stacked-bar-chart-horizontal-part-to-whole-breakdown-guide\/#primaryimage","url":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66b11b508fe.png","contentUrl":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a66b11b508fe.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/stacked-bar-chart-horizontal-part-to-whole-breakdown-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vpascode.com\/fr\/"},{"@type":"ListItem","position":2,"name":"Lean Docs","item":"https:\/\/www.vpascode.com\/fr\/docs\/%ld_collection%\/"},{"@type":"ListItem","position":3,"name":"Diagramme en barres empil\u00e9es : r\u00e9partition horizontale partielles-totales"}]},{"@type":"WebSite","@id":"https:\/\/www.vpascode.com\/fr\/#website","url":"https:\/\/www.vpascode.com\/fr\/","name":"VPasCode","description":"by Visual Paradigm","publisher":{"@id":"https:\/\/www.vpascode.com\/fr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vpascode.com\/fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/www.vpascode.com\/fr\/#organization","name":"VPasCode","url":"https:\/\/www.vpascode.com\/fr\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/www.vpascode.com\/fr\/#\/schema\/logo\/image\/","url":"https:\/\/www.vpascode.com\/fr\/wp-content\/uploads\/sites\/6\/2026\/06\/cropped-vp-online-logo-v1.png","contentUrl":"https:\/\/www.vpascode.com\/fr\/wp-content\/uploads\/sites\/6\/2026\/06\/cropped-vp-online-logo-v1.png","width":128,"height":138,"caption":"VPasCode"},"image":{"@id":"https:\/\/www.vpascode.com\/fr\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.vpascode.com\/fr\/wp-json\/wp\/v2\/ld_docs\/2074","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vpascode.com\/fr\/wp-json\/wp\/v2\/ld_docs"}],"about":[{"href":"https:\/\/www.vpascode.com\/fr\/wp-json\/wp\/v2\/types\/ld_docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.vpascode.com\/fr\/wp-json\/wp\/v2\/users\/3"}],"wp:attachment":[{"href":"https:\/\/www.vpascode.com\/fr\/wp-json\/wp\/v2\/media?parent=2074"}],"wp:term":[{"taxonomy":"ld_collection","embeddable":true,"href":"https:\/\/www.vpascode.com\/fr\/wp-json\/wp\/v2\/ld_collection?post=2074"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}