{"id":617,"date":"2012-10-15T12:22:30","date_gmt":"2012-10-15T12:22:30","guid":{"rendered":"http:\/\/garysieling.com\/blog\/?p=617"},"modified":"2012-10-15T12:22:30","modified_gmt":"2012-10-15T12:22:30","slug":"extjs-stacked-bar-chart-example","status":"publish","type":"post","link":"https:\/\/www.garysieling.com\/blog\/extjs-stacked-bar-chart-example\/","title":{"rendered":"ExtJS Stacked Bar Chart Example"},"content":{"rendered":"<p><strong>Problem<\/strong><\/p>\n<p>You want to display a stacked bar chart.<\/p>\n<p><a href=\"http:\/\/172.104.26.128\/wp-content\/uploads\/2012\/10\/stacked-bar.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/172.104.26.128\/wp-content\/uploads\/2012\/10\/stacked-bar.png\" alt=\"\" title=\"stacked-bar\" width=\"473\" height=\"307\" class=\"alignnone size-full wp-image-618\" srcset=\"https:\/\/www.garysieling.com\/blog\/wp-content\/uploads\/2012\/10\/stacked-bar.png 473w, https:\/\/www.garysieling.com\/blog\/wp-content\/uploads\/2012\/10\/stacked-bar-300x195.png 300w\" sizes=\"(max-width: 473px) 100vw, 473px\" \/><\/a><\/p>\n<p><strong>Solution<\/strong><\/p>\n<p>Use the Ext.chart.Chart, and set the &#8220;series&#8221; property, including type: &#8216;bar&#8217; and stacked: true.<\/p>\n<pre lang=\"javascript\">\nExt.onReady(function() {\n    Ext.define('ParolePoint', {\n        extend: 'Ext.data.Model',\n        fields: ['state', 'entry', 'exit']\n    });\n\n\t\tvar store = Ext.create('Ext.data.Store', {\n\t\t\tmodel: 'ParolePoint',\n\t\t\tdata : [\n      {state: 'Connecticut', entry:31000, exit:28211},\n      {state: 'Maine', entry:3627, exit:3692},\n      {state: 'Massachusetts', entry:98952, exit:96142},\n      {state: 'New Hampshire', entry:3789, exit:3697},\n      {state: 'New Jersey', entry:49728, exit:55858},\n      {state: 'New York', entry:62419, exit:64147},\n      {state: 'Pennsylvania', entry:13966, exit:13240},\n      {state: 'Rhode Island', entry:6262, exit:6012},\n      {state: 'Vermont', entry:4884, exit:5487},\n    ]\n  });\n\n  Ext.create('Ext.chart.Chart', {\n     renderTo: Ext.getBody(),\n     width: 470,\n     height: 300,\n     store: store,\n     axes: [\n        {\n            title: 'Enter\/Exit Parole',\n            type: 'Numeric',\n            position: 'left',\n            fields: ['entry', 'exit'],\n        },\n        {\n            title: 'State',\n            type: 'Category',\n            position: 'bottom',\n            fields: ['state'],\n            title: 'US State',\n            grid: true,\n          label: {\n              rotate: {\n                degrees: 90\n              }\n            }\n        }],\n    series: [\n        {\n\ttype: 'bar',\n\thighlight: true,\n\tcolumn: true,\n\tstacked: true,\n        xField: 'state',\n        yField: ['entry', 'exit']\n        }\n    ]\n  });\t\n});\n<\/pre>\n<p><strong>Discussion<\/strong><\/p>\n<p>It&#8217;s easy to switch between stacked and non-stacked bar charts, using the stacked attribute. Unfortunately the data layout for these charts does not match a typical database query that would be used to generate them:<\/p>\n<pre lang=\"sql\">\nselect year, type, count(*) value\nfrom facts\ngroup by year, type\n<\/pre>\n<p>If you&#8217;re graphing data from an OLTP style data warehouse, you&#8217;ll need to add code to pivot the output data into an Ext store, or write a new type of store.<\/p>\n<p>As with the other graphs, this code involves a fair amount of repetition &#8211; ExtJS considers the chart above to be a &#8220;column&#8221; chart, even though there is a separate property for the bar chart called &#8220;axis&#8221;, which tells Ext which axis is numeric (and anyway, bar charts usually have one descriptive axis and one numeric).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Problem You want to display a stacked bar chart. Solution Use the Ext.chart.Chart, and set the &#8220;series&#8221; property, including type: &#8216;bar&#8217; and stacked: true. Ext.onReady(function() { Ext.define(&#8216;ParolePoint&#8217;, { extend: &#8216;Ext.data.Model&#8217;, fields: [&#8216;state&#8217;, &#8216;entry&#8217;, &#8216;exit&#8217;] }); var store = Ext.create(&#8216;Ext.data.Store&#8217;, { model: &#8216;ParolePoint&#8217;, data : [ {state: &#8216;Connecticut&#8217;, entry:31000, exit:28211}, {state: &#8216;Maine&#8217;, entry:3627, exit:3692}, {state: &#8216;Massachusetts&#8217;, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.garysieling.com\/blog\/extjs-stacked-bar-chart-example\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;ExtJS Stacked Bar Chart Example&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4],"tags":[154,155,217,218,224,240,276,277,302,303,304,316,317,318,319,575],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"Problem You want to display a stacked bar chart. Solution Use the Ext.chart.Chart, and set the &quot;series&quot; property, including type: &#039;bar&#039; and stacked: true. Ext.onReady(function() { Ext.define(&#039;ParolePoint&#039;, { extend: &#039;Ext.data.Model&#039;, fields: [&#039;state&#039;, &#039;entry&#039;, &#039;exit&#039;] }); var store = Ext.create(&#039;Ext.data.Store&#039;, { model: &#039;ParolePoint&#039;, data : [ {state: &#039;Connecticut&#039;, entry:31000, exit:28211}, {state: &#039;Maine&#039;, entry:3627, exit:3692}, {state: &#039;Massachusetts&#039;,\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"gary\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.garysieling.com\/blog\/extjs-stacked-bar-chart-example\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Gary Sieling - Software Engineer\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"ExtJS Stacked Bar Chart Example - Gary Sieling\" \/>\n\t\t<meta property=\"og:description\" content=\"Problem You want to display a stacked bar chart. Solution Use the Ext.chart.Chart, and set the &quot;series&quot; property, including type: &#039;bar&#039; and stacked: true. Ext.onReady(function() { Ext.define(&#039;ParolePoint&#039;, { extend: &#039;Ext.data.Model&#039;, fields: [&#039;state&#039;, &#039;entry&#039;, &#039;exit&#039;] }); var store = Ext.create(&#039;Ext.data.Store&#039;, { model: &#039;ParolePoint&#039;, data : [ {state: &#039;Connecticut&#039;, entry:31000, exit:28211}, {state: &#039;Maine&#039;, entry:3627, exit:3692}, {state: &#039;Massachusetts&#039;,\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.garysieling.com\/blog\/extjs-stacked-bar-chart-example\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2012-10-15T12:22:30+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2012-10-15T12:22:30+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"ExtJS Stacked Bar Chart Example - Gary Sieling\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Problem You want to display a stacked bar chart. Solution Use the Ext.chart.Chart, and set the &quot;series&quot; property, including type: &#039;bar&#039; and stacked: true. Ext.onReady(function() { Ext.define(&#039;ParolePoint&#039;, { extend: &#039;Ext.data.Model&#039;, fields: [&#039;state&#039;, &#039;entry&#039;, &#039;exit&#039;] }); var store = Ext.create(&#039;Ext.data.Store&#039;, { model: &#039;ParolePoint&#039;, data : [ {state: &#039;Connecticut&#039;, entry:31000, exit:28211}, {state: &#039;Maine&#039;, entry:3627, exit:3692}, {state: &#039;Massachusetts&#039;,\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/extjs-stacked-bar-chart-example\\\/#blogposting\",\"name\":\"ExtJS Stacked Bar Chart Example - Gary Sieling\",\"headline\":\"ExtJS Stacked Bar Chart Example\",\"author\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/author\\\/gary\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"http:\\\/\\\/172.104.26.128\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/stacked-bar.png\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/extjs-stacked-bar-chart-example\\\/#articleImage\"},\"datePublished\":\"2012-10-15T12:22:30+00:00\",\"dateModified\":\"2012-10-15T12:22:30+00:00\",\"inLanguage\":\"en-US\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/extjs-stacked-bar-chart-example\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/extjs-stacked-bar-chart-example\\\/#webpage\"},\"articleSection\":\"Code Examples, data visualization html5, data visualization tools free, extjs charts, extjs examples, extjs tutorials, free data visualization tools, html5 charts, html5 data visualization, javascript, javascript data visualization, javascript graph library, js chart library, js charting library, js graphing library, js visualization, visualization framework\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/extjs-stacked-bar-chart-example\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.garysieling.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/category\\\/code-examples\\\/#listItem\",\"name\":\"Code Examples\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/category\\\/code-examples\\\/#listItem\",\"position\":2,\"name\":\"Code Examples\",\"item\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/category\\\/code-examples\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/extjs-stacked-bar-chart-example\\\/#listItem\",\"name\":\"ExtJS Stacked Bar Chart Example\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/extjs-stacked-bar-chart-example\\\/#listItem\",\"position\":3,\"name\":\"ExtJS Stacked Bar Chart Example\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/category\\\/code-examples\\\/#listItem\",\"name\":\"Code Examples\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/#organization\",\"name\":\"Gary Sieling\",\"description\":\"Software Engineer\",\"url\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/author\\\/gary\\\/#author\",\"url\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/author\\\/gary\\\/\",\"name\":\"gary\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/extjs-stacked-bar-chart-example\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0be925276d848ffe98a6a9dc8cf33e67?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"gary\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/extjs-stacked-bar-chart-example\\\/#webpage\",\"url\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/extjs-stacked-bar-chart-example\\\/\",\"name\":\"ExtJS Stacked Bar Chart Example - Gary Sieling\",\"description\":\"Problem You want to display a stacked bar chart. Solution Use the Ext.chart.Chart, and set the \\\"series\\\" property, including type: 'bar' and stacked: true. Ext.onReady(function() { Ext.define('ParolePoint', { extend: 'Ext.data.Model', fields: ['state', 'entry', 'exit'] }); var store = Ext.create('Ext.data.Store', { model: 'ParolePoint', data : [ {state: 'Connecticut', entry:31000, exit:28211}, {state: 'Maine', entry:3627, exit:3692}, {state: 'Massachusetts',\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/extjs-stacked-bar-chart-example\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/author\\\/gary\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/author\\\/gary\\\/#author\"},\"datePublished\":\"2012-10-15T12:22:30+00:00\",\"dateModified\":\"2012-10-15T12:22:30+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/\",\"name\":\"Gary Sieling\",\"description\":\"Software Engineer\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"ExtJS Stacked Bar Chart Example - Gary Sieling","description":"Problem You want to display a stacked bar chart. Solution Use the Ext.chart.Chart, and set the \"series\" property, including type: 'bar' and stacked: true. Ext.onReady(function() { Ext.define('ParolePoint', { extend: 'Ext.data.Model', fields: ['state', 'entry', 'exit'] }); var store = Ext.create('Ext.data.Store', { model: 'ParolePoint', data : [ {state: 'Connecticut', entry:31000, exit:28211}, {state: 'Maine', entry:3627, exit:3692}, {state: 'Massachusetts',","canonical_url":"https:\/\/www.garysieling.com\/blog\/extjs-stacked-bar-chart-example\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.garysieling.com\/blog\/extjs-stacked-bar-chart-example\/#blogposting","name":"ExtJS Stacked Bar Chart Example - Gary Sieling","headline":"ExtJS Stacked Bar Chart Example","author":{"@id":"https:\/\/www.garysieling.com\/blog\/author\/gary\/#author"},"publisher":{"@id":"https:\/\/www.garysieling.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"http:\/\/172.104.26.128\/wp-content\/uploads\/2012\/10\/stacked-bar.png","@id":"https:\/\/www.garysieling.com\/blog\/extjs-stacked-bar-chart-example\/#articleImage"},"datePublished":"2012-10-15T12:22:30+00:00","dateModified":"2012-10-15T12:22:30+00:00","inLanguage":"en-US","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/www.garysieling.com\/blog\/extjs-stacked-bar-chart-example\/#webpage"},"isPartOf":{"@id":"https:\/\/www.garysieling.com\/blog\/extjs-stacked-bar-chart-example\/#webpage"},"articleSection":"Code Examples, data visualization html5, data visualization tools free, extjs charts, extjs examples, extjs tutorials, free data visualization tools, html5 charts, html5 data visualization, javascript, javascript data visualization, javascript graph library, js chart library, js charting library, js graphing library, js visualization, visualization framework"},{"@type":"BreadcrumbList","@id":"https:\/\/www.garysieling.com\/blog\/extjs-stacked-bar-chart-example\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.garysieling.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.garysieling.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.garysieling.com\/blog\/category\/code-examples\/#listItem","name":"Code Examples"}},{"@type":"ListItem","@id":"https:\/\/www.garysieling.com\/blog\/category\/code-examples\/#listItem","position":2,"name":"Code Examples","item":"https:\/\/www.garysieling.com\/blog\/category\/code-examples\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.garysieling.com\/blog\/extjs-stacked-bar-chart-example\/#listItem","name":"ExtJS Stacked Bar Chart Example"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.garysieling.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.garysieling.com\/blog\/extjs-stacked-bar-chart-example\/#listItem","position":3,"name":"ExtJS Stacked Bar Chart Example","previousItem":{"@type":"ListItem","@id":"https:\/\/www.garysieling.com\/blog\/category\/code-examples\/#listItem","name":"Code Examples"}}]},{"@type":"Organization","@id":"https:\/\/www.garysieling.com\/blog\/#organization","name":"Gary Sieling","description":"Software Engineer","url":"https:\/\/www.garysieling.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.garysieling.com\/blog\/author\/gary\/#author","url":"https:\/\/www.garysieling.com\/blog\/author\/gary\/","name":"gary","image":{"@type":"ImageObject","@id":"https:\/\/www.garysieling.com\/blog\/extjs-stacked-bar-chart-example\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/0be925276d848ffe98a6a9dc8cf33e67?s=96&d=identicon&r=g","width":96,"height":96,"caption":"gary"}},{"@type":"WebPage","@id":"https:\/\/www.garysieling.com\/blog\/extjs-stacked-bar-chart-example\/#webpage","url":"https:\/\/www.garysieling.com\/blog\/extjs-stacked-bar-chart-example\/","name":"ExtJS Stacked Bar Chart Example - Gary Sieling","description":"Problem You want to display a stacked bar chart. Solution Use the Ext.chart.Chart, and set the \"series\" property, including type: 'bar' and stacked: true. Ext.onReady(function() { Ext.define('ParolePoint', { extend: 'Ext.data.Model', fields: ['state', 'entry', 'exit'] }); var store = Ext.create('Ext.data.Store', { model: 'ParolePoint', data : [ {state: 'Connecticut', entry:31000, exit:28211}, {state: 'Maine', entry:3627, exit:3692}, {state: 'Massachusetts',","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.garysieling.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.garysieling.com\/blog\/extjs-stacked-bar-chart-example\/#breadcrumblist"},"author":{"@id":"https:\/\/www.garysieling.com\/blog\/author\/gary\/#author"},"creator":{"@id":"https:\/\/www.garysieling.com\/blog\/author\/gary\/#author"},"datePublished":"2012-10-15T12:22:30+00:00","dateModified":"2012-10-15T12:22:30+00:00"},{"@type":"WebSite","@id":"https:\/\/www.garysieling.com\/blog\/#website","url":"https:\/\/www.garysieling.com\/blog\/","name":"Gary Sieling","description":"Software Engineer","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.garysieling.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Gary Sieling - Software Engineer","og:type":"article","og:title":"ExtJS Stacked Bar Chart Example - Gary Sieling","og:description":"Problem You want to display a stacked bar chart. Solution Use the Ext.chart.Chart, and set the &quot;series&quot; property, including type: 'bar' and stacked: true. Ext.onReady(function() { Ext.define('ParolePoint', { extend: 'Ext.data.Model', fields: ['state', 'entry', 'exit'] }); var store = Ext.create('Ext.data.Store', { model: 'ParolePoint', data : [ {state: 'Connecticut', entry:31000, exit:28211}, {state: 'Maine', entry:3627, exit:3692}, {state: 'Massachusetts',","og:url":"https:\/\/www.garysieling.com\/blog\/extjs-stacked-bar-chart-example\/","article:published_time":"2012-10-15T12:22:30+00:00","article:modified_time":"2012-10-15T12:22:30+00:00","twitter:card":"summary_large_image","twitter:title":"ExtJS Stacked Bar Chart Example - Gary Sieling","twitter:description":"Problem You want to display a stacked bar chart. Solution Use the Ext.chart.Chart, and set the &quot;series&quot; property, including type: 'bar' and stacked: true. Ext.onReady(function() { Ext.define('ParolePoint', { extend: 'Ext.data.Model', fields: ['state', 'entry', 'exit'] }); var store = Ext.create('Ext.data.Store', { model: 'ParolePoint', data : [ {state: 'Connecticut', entry:31000, exit:28211}, {state: 'Maine', entry:3627, exit:3692}, {state: 'Massachusetts',"},"aioseo_meta_data":{"post_id":"617","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2023-02-04 16:10:02","updated":"2026-07-06 00:48:50","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.garysieling.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.garysieling.com\/blog\/category\/code-examples\/\" title=\"Code Examples\">Code Examples<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tExtJS Stacked Bar Chart Example\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.garysieling.com\/blog"},{"label":"Code Examples","link":"https:\/\/www.garysieling.com\/blog\/category\/code-examples\/"},{"label":"ExtJS Stacked Bar Chart Example","link":"https:\/\/www.garysieling.com\/blog\/extjs-stacked-bar-chart-example\/"}],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/617"}],"collection":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/comments?post=617"}],"version-history":[{"count":0,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/617\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/media?parent=617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/categories?post=617"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/tags?post=617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}