{"id":574,"date":"2012-09-16T23:05:29","date_gmt":"2012-09-16T23:05:29","guid":{"rendered":"http:\/\/garysieling.com\/blog\/?p=574"},"modified":"2012-09-16T23:05:29","modified_gmt":"2012-09-16T23:05:29","slug":"extjs-pie-chart-example","status":"publish","type":"post","link":"https:\/\/www.garysieling.com\/blog\/extjs-pie-chart-example\/","title":{"rendered":"ExtJS Pie Chart Example"},"content":{"rendered":"<p><strong>Problem<\/strong><\/p>\n<p>You want to display a pie chart.<\/p>\n<p><a href=\"http:\/\/172.104.26.128\/wp-content\/uploads\/2012\/09\/extjs-piechart-example.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/172.104.26.128\/wp-content\/uploads\/2012\/09\/extjs-piechart-example.png\" alt=\"\" title=\"extjs-piechart-example\" width=\"380\" height=\"305\" class=\"alignnone size-full wp-image-576\" srcset=\"https:\/\/www.garysieling.com\/blog\/wp-content\/uploads\/2012\/09\/extjs-piechart-example.png 380w, https:\/\/www.garysieling.com\/blog\/wp-content\/uploads\/2012\/09\/extjs-piechart-example-300x241.png 300w\" sizes=\"(max-width: 380px) 100vw, 380px\" \/><\/a><br \/>\n<strong>Solution<\/strong><\/p>\n<p>Use the Ext.chart.Chart, and set several properties under the &#8220;series&#8221; property to render a pie chart. <\/p>\n<pre lang=\"javascript\">\nExt.onReady(function() {\n    Ext.define('PopulationPoint', {\n        extend: 'Ext.data.Model',\n        fields: ['state', 'population']\n    });\n\nvar store = Ext.create('Ext.data.Store', {\n    model: 'PopulationPoint',\n    data: [{ state:\"Alabama\", population: 4802740},\n           { state:\"Alaska\", population: 722718},\n           { state:\"Arizona\", population: 6482505},\n           { state:\"Arkansas\", population: 2937979},\n           { state:\"California\", population: 37691912},\n           { state:\"Colorado\", population: 5116796},\n           { state:\"Connecticut\", population: 3580709},\n           { state:\"Delaware\", population: 907135},\n           { state:\"DC\", population: 617996} ]\n  });\n\n  Ext.create('Ext.chart.Chart', {\n     renderTo: Ext.getBody(),\n     width: 470,\n     height: 300,\n     store: store,\n     series: [\n     {\n       type: 'pie',\n       field: 'population',\n       label: {\n         field: 'state',\n         display: 'outside',\n         font: '12px Arial'\n       }\n     }]\n  });\t\n});\n<\/pre>\n<p><strong>Discussion<\/strong><\/p>\n<p>To transform the line chart example into a pie chart, change the series type to &#8216;pie&#8217;, and remove the axes and series definition. Pie charts usually have two fields &#8211; a numeric value, and a label. The numeric value is set through the &#8220;field&#8221; property of the series. The label is an entire object, which has it&#8217;s own property called field- it&#8217;s a shame they were not able to use the axes properties of a chart to make the API more consistent.<\/p>\n<p>Pie charts are fairly difficult to render well &#8211; too many records will look cramped, and overlapping text, as in my example, makes it difficult to read. Ext provides a number of options for controlling text rendering, as well as a &#8220;tips&#8221; properties on the series to add tooltips. <\/p>\n<p>If you want to ensure that colors are drawn consistently, you must set the colorSet property, which is an array of colors. You must ensure that this has the same number of value as the pie chart data. There are two ways to do this &#8211; include zero valued entries in the store (although logically these will not render), or build the colorSet property value based on what values are included in the store.<\/p>\n<p>See also<br \/>\n<a href=\"http:\/\/garysieling.com\/blog\/extjs-line-chart-example\">ExtJS Line Chart Example<\/a>, <a href=\"http:\/\/garysieling.com\/blog\/extjs-tooltip-example\">ExtJS Tooltip Example<\/a>, <a href=\"http:\/\/garysieling.com\/blog\/extjs-xtemplate-example\">ExtJS xtemplate example<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Problem You want to display a pie chart. Solution Use the Ext.chart.Chart, and set several properties under the &#8220;series&#8221; property to render a pie chart. Ext.onReady(function() { Ext.define(&#8216;PopulationPoint&#8217;, { extend: &#8216;Ext.data.Model&#8217;, fields: [&#8216;state&#8217;, &#8216;population&#8217;] }); var store = Ext.create(&#8216;Ext.data.Store&#8217;, { model: &#8216;PopulationPoint&#8217;, data: [{ state:&#8221;Alabama&#8221;, population: 4802740}, { state:&#8221;Alaska&#8221;, population: 722718}, { state:&#8221;Arizona&#8221;, population: 6482505}, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.garysieling.com\/blog\/extjs-pie-chart-example\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;ExtJS Pie 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,"footnotes":""},"categories":[4],"tags":[154,155,215,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 pie chart. Solution Use the Ext.chart.Chart, and set several properties under the &quot;series&quot; property to render a pie chart. Ext.onReady(function() { Ext.define(&#039;PopulationPoint&#039;, { extend: &#039;Ext.data.Model&#039;, fields: [&#039;state&#039;, &#039;population&#039;] }); var store = Ext.create(&#039;Ext.data.Store&#039;, { model: &#039;PopulationPoint&#039;, data: [{ state:&quot;Alabama&quot;, population: 4802740}, { state:&quot;Alaska&quot;, population: 722718}, { state:&quot;Arizona&quot;, population: 6482505},\" \/>\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-pie-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 Pie Chart Example - Gary Sieling\" \/>\n\t\t<meta property=\"og:description\" content=\"Problem You want to display a pie chart. Solution Use the Ext.chart.Chart, and set several properties under the &quot;series&quot; property to render a pie chart. Ext.onReady(function() { Ext.define(&#039;PopulationPoint&#039;, { extend: &#039;Ext.data.Model&#039;, fields: [&#039;state&#039;, &#039;population&#039;] }); var store = Ext.create(&#039;Ext.data.Store&#039;, { model: &#039;PopulationPoint&#039;, data: [{ state:&quot;Alabama&quot;, population: 4802740}, { state:&quot;Alaska&quot;, population: 722718}, { state:&quot;Arizona&quot;, population: 6482505},\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.garysieling.com\/blog\/extjs-pie-chart-example\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2012-09-16T23:05:29+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2012-09-16T23:05:29+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"ExtJS Pie Chart Example - Gary Sieling\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Problem You want to display a pie chart. Solution Use the Ext.chart.Chart, and set several properties under the &quot;series&quot; property to render a pie chart. Ext.onReady(function() { Ext.define(&#039;PopulationPoint&#039;, { extend: &#039;Ext.data.Model&#039;, fields: [&#039;state&#039;, &#039;population&#039;] }); var store = Ext.create(&#039;Ext.data.Store&#039;, { model: &#039;PopulationPoint&#039;, data: [{ state:&quot;Alabama&quot;, population: 4802740}, { state:&quot;Alaska&quot;, population: 722718}, { state:&quot;Arizona&quot;, population: 6482505},\" \/>\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-pie-chart-example\\\/#blogposting\",\"name\":\"ExtJS Pie Chart Example - Gary Sieling\",\"headline\":\"ExtJS Pie 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\\\/09\\\/extjs-piechart-example.png\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/extjs-pie-chart-example\\\/#articleImage\"},\"datePublished\":\"2012-09-16T23:05:29+00:00\",\"dateModified\":\"2012-09-16T23:05:29+00:00\",\"inLanguage\":\"en-US\",\"commentCount\":9,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/extjs-pie-chart-example\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/extjs-pie-chart-example\\\/#webpage\"},\"articleSection\":\"Code Examples, data visualization html5, data visualization tools free, extjs 4, 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-pie-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-pie-chart-example\\\/#listItem\",\"name\":\"ExtJS Pie Chart Example\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/extjs-pie-chart-example\\\/#listItem\",\"position\":3,\"name\":\"ExtJS Pie 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-pie-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-pie-chart-example\\\/#webpage\",\"url\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/extjs-pie-chart-example\\\/\",\"name\":\"ExtJS Pie Chart Example - Gary Sieling\",\"description\":\"Problem You want to display a pie chart. Solution Use the Ext.chart.Chart, and set several properties under the \\\"series\\\" property to render a pie chart. Ext.onReady(function() { Ext.define('PopulationPoint', { extend: 'Ext.data.Model', fields: ['state', 'population'] }); var store = Ext.create('Ext.data.Store', { model: 'PopulationPoint', data: [{ state:\\\"Alabama\\\", population: 4802740}, { state:\\\"Alaska\\\", population: 722718}, { state:\\\"Arizona\\\", population: 6482505},\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/extjs-pie-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-09-16T23:05:29+00:00\",\"dateModified\":\"2012-09-16T23:05:29+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 Pie Chart Example - Gary Sieling","description":"Problem You want to display a pie chart. Solution Use the Ext.chart.Chart, and set several properties under the \"series\" property to render a pie chart. Ext.onReady(function() { Ext.define('PopulationPoint', { extend: 'Ext.data.Model', fields: ['state', 'population'] }); var store = Ext.create('Ext.data.Store', { model: 'PopulationPoint', data: [{ state:\"Alabama\", population: 4802740}, { state:\"Alaska\", population: 722718}, { state:\"Arizona\", population: 6482505},","canonical_url":"https:\/\/www.garysieling.com\/blog\/extjs-pie-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-pie-chart-example\/#blogposting","name":"ExtJS Pie Chart Example - Gary Sieling","headline":"ExtJS Pie 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\/09\/extjs-piechart-example.png","@id":"https:\/\/www.garysieling.com\/blog\/extjs-pie-chart-example\/#articleImage"},"datePublished":"2012-09-16T23:05:29+00:00","dateModified":"2012-09-16T23:05:29+00:00","inLanguage":"en-US","commentCount":9,"mainEntityOfPage":{"@id":"https:\/\/www.garysieling.com\/blog\/extjs-pie-chart-example\/#webpage"},"isPartOf":{"@id":"https:\/\/www.garysieling.com\/blog\/extjs-pie-chart-example\/#webpage"},"articleSection":"Code Examples, data visualization html5, data visualization tools free, extjs 4, 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-pie-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-pie-chart-example\/#listItem","name":"ExtJS Pie Chart Example"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.garysieling.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.garysieling.com\/blog\/extjs-pie-chart-example\/#listItem","position":3,"name":"ExtJS Pie 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-pie-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-pie-chart-example\/#webpage","url":"https:\/\/www.garysieling.com\/blog\/extjs-pie-chart-example\/","name":"ExtJS Pie Chart Example - Gary Sieling","description":"Problem You want to display a pie chart. Solution Use the Ext.chart.Chart, and set several properties under the \"series\" property to render a pie chart. Ext.onReady(function() { Ext.define('PopulationPoint', { extend: 'Ext.data.Model', fields: ['state', 'population'] }); var store = Ext.create('Ext.data.Store', { model: 'PopulationPoint', data: [{ state:\"Alabama\", population: 4802740}, { state:\"Alaska\", population: 722718}, { state:\"Arizona\", population: 6482505},","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.garysieling.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.garysieling.com\/blog\/extjs-pie-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-09-16T23:05:29+00:00","dateModified":"2012-09-16T23:05:29+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 Pie Chart Example - Gary Sieling","og:description":"Problem You want to display a pie chart. Solution Use the Ext.chart.Chart, and set several properties under the &quot;series&quot; property to render a pie chart. Ext.onReady(function() { Ext.define('PopulationPoint', { extend: 'Ext.data.Model', fields: ['state', 'population'] }); var store = Ext.create('Ext.data.Store', { model: 'PopulationPoint', data: [{ state:&quot;Alabama&quot;, population: 4802740}, { state:&quot;Alaska&quot;, population: 722718}, { state:&quot;Arizona&quot;, population: 6482505},","og:url":"https:\/\/www.garysieling.com\/blog\/extjs-pie-chart-example\/","article:published_time":"2012-09-16T23:05:29+00:00","article:modified_time":"2012-09-16T23:05:29+00:00","twitter:card":"summary_large_image","twitter:title":"ExtJS Pie Chart Example - Gary Sieling","twitter:description":"Problem You want to display a pie chart. Solution Use the Ext.chart.Chart, and set several properties under the &quot;series&quot; property to render a pie chart. Ext.onReady(function() { Ext.define('PopulationPoint', { extend: 'Ext.data.Model', fields: ['state', 'population'] }); var store = Ext.create('Ext.data.Store', { model: 'PopulationPoint', data: [{ state:&quot;Alabama&quot;, population: 4802740}, { state:&quot;Alaska&quot;, population: 722718}, { state:&quot;Arizona&quot;, population: 6482505},"},"aioseo_meta_data":{"post_id":"574","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:08:26","updated":"2026-07-06 00:47:32","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 Pie 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 Pie Chart Example","link":"https:\/\/www.garysieling.com\/blog\/extjs-pie-chart-example\/"}],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/574"}],"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=574"}],"version-history":[{"count":0,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/574\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/media?parent=574"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/categories?post=574"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/tags?post=574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}